History

ethtool: set EEE settings with EEE_SET request

Implement EEE_SET netlink request to set EEE settings of a network device. These are traditionally set with ETHTOOL_SEEE ioctl request. The netlink interface allows setting the EEE status for all link modes supported by kernel but only first 32 link modes can be set at the moment as only those are supported by the ethtool_ops callback.

Michal Kubecek committed 6 years ago

Commit fd77be71 parent b7eeefe5 files · +104 −1Browse files

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

Unified · Split

include/uapi/linux/ethtool_netlink.h+1−0
@@ -37,6 +37,7 @@ enum { · 36 unmodified lines
3737 ETHTOOL_MSG_PAUSE_GET,
3838 ETHTOOL_MSG_PAUSE_SET,
3939 ETHTOOL_MSG_EEE_GET,
40+ ETHTOOL_MSG_EEE_SET,
4041
4142 /* add new constants above here */
4243 __ETHTOOL_MSG_USER_CNT,