]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit946930345e3dd8bbb11f71f77e0c3492d7feb72b
tree3e34ce50c5f64342a682c36991a155355380a99b
parenta01a69a99aaf14c5ce046c51d5879d87a7cb99b9
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