]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: Add new SW stat 'tx_exhaustion_events'
authorYuval Mintz <Yuval.Mintz@qlogic.com>
Thu, 19 Nov 2015 15:04:35 +0000 (17:04 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Fri, 8 Jul 2016 02:28:34 +0000 (19:28 -0700)
commit3c7a1356adb85318f0eaa8e91328677bd53bf7f1
tree741f256341013db4642e25f4ebbcd7f757bc4180
parenteb66d9f5639ba4e96480a7caaac0616c34449241
bnx2x: Add new SW stat 'tx_exhaustion_events'

Driver already has an internal counter for number of times a given queue
had to be stopped due to Tx ring exhaustion.
This add the counter to the statistics presented by driver, e.g., by using
`ethtool -S'.

Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Orabug: 23718192
Signed-off-by: Manjunath Govindashetty <manjunath.govindashetty@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c