netdevsim: implement fake flash updating with notifications
Signed-off-by: Jiri Pirko <jiri@mellanox.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
8f1956f113
commit
fa4dfc4a94
2 changed files with 45 additions and 0 deletions
|
|
@ -157,6 +157,7 @@ struct nsim_dev {
|
|||
struct netdev_phys_item_id switch_id;
|
||||
struct list_head port_list;
|
||||
struct mutex port_list_lock; /* protects port list */
|
||||
bool fw_update_status;
|
||||
};
|
||||
|
||||
int nsim_dev_init(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue