Skip to content

Commit 8263343

Browse files
committed
netlink: specs: add the multicast group name to spec
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent bfb4fb7 commit 8263343

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Documentation/netlink/specs/ethtool.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2492,3 +2492,9 @@ operations:
24922492
attributes:
24932493
- header
24942494
- events
2495+
2496+
mcast-groups:
2497+
list:
2498+
-
2499+
name: monitor
2500+
c-define-name: ethtool-mcgrp-monitor-name

include/uapi/linux/ethtool_netlink.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,4 @@ enum {
208208
ETHTOOL_A_STATS_PHY_MAX = (__ETHTOOL_A_STATS_PHY_CNT - 1)
209209
};
210210

211-
#define ETHTOOL_MCGRP_MONITOR_NAME "monitor"
212-
213211
#endif /* _UAPI_LINUX_ETHTOOL_NETLINK_H_ */

include/uapi/linux/ethtool_netlink_generated.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,4 +867,6 @@ enum {
867867
ETHTOOL_MSG_KERNEL_MAX = (__ETHTOOL_MSG_KERNEL_CNT - 1)
868868
};
869869

870+
#define ETHTOOL_MCGRP_MONITOR_NAME "monitor"
871+
870872
#endif /* _UAPI_LINUX_ETHTOOL_NETLINK_GENERATED_H */

0 commit comments

Comments
 (0)