devlink: split out netlink code
authorJakub Kicinski <kuba@kernel.org>
Thu, 5 Jan 2023 04:05:20 +0000 (20:05 -0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 6 Jan 2023 06:13:39 +0000 (22:13 -0800)
commit623cd13b165486afaa2df706d49209392f3764ca
tree5f277de58de602a1847e8ebb6d935e85381e0bd2
parent687125b5799cd5120437fa455cfccbe8537916ff
devlink: split out netlink code

Move out the netlink glue into a separate file.
Leave the ops in the old file because we'd have to export a ton
of functions. Going forward we should switch to split ops which
will let us to put the new ops in the netlink.c file.

Pure code move, no functional changes.

Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/devlink/Makefile
net/devlink/devl_internal.h
net/devlink/leftover.c
net/devlink/netlink.c [new file with mode: 0644]