Date: Tue, 14 Aug 2012 22:15:13 +0000 (UTC) From: Navdeep Parhar <np@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r239259 - head/sys/dev/cxgbe Message-ID: <201208142215.q7EMFDBI058055@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: np Date: Tue Aug 14 22:15:12 2012 New Revision: 239259 URL: http://svn.freebsd.org/changeset/base/239259 Log: if_iqdrops should include frames truncated within the chip. MFC after: 2 weeks Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c ============================================================================== --- head/sys/dev/cxgbe/t4_main.c Tue Aug 14 21:47:41 2012 (r239258) +++ head/sys/dev/cxgbe/t4_main.c Tue Aug 14 22:15:12 2012 (r239259) @@ -2944,7 +2944,8 @@ cxgbe_tick(void *arg) ifp->if_omcasts = s->tx_mcast_frames - s->tx_pause; ifp->if_imcasts = s->rx_mcast_frames - s->rx_pause; ifp->if_iqdrops = s->rx_ovflow0 + s->rx_ovflow1 + s->rx_ovflow2 + - s->rx_ovflow3; + s->rx_ovflow3 + s->rx_trunc0 + s->rx_trunc1 + s->rx_trunc2 + + s->rx_trunc3; drops = s->tx_drop; for_each_txq(pi, i, txq)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208142215.q7EMFDBI058055>