mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
devlink: push region related code into separate file
Cut out another chunk from leftover.c and put region related code into a separate file. Signed-off-by: Jiri Pirko <jiri@nvidia.com> Link: https://lore.kernel.org/r/20230828061657.300667-9-jiri@resnulli.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
830c41e1e9
commit
1aa47ca1f5
@ -1,4 +1,4 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
|
||||
obj-y := leftover.o core.o netlink.o netlink_gen.o dev.o port.o sb.o dpipe.o \
|
||||
resource.o param.o health.o
|
||||
resource.o param.o region.o health.o
|
||||
|
@ -158,6 +158,8 @@ void devlink_ports_notify_register(struct devlink *devlink);
|
||||
void devlink_ports_notify_unregister(struct devlink *devlink);
|
||||
void devlink_params_notify_register(struct devlink *devlink);
|
||||
void devlink_params_notify_unregister(struct devlink *devlink);
|
||||
void devlink_regions_notify_register(struct devlink *devlink);
|
||||
void devlink_regions_notify_unregister(struct devlink *devlink);
|
||||
|
||||
/* Ports */
|
||||
#define ASSERT_DEVLINK_PORT_INITIALIZED(devlink_port) \
|
||||
@ -249,6 +251,10 @@ int devlink_nl_cmd_port_param_get_doit(struct sk_buff *skb,
|
||||
struct genl_info *info);
|
||||
int devlink_nl_cmd_port_param_set_doit(struct sk_buff *skb,
|
||||
struct genl_info *info);
|
||||
int devlink_nl_cmd_region_new(struct sk_buff *skb, struct genl_info *info);
|
||||
int devlink_nl_cmd_region_del(struct sk_buff *skb, struct genl_info *info);
|
||||
int devlink_nl_cmd_region_read_dumpit(struct sk_buff *skb,
|
||||
struct netlink_callback *cb);
|
||||
int devlink_nl_cmd_health_reporter_set_doit(struct sk_buff *skb,
|
||||
struct genl_info *info);
|
||||
int devlink_nl_cmd_health_reporter_recover_doit(struct sk_buff *skb,
|
||||
|
File diff suppressed because it is too large
Load Diff
1260
net/devlink/region.c
Normal file
1260
net/devlink/region.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user