mbox series

[v4,net-next,0/2] net: dsa: add stats64 support

Message ID 20201204145624.11713-1-o.rempel@pengutronix.de
Headers show
Series net: dsa: add stats64 support | expand

Message

Oleksij Rempel Dec. 4, 2020, 2:56 p.m. UTC
changes v4:
- do no read MIBs withing stats64 call
- change polling frequency to 0.3Hz

changes v3:
- fix wrong multiplication
- cancel port workers on remove

changes v2:
- use stats64 instead of get_ethtool_stats
- add worked to poll for the stats

Oleksij Rempel (2):
  net: dsa: add optional stats64 support
  net: dsa: qca: ar9331: export stats64

 drivers/net/dsa/qca/ar9331.c | 247 ++++++++++++++++++++++++++++++++++-
 include/net/dsa.h            |   3 +
 net/dsa/slave.c              |  14 +-
 3 files changed, 262 insertions(+), 2 deletions(-)