History

ethtool: set link modes related data with LINKMODES_SET request

Implement LINKMODES_SET netlink request to set advertised linkmodes and related attributes as ETHTOOL_SLINKSETTINGS and ETHTOOL_SSET commands do. The request allows setting autonegotiation flag, speed, duplex and advertised link modes.

Michal Kubecek committed 6 years ago

Commit bfbcfe21 parent f625aa95 files · +269 −0Browse files

Showing the changes to include/uapi/linux (1 of 5 files). Show all

Unified · Split

include/uapi/linux/ethtool_netlink.h+1−0
@@ -18,6 +18,7 @@ enum { · 17 unmodified lines
18 ETHTOOL_MSG_LINKINFO_GET,18 ETHTOOL_MSG_LINKINFO_GET,
19 ETHTOOL_MSG_LINKINFO_SET,19 ETHTOOL_MSG_LINKINFO_SET,
20 ETHTOOL_MSG_LINKMODES_GET,20 ETHTOOL_MSG_LINKMODES_GET,
21 ETHTOOL_MSG_LINKMODES_SET,
21 22
22 /* add new constants above here */23 /* add new constants above here */
23 __ETHTOOL_MSG_USER_CNT,24 __ETHTOOL_MSG_USER_CNT,