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

This commit is contained in:
Navdeep Parhar 2014-03-20 02:28:05 +00:00
parent 61b9f217c6
commit 65bd4d1cb4

View file

@ -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 +