mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
cxgbe(4): Use ifi_oqdrops in if_data to count drops in the tx path.
This commit is contained in:
parent
61b9f217c6
commit
65bd4d1cb4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 +
|
||||
|
|
|
|||
Loading…
Reference in a new issue