mbox series

[net-next,v2,0/3] RFC 2863 Testing Oper status

Message ID 20200419221152.884053-1-andrew@lunn.ch
Headers show
Series RFC 2863 Testing Oper status | expand

Message

Andrew Lunn April 19, 2020, 10:11 p.m. UTC
This patchset add support for RFC 2863 Oper status testing.  An
interface is placed into this state when a self test is performed
using ethtool.

v2:
Fix date/kernel version in Documentation
Add reviewed-by tags

Andrew Lunn (3):
  net: Add IF_OPER_TESTING
  net: Add testing sysfs attribute
  net: ethtool: self_test: Mark interface in testing operative status

 Documentation/ABI/testing/sysfs-class-net | 13 +++++++
 include/linux/netdevice.h                 | 41 +++++++++++++++++++++++
 include/uapi/linux/if.h                   |  1 +
 net/core/dev.c                            |  5 +++
 net/core/link_watch.c                     | 12 +++++--
 net/core/net-sysfs.c                      | 15 ++++++++-
 net/core/rtnetlink.c                      |  9 ++++-
 net/ethtool/ioctl.c                       |  2 ++
 8 files changed, 94 insertions(+), 4 deletions(-)