summaryrefslogtreecommitdiffstats
path: root/net/Makefile
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2023-01-04 20:05:17 -0800
committerJakub Kicinski <kuba@kernel.org>2023-01-05 22:12:00 -0800
commitf05bd8ebeb69c803efd6d8a76d96b7fcd7011094 (patch)
tree3ed3c7ad9e8ddd04942a6ddb89571b006051c76d /net/Makefile
parent0da6855378b9e89c025d3eb43125712498b71e0e (diff)
downloadlinux-stable-f05bd8ebeb69c803efd6d8a76d96b7fcd7011094.tar.gz
linux-stable-f05bd8ebeb69c803efd6d8a76d96b7fcd7011094.tar.bz2
linux-stable-f05bd8ebeb69c803efd6d8a76d96b7fcd7011094.zip
devlink: move code to a dedicated directory
The devlink code is hard to navigate with 13kLoC in one file. I really like the way Michal split the ethtool into per-command files and core. It'd probably be too much to split it all up, but we can at least separate the core parts out of the per-cmd implementations and put it in a directory so that new commands can be separate files. Move the code, subsequent commit will do a partial split. 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/Makefile')
-rw-r--r--net/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 6a62e5b27378..0914bea9c335 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -23,6 +23,7 @@ obj-$(CONFIG_BPFILTER) += bpfilter/
obj-$(CONFIG_PACKET) += packet/
obj-$(CONFIG_NET_KEY) += key/
obj-$(CONFIG_BRIDGE) += bridge/
+obj-$(CONFIG_NET_DEVLINK) += devlink/
obj-$(CONFIG_NET_DSA) += dsa/
obj-$(CONFIG_ATALK) += appletalk/
obj-$(CONFIG_X25) += x25/