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.
Showing the changes to include/uapi/linux (1 of 5 files). Show all
Unified · Split
| @@ -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, |