summaryrefslogtreecommitdiffstats
path: root/net/devlink/Makefile
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-05 05:05:19 +0100
committerJakub Kicinski <kuba@kernel.org>2023-01-06 07:13:31 +0100
commit687125b5799cd5120437fa455cfccbe8537916ff (patch)
tree5afe63a5ca41104d4328105f99ea61a65341007c /net/devlink/Makefile
parentdevlink: rename devlink_netdevice_event -> devlink_port_netdevice_event (diff)
downloadlinux-687125b5799cd5120437fa455cfccbe8537916ff.tar.xz
linux-687125b5799cd5120437fa455cfccbe8537916ff.zip
devlink: split out core code
Move core code into a separate file. It's spread around the main file which makes refactoring and figuring out how devlink works harder. Move the xarray, all the most core devlink instance code out like locking, ref counting, alloc, register, etc. Leave port stuff in leftover.c, if we want to move port code it'd probably be to its own file. Reviewed-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/devlink/Makefile')
-rw-r--r--net/devlink/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/devlink/Makefile b/net/devlink/Makefile
index 3a60959f71ee..aff7da844e5d 100644
--- a/net/devlink/Makefile
+++ b/net/devlink/Makefile
@@ -1,3 +1,3 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y := leftover.o
+obj-y := leftover.o core.o