From 65bd4d1cb4971c81437b20c2acd33af565941ac7 Mon Sep 17 00:00:00 2001 From: Navdeep Parhar Date: Thu, 20 Mar 2014 02:28:05 +0000 Subject: [PATCH] cxgbe(4): Use ifi_oqdrops in if_data to count drops in the tx path. --- sys/dev/cxgbe/t4_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/cxgbe/t4_main.c b/sys/dev/cxgbe/t4_main.c index 8641ad809df..2715d5cf5a1 100644 --- a/sys/dev/cxgbe/t4_main.c +++ b/sys/dev/cxgbe/t4_main.c @@ -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 +