net: systemport: log RX buffer allocation and RX/TX DMA failures
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 19 Nov 2014 18:29:55 +0000 (10:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Nov 2014 19:46:12 +0000 (14:46 -0500)
commit60b4ea1781fd862e9222d082af79a5770440d390
treeb812964032b6e920914f2860f755e48ba5271456
parent9c7077622dd917457ced680a23b7f175769471d9
net: systemport: 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/bcmsysport.c
drivers/net/ethernet/broadcom/bcmsysport.h