Add port param get command which gets data per parameter. It also has option to dump the parameters data per port. v7->v8: Append "Acked-by: Jiri Pirko <jiri@mellanox.com>"
Showing the changes to include/uapi/linux (1 of 2 files). Show all
Unified · Split
| @@ -89,6 +89,8 @@ enum devlink_command { · 88 unmodified lines | |||
| 89 | DEVLINK_CMD_REGION_DEL, | 89 | DEVLINK_CMD_REGION_DEL, |
| 90 | DEVLINK_CMD_REGION_READ, | 90 | DEVLINK_CMD_REGION_READ, |
| 91 | 91 | ||
| 92 | DEVLINK_CMD_PORT_PARAM_GET, /* can dump */ | ||
| 93 | |||
| 92 | /* add new commands above here */ | 94 | /* add new commands above here */ |
| 93 | __DEVLINK_CMD_MAX, | 95 | __DEVLINK_CMD_MAX, |
| 94 | DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1 | 96 | DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1 |