History

ethtool: add DEBUG_NTF notification

Send ETHTOOL_MSG_DEBUG_NTF notification message whenever debugging message mask for a device are modified using ETHTOOL_MSG_DEBUG_SET netlink message or ETHTOOL_SMSGLVL ioctl request. The notification message has the same format as reply to DEBUG_GET request. As with other ethtool notifications, netlink requests only trigger the notification if the mask is actually changed while ioctl request trigger it whenever the request results in calling the ethtool_ops handler.

Michal Kubecek committed 6 years ago

Commit 0bda7af1 parent e54d04e5 files · +7 −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
@@ -38,6 +38,7 @@ enum { · 37 unmodified lines
38 ETHTOOL_MSG_LINKMODES_NTF,38 ETHTOOL_MSG_LINKMODES_NTF,
39 ETHTOOL_MSG_LINKSTATE_GET_REPLY,39 ETHTOOL_MSG_LINKSTATE_GET_REPLY,
40 ETHTOOL_MSG_DEBUG_GET_REPLY,40 ETHTOOL_MSG_DEBUG_GET_REPLY,
41 ETHTOOL_MSG_DEBUG_NTF,
41 42
42 /* add new constants above here */43 /* add new constants above here */
43 __ETHTOOL_MSG_KERNEL_CNT,44 __ETHTOOL_MSG_KERNEL_CNT,