diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2022-02-19 11:26:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-19 21:52:45 +0300 |
commit | a7f4f13a0a6836b52ddce38b69eae84a2434fbd6 (patch) | |
tree | 0f9ce6339dc58e5e04ac2b9ce82af3a826e4e60e /net | |
parent | 0d0350c471ccd8d6a5b35e514e6b28e9a8fe4dbe (diff) | |
download | linux-a7f4f13a0a6836b52ddce38b69eae84a2434fbd6.tar.xz |
net: dsa: microchip: ksz9477: export HW stats over stats64 interface
Provide access to HW offloaded packets over stats64 interface.
The rx/tx_bytes values needed some fixing since HW is accounting size of
the Ethernet frame together with FCS.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions