svn commit: r239259 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Tue Aug 14 22:15:13 UTC 2012
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)
More information about the svn-src-head
mailing list