]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net: bcmgenet: log RX buffer allocation and RX/TX dma failures
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 19 Nov 2014 18:29:56 +0000 (10:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:46:12 +0000 (14:46 -0500)
commit44c8bc3ce39f4cbeb7bf13162666fb6d0aad864d
tree1006ed319d9ebbb67df5f611989d99a63b767d45
parent60b4ea1781fd862e9222d082af79a5770440d390
net: bcmgenet: log RX buffer allocation and RX/TX dma failures

To help troubleshoot heavy memory pressure conditions, add a bunch of
statistics counter to log RX buffer allocation and RX/TX DMA mapping
failures. These are reported like any other counters through the ethtool
stats interface.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/broadcom/genet/bcmgenet.h