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
37 ETHTOOL_MSG_PAUSE_GET,37 ETHTOOL_MSG_PAUSE_GET,
38 ETHTOOL_MSG_PAUSE_SET,38 ETHTOOL_MSG_PAUSE_SET,
39 ETHTOOL_MSG_EEE_GET,39 ETHTOOL_MSG_EEE_GET,
40 ETHTOOL_MSG_EEE_SET,
40 41
41 /* add new constants above here */42 /* add new constants above here */
42 __ETHTOOL_MSG_USER_CNT,43 __ETHTOOL_MSG_USER_CNT,