bgmac: Maintain some netdev statistics
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 7 Jun 2016 22:06:15 +0000 (15:06 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 06:37:24 +0000 (23:37 -0700)
commit6d490f62a4c7f11c552591bdd08eda3636aa0db9
treebf1ee85b455c6e9d933ee0e5d14379c03caece26
parentf6613d4fa937fa8388f2c1cb4e69ccc25e9e2336
bgmac: Maintain some netdev statistics

Add a few netdev statistics to report transmitted and received bytes and
packets and a few obvious errors.

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