diff options
author | Jiri Pirko <[email protected]> | 2023-01-31 10:06:13 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-02-01 10:57:01 -0800 |
commit | 8589ba4e642aa257fa46ee82c975921e19db47d5 (patch) | |
tree | 57599bc3079d2b5d0ffffebdd68b58d1f2094f84 /tools/perf/scripts/python | |
parent | f87445953d4c1cbcaa110f95dfd64193756f7353 (diff) |
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 <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions