]> git.baikalelectronics.ru Git - kernel.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)
commitdc330b3c36c620c253fd0a727b9e42da91829fd8
tree1006ed319d9ebbb67df5f611989d99a63b767d45
parent533926a1f4caff6583a59caea4be7126fef6885e
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