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
1818 ETHTOOL_MSG_LINKINFO_GET,
1919 ETHTOOL_MSG_LINKINFO_SET,
2020 ETHTOOL_MSG_LINKMODES_GET,
21+ ETHTOOL_MSG_LINKMODES_SET,
2122
2223 /* add new constants above here */
2324 __ETHTOOL_MSG_USER_CNT,