linux/net/devlink
Jiri Pirko 337ad364c4 devlink: use devl_is_registered() helper instead xa_get_mark()
Instead of checking the xarray mark directly using xa_get_mark() helper
use devl_is_registered() helper which wraps it up. Note that there are
couple more users of xa_get_mark() left which are going to be handled
by the next patch.

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: use devl_is_registered() helper instead xa_get_mark() 2023-12-19 15:31:40 +01:00
devl_internal.h devlink: Allow taking device lock in pre_doit operations 2023-11-18 17:38:50 +00: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: Allow taking device lock in pre_doit operations 2023-11-18 17:38:50 +00:00
linecard.c devlink: rename netlink callback to be aligned with the generated ones 2023-10-23 16:12:47 -07: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: rename netlink callback to be aligned with the generated ones 2023-10-23 16:12:47 -07:00
port.c devlink: rename netlink callback to be aligned with the generated ones 2023-10-23 16:12:47 -07:00
rate.c devlink: use devl_is_registered() helper instead xa_get_mark() 2023-12-19 15:31:40 +01:00
region.c devlink: Allow taking device lock in pre_doit operations 2023-11-18 17:38:50 +00: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: use devl_is_registered() helper instead xa_get_mark() 2023-12-19 15:31:40 +01:00