summaryrefslogtreecommitdiffstats
path: root/include/linux/flat.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2014-03-27 08:45:56 -0700
committerDavid S. Miller <davem@davemloft.net>2014-03-28 16:49:48 -0400
commit015f0688f57ca4d499047d335b8052a733e17a4d (patch)
treeab376c7815815728d7f595e4a1b37ee303bfefc4 /include/linux/flat.h
parent43279500decad66ccdddacae7948a1d23be1bef6 (diff)
downloadlinux-015f0688f57ca4d499047d335b8052a733e17a4d.tar.gz
linux-015f0688f57ca4d499047d335b8052a733e17a4d.tar.bz2
linux-015f0688f57ca4d499047d335b8052a733e17a4d.zip
net: net: add a core netdev->tx_dropped counter
Dropping packets in __dev_queue_xmit() when transmit queue is stopped (NIC TX ring buffer full or BQL limit reached) currently outputs a syslog message. It would be better to get a precise count of such events available in netdevice stats so that monitoring tools can have a clue. This extends the work done in caf586e5f23ce ("net: add a core netdev->rx_dropped counter") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/flat.h')
0 files changed, 0 insertions, 0 deletions