Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102779225
D30267.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D30267.diff
View Options
diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c
--- a/sys/dev/cxgbe/t4_sge.c
+++ b/sys/dev/cxgbe/t4_sge.c
@@ -4070,6 +4070,9 @@
return (rc);
}
MPASS(ofld_rxq->iq.flags & IQ_SW_ALLOCATED);
+ ofld_rxq->rx_iscsi_ddp_setup_ok = counter_u64_alloc(M_WAITOK);
+ ofld_rxq->rx_iscsi_ddp_setup_error =
+ counter_u64_alloc(M_WAITOK);
add_ofld_rxq_sysctls(&vi->ctx, oid, ofld_rxq);
}
@@ -4102,6 +4105,8 @@
MPASS(!(ofld_rxq->iq.flags & IQ_HW_ALLOCATED));
free_iq_fl(vi->adapter, &ofld_rxq->iq, &ofld_rxq->fl);
MPASS(!(ofld_rxq->iq.flags & IQ_SW_ALLOCATED));
+ counter_u64_free(ofld_rxq->rx_iscsi_ddp_setup_ok);
+ counter_u64_free(ofld_rxq->rx_iscsi_ddp_setup_error);
bzero(ofld_rxq, sizeof(*ofld_rxq));
}
}
@@ -4127,8 +4132,6 @@
CTLFLAG_RD | CTLFLAG_MPSAFE, NULL, "TOE iSCSI statistics");
children = SYSCTL_CHILDREN(oid);
- ofld_rxq->rx_iscsi_ddp_setup_ok = counter_u64_alloc(M_WAITOK);
- ofld_rxq->rx_iscsi_ddp_setup_error = counter_u64_alloc(M_WAITOK);
SYSCTL_ADD_COUNTER_U64(ctx, children, OID_AUTO, "ddp_setup_ok",
CTLFLAG_RD, &ofld_rxq->rx_iscsi_ddp_setup_ok,
"# of times DDP buffer was setup successfully.");
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 18, 1:56 AM (21 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14688323
Default Alt Text
D30267.diff (1 KB)
Attached To
Mode
D30267: cxgbe: Fix some merge-o's for the per-rxq iSCSI counters.
Attached
Detach File
Event Timeline
Log In to Comment