History

ethtool: set link settings with LINKINFO_SET request

Implement LINKINFO_SET netlink request to set link settings queried by LINKINFO_GET message. Only physical port, phy MDIO address and MDI(-X) control can be set, attempt to modify MDI(-X) status and transceiver is rejected.

Michal Kubecek committed 6 years ago

Commit a53f3d41 parent 459e0b85 files · +101 −2Browse files

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

Unified · Split

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