]> git.baikalelectronics.ru Git - kernel.git/commit
net, thunderx: Add TX timeout and RX buffer alloc failure stats.
authorThanneeru Srinivasulu <tsrinivasulu@caviumnetworks.com>
Thu, 11 Feb 2016 16:20:21 +0000 (21:50 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2016 16:30:26 +0000 (11:30 -0500)
commit344c46004ee08224d91c01ad22bd84321e365394
tree97e0135e75e679ae9fcc63072c2869140934be98
parenta6b1094342bfa2d356baf42288953181d0490c56
net, thunderx: Add TX timeout and RX buffer alloc failure stats.

When system is low on atomic memory, too many error messages are logged.
Since this is not a total failure but a simple switch to non-atomic allocation
better to have a stat.

Also add a stat for reset, kicked due to transmit watchdog timeout.

Signed-off-by: Thanneeru Srinivasulu <tsrinivasulu@caviumnetworks.com>
Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nic.h
drivers/net/ethernet/cavium/thunder/nicvf_ethtool.c
drivers/net/ethernet/cavium/thunder/nicvf_main.c
drivers/net/ethernet/cavium/thunder/nicvf_queues.c