bgmac: Add support for ethtool statistics
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 7 Jun 2016 22:06:14 +0000 (15:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 06:37:23 +0000 (23:37 -0700)
commitf6613d4fa937fa8388f2c1cb4e69ccc25e9e2336
tree3e34ce50c5f64342a682c36991a155355380a99b
parent2022e9d50798aa592887ccb5a7d045e537f3855f
bgmac: Add support for ethtool statistics

Read the statistics from the BGMAC's builtin MAC and return them to
user-space using the standard ethtool helpers.

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