aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cavium
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-03-31 17:42:24 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-01 18:13:36 -0700
commit74dcb4c1a52c7c6666319a149ad4adb001f1d00b (patch)
tree8ad59af9f3714779aecebab2bb106935f4244c13 /drivers/net/ethernet/cavium
parentnet: use rcu_dereference_protected to fetch sk_dst_cache in sk_destruct (diff)
downloadlinux-dev-74dcb4c1a52c7c6666319a149ad4adb001f1d00b.tar.xz
linux-dev-74dcb4c1a52c7c6666319a149ad4adb001f1d00b.zip
net: phy: aquantia: add SGMII statistics
The AQR107 family has SGMII statistics counters. Let's expose them to ethtool. To interpret the counters correctly one has to be aware that rx on SGMII side is tx on ethernet side. The counters are populated by the chip in 100Mbps/1Gbps mode only. v2: - add constant AQR107_SGMII_STAT_SZ - add struct aqr107_priv to be prepared for more private data fields - let aqr107_get_stat() return U64_MAX in case of an error Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium')
0 files changed, 0 insertions, 0 deletions