netlink: specs: devlink: add the remaining command to generate complete split_ops
authorJiri Pirko <jiri@nvidia.com>
Sat, 21 Oct 2023 11:27:09 +0000 (13:27 +0200)
committerJakub Kicinski <kuba@kernel.org>
Mon, 23 Oct 2023 23:16:32 +0000 (16:16 -0700)
commitf2f9dd164db079161a834c8698c68a94a50b4168
treea923e560d81e7f2c6c4ee105cbd58d92e79cf5cc
parent53590934ba9549c55c57a32e2a6980139af00345
netlink: specs: devlink: add the remaining command to generate complete split_ops

Currently, some of the commands are not described in devlink yaml file
and are manually filled in net/devlink/netlink.c in small_ops. To make
all part of split_ops, add definitions of the rest of the commands
alongside with needed attributes and enums.

Note that this focuses on the kernel side. The requests are fully
described in order to generate split_op alongside with policies.
Follow-up will describe the replies in order to make the userspace
helpers complete.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://lore.kernel.org/r/20231021112711.660606-9-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/netlink/specs/devlink.yaml
net/devlink/netlink_gen.c
net/devlink/netlink_gen.h
tools/net/ynl/generated/devlink-user.c
tools/net/ynl/generated/devlink-user.h