Commit b311b001 authored by Shannon Nelson's avatar Shannon Nelson Committed by David S. Miller

netdevsim: devlink flash timeout message

Add a simple devlink flash timeout message to exercise
the message mechanism.
Signed-off-by: default avatarShannon Nelson <snelson@pensando.io>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6700acc5
...@@ -768,6 +768,8 @@ static int nsim_dev_flash_update(struct devlink *devlink, const char *file_name, ...@@ -768,6 +768,8 @@ static int nsim_dev_flash_update(struct devlink *devlink, const char *file_name,
component, component,
NSIM_DEV_FLASH_SIZE, NSIM_DEV_FLASH_SIZE,
NSIM_DEV_FLASH_SIZE); NSIM_DEV_FLASH_SIZE);
devlink_flash_update_timeout_notify(devlink, "Flash select",
component, 81);
devlink_flash_update_status_notify(devlink, "Flashing done", devlink_flash_update_status_notify(devlink, "Flashing done",
component, 0, 0); component, 0, 0);
devlink_flash_update_end_notify(devlink); devlink_flash_update_end_notify(devlink);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment