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>
Showing
- Documentation/netlink/specs/devlink.yaml 1478 additions, 52 deletionsDocumentation/netlink/specs/devlink.yaml
- net/devlink/netlink_gen.c 756 additions, 1 deletionnet/devlink/netlink_gen.c
- net/devlink/netlink_gen.h 63 additions, 1 deletionnet/devlink/netlink_gen.h
- tools/net/ynl/generated/devlink-user.c 4459 additions, 603 deletionstools/net/ynl/generated/devlink-user.c
- tools/net/ynl/generated/devlink-user.h 3739 additions, 474 deletionstools/net/ynl/generated/devlink-user.h
Loading
Please register or sign in to comment