svn commit: r263415 - head/sys/dev/cxgbe

Navdeep Parhar np at FreeBSD.org
Thu Mar 20 02:28:05 UTC 2014


Author: np
Date: Thu Mar 20 02:28:05 2014
New Revision: 263415
URL: http://svnweb.freebsd.org/changeset/base/263415

Log:
  cxgbe(4): Use ifi_oqdrops in if_data to count drops in the tx path.

Modified:
  head/sys/dev/cxgbe/t4_main.c

Modified: head/sys/dev/cxgbe/t4_main.c
==============================================================================
--- head/sys/dev/cxgbe/t4_main.c	Thu Mar 20 02:27:25 2014	(r263414)
+++ head/sys/dev/cxgbe/t4_main.c	Thu Mar 20 02:28:05 2014	(r263415)
@@ -4125,7 +4125,7 @@ cxgbe_tick(void *arg)
 	drops = s->tx_drop;
 	for_each_txq(pi, i, txq)
 		drops += txq->br->br_drops;
-	ifp->if_snd.ifq_drops = drops;
+	ifp->if_oqdrops = drops;
 
 	ifp->if_oerrors = s->tx_error_frames;
 	ifp->if_ierrors = s->rx_jabber + s->rx_runt + s->rx_too_long +


More information about the svn-src-all mailing list