Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 02:28:05 +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: r263415 - head/sys/dev/cxgbe
Message-ID:  <201403200228.s2K2S5jv070343@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 +



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403200228.s2K2S5jv070343>