History

devlink: Add port param get command

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>"

Vasundhara Volam committed 7 years ago

Commit f4601de1 parent 39e61602 files · +97 −7Browse files

Showing the changes to include/uapi/linux (1 of 2 files). Show all

Unified · Split

include/uapi/linux/devlink.h+2−0
@@ -89,6 +89,8 @@ enum devlink_command { · 88 unmodified lines
8989 DEVLINK_CMD_REGION_DEL,
9090 DEVLINK_CMD_REGION_READ,
9191
92+ DEVLINK_CMD_PORT_PARAM_GET, /* can dump */
93+
9294 /* add new commands above here */
9395 __DEVLINK_CMD_MAX,
9496 DEVLINK_CMD_MAX = __DEVLINK_CMD_MAX - 1