linux-stable/net/devlink
Jiri Pirko 8589ba4e64 devlink: rename and reorder instances of struct devlink_cmd
In order to maintain naming consistency, rename and reorder all usages
of struct struct devlink_cmd in the following way:
1) Remove "gen" and replace it with "cmd" to match the struct name
2) Order devl_cmds[] and the header file to match the order
   of enum devlink_command
3) Move devl_cmd_rate_get among the peers
4) Remove "inst" for DEVLINK_CMD_GET
5) Add "_get" suffix to all to match DEVLINK_CMD_*_GET (only rate had it
   done correctly)

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-02-01 10:57:01 -08:00
..
core.c devlink: remove devlink features 2023-01-30 08:37:46 +00:00
devl_internal.h devlink: rename and reorder instances of struct devlink_cmd 2023-02-01 10:57:01 -08:00
leftover.c devlink: rename and reorder instances of struct devlink_cmd 2023-02-01 10:57:01 -08:00
Makefile devlink: split out netlink code 2023-01-05 22:13:39 -08:00
netlink.c devlink: rename and reorder instances of struct devlink_cmd 2023-02-01 10:57:01 -08:00