History

devlink: Add devlink notifications support for port params

Add notification call for devlink port param set, register and unregister functions. Add devlink_port_param_value_changed() function to enable the driver notify devlink on value change. Driver should use this function after value was changed on any configuration mode part to driverinit. v7->v8: Order devlink_port_param_value_changed() definitions followed by devlink_param_value_changed()

Vasundhara Volam committed 7 years ago

Commit c1e57861 parent 5473a7b3 files · +94 −27Browse files

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

Unified · Split

include/uapi/linux/devlink.h+2−0
@@ -91,6 +91,8 @@ enum devlink_command { · 90 unmodified lines
9191
9292 DEVLINK_CMD_PORT_PARAM_GET, /* can dump */
9393 DEVLINK_CMD_PORT_PARAM_SET,
94+ DEVLINK_CMD_PORT_PARAM_NEW,
95+ DEVLINK_CMD_PORT_PARAM_DEL,
9496
9597 /* add new commands above here */
9698 __DEVLINK_CMD_MAX,