ethtool: add interface to read standard MAC Ctrl stats
Number of devices maintains the standard-based MAC control counters for control frames. Add a API for those. Signed-off-by:Jakub Kicinski <kuba@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/linux/ethtool.h 12 additions, 0 deletionsinclude/linux/ethtool.h
- include/uapi/linux/ethtool.h 2 additions, 0 deletionsinclude/uapi/linux/ethtool.h
- include/uapi/linux/ethtool_netlink.h 14 additions, 0 deletionsinclude/uapi/linux/ethtool_netlink.h
- net/ethtool/netlink.h 1 addition, 0 deletionsnet/ethtool/netlink.h
- net/ethtool/stats.c 33 additions, 0 deletionsnet/ethtool/stats.c
- net/ethtool/strset.c 5 additions, 0 deletionsnet/ethtool/strset.c
Please register or sign in to comment