PERFORCE change 125394 for review
Kip Macy
kmacy at FreeBSD.org
Mon Aug 20 01:41:14 PDT 2007
http://perforce.freebsd.org/chv.cgi?CH=125394
Change 125394 by kmacy at kmacy_home:ethng on 2007/08/20 08:40:30
add txq_stopped sysctl
don't fail send because coalesce indicated that the sendq is full
Affected files ...
.. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_multiq.c#10 edit
.. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_sge.c#12 edit
Differences ...
==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_multiq.c#10 (text+ko) ====
@@ -441,7 +441,7 @@
err = ENXIO;
else {
txq = &qs->txq[TXQ_ETH];
- err = cxgb_pcpu_pkt_coalesce(txq, immpkt, &complete);
+ cxgb_pcpu_pkt_coalesce(txq, immpkt, &complete);
immpkt = NULL;
}
if (err) {
==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_sge.c#12 (text+ko) ====
@@ -2830,6 +2830,9 @@
SYSCTL_ADD_UINT(ctx, qspoidlist, OID_AUTO, "in_use",
CTLFLAG_RD, &txq->in_use,
0, "#tunneled packet slots in use");
+ SYSCTL_ADD_UINT(ctx, qspoidlist, OID_AUTO, "stopped_flags",
+ CTLFLAG_RD, &qs->txq_stopped,
+ 0, "tx queues stopped");
}
}
More information about the p4-projects
mailing list