]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
netlink: specs: add the multicast group name to spec
authorJakub Kicinski <kuba@kernel.org>
Mon, 23 Jun 2025 23:17:13 +0000 (16:17 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 25 Jun 2025 22:24:13 +0000 (15:24 -0700)
Add the multicast group's name to the YAML spec.
Without it YNL doesn't know how to subscribe to notifications.

Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20250623231720.3124717-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/ethtool.yaml
include/uapi/linux/ethtool_netlink.h
include/uapi/linux/ethtool_netlink_generated.h

index c1651e175e8bbf32fc0923888576c9f8ed9b47eb..cfe84f84ba29301b941e26c520cb3d79052ba06e 100644 (file)
@@ -2492,3 +2492,9 @@ operations:
         attributes:
           - header
           - events
+
+mcast-groups:
+  list:
+    -
+      name: monitor
+      c-define-name: ethtool-mcgrp-monitor-name
index 09a75bdb6560611d30bc21c975ecb0f6069d4269..fa5d645140a47b786d79ed659406d5c6acd0cc68 100644 (file)
@@ -208,6 +208,4 @@ enum {
        ETHTOOL_A_STATS_PHY_MAX = (__ETHTOOL_A_STATS_PHY_CNT - 1)
 };
 
-#define ETHTOOL_MCGRP_MONITOR_NAME "monitor"
-
 #endif /* _UAPI_LINUX_ETHTOOL_NETLINK_H_ */
index 4944badf9fba05194d56fafa13affd91457ffa38..859e28c8a91a2d4040908bcbb4dff390245b8a80 100644 (file)
@@ -867,4 +867,6 @@ enum {
        ETHTOOL_MSG_KERNEL_MAX = (__ETHTOOL_MSG_KERNEL_CNT - 1)
 };
 
+#define ETHTOOL_MCGRP_MONITOR_NAME     "monitor"
+
 #endif /* _UAPI_LINUX_ETHTOOL_NETLINK_GENERATED_H */