aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2020-03-12 21:08:33 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-12 15:32:33 -0700
commitbc9d1c995ecb8cccaac8ead2ed570544c2c885eb (patch)
tree5e54f7ecf974a5e2092ea919e8094a58cd5f28a2 /include
parentethtool: set device ring sizes with RINGS_SET request (diff)
downloadlinux-dev-bc9d1c995ecb8cccaac8ead2ed570544c2c885eb.tar.xz
linux-dev-bc9d1c995ecb8cccaac8ead2ed570544c2c885eb.zip
ethtool: add RINGS_NTF notification
Send ETHTOOL_MSG_RINGS_NTF notification whenever ring sizes of a network device are modified using ETHTOOL_MSG_RINGS_SET netlink message or ETHTOOL_SRINGPARAM ioctl request. Signed-off-by: Michal Kubecek <mkubecek@suse.cz> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/ethtool_netlink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/ethtool_netlink.h b/include/uapi/linux/ethtool_netlink.h
index ae71801b7aac..abfc8fd626da 100644
--- a/include/uapi/linux/ethtool_netlink.h
+++ b/include/uapi/linux/ethtool_netlink.h
@@ -55,6 +55,7 @@ enum {
ETHTOOL_MSG_PRIVFLAGS_GET_REPLY,
ETHTOOL_MSG_PRIVFLAGS_NTF,
ETHTOOL_MSG_RINGS_GET_REPLY,
+ ETHTOOL_MSG_RINGS_NTF,
/* add new constants above here */
__ETHTOOL_MSG_KERNEL_CNT,