devlink: Split out dev get and dump code
authorMoshe Shemesh <moshe@nvidia.com>
Thu, 2 Feb 2023 14:47:00 +0000 (16:47 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 4 Feb 2023 03:25:25 +0000 (19:25 -0800)
commitdbeeca81bd9399fc60ae69ff944836280b4fd094
tree68de2e29e3a653b46515dd5ed480e7a6ef6e8b13
parentd795527d50796b18c08462188e555139bdd6f967
devlink: Split out dev get and dump code

Move devlink dev get and dump callbacks and related dev code to new file
dev.c. This file shall include all callbacks that are specific on
devlink dev object.

No functional change in this patch.

Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/devlink/Makefile
net/devlink/dev.c [new file with mode: 0644]
net/devlink/devl_internal.h
net/devlink/leftover.c