]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 17:14:52 +0000 (12:14 -0500)
commit7dfd7fb72f8dce74e35470368b23eed53638e2a3
treede929315609a9a71b7783ecd19e158fbfd3af0db
parent8e8e9f1d1c5264a5f2c0bf6570c9ac32384f01d0
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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c