devlink: move code to a dedicated directory
authorJakub Kicinski <kuba@kernel.org>
Thu, 5 Jan 2023 04:05:17 +0000 (20:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Jan 2023 06:12:00 +0000 (22:12 -0800)
commitf05bd8ebeb69c803efd6d8a76d96b7fcd7011094
tree3ed3c7ad9e8ddd04942a6ddb89571b006051c76d
parent0da6855378b9e89c025d3eb43125712498b71e0e
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>
MAINTAINERS
net/Makefile
net/core/Makefile
net/devlink/Makefile [new file with mode: 0644]
net/devlink/leftover.c [moved from net/core/devlink.c with 100% similarity]