Date: Mon, 20 Aug 2007 08:41:13 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 125394 for review Message-ID: <200708200841.l7K8fDhG078062@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=125394 Change 125394 by kmacy@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"); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708200841.l7K8fDhG078062>