From: Eric Dumazet Date: Thu, 27 Mar 2014 15:45:56 +0000 (-0700) Subject: net: net: add a core netdev->tx_dropped counter X-Git-Tag: v3.15-rc1~113^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=015f0688f57ca4d499047d335b8052a733e17a4d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed