linux/net/devlink
Jiri Pirko cddbff470e devlink: send notifications only if there are listeners
Introduce devlink_nl_notify_need() helper and using it to check at the
beginning of notification functions to avoid overhead of composing
notification messages in case nobody listens.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-12-19 15:31:40 +01:00
..
core.c devlink: Acquire device lock during netns dismantle 2023-11-18 17:38:50 +00:00
dev.c devlink: send notifications only if there are listeners 2023-12-19 15:31:40 +01:00
devl_internal.h devlink: send notifications only if there are listeners 2023-12-19 15:31:40 +01:00
dpipe.c devlink: rename netlink callback to be aligned with the generated ones 2023-10-23 16:12:47 -07:00
health.c devlink: send notifications only if there are listeners 2023-12-19 15:31:40 +01:00
linecard.c devlink: send notifications only if there are listeners 2023-12-19 15:31:40 +01:00
Makefile devlink: move devlink_notify_register/unregister() to dev.c 2023-08-28 08:02:24 -07:00
netlink_gen.c devlink: Acquire device lock during reload command 2023-11-18 17:38:50 +00:00
netlink_gen.h devlink: Acquire device lock during reload command 2023-11-18 17:38:50 +00:00
netlink.c devlink: Acquire device lock during reload command 2023-11-18 17:38:50 +00:00
param.c devlink: send notifications only if there are listeners 2023-12-19 15:31:40 +01:00
port.c devlink: send notifications only if there are listeners 2023-12-19 15:31:40 +01:00
rate.c devlink: send notifications only if there are listeners 2023-12-19 15:31:40 +01:00
region.c devlink: send notifications only if there are listeners 2023-12-19 15:31:40 +01:00
resource.c devlink: rename netlink callback to be aligned with the generated ones 2023-10-23 16:12:47 -07:00
sb.c devlink: rename netlink callback to be aligned with the generated ones 2023-10-23 16:12:47 -07:00
trap.c devlink: send notifications only if there are listeners 2023-12-19 15:31:40 +01:00