aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/netdevsim/netdevsim.h
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2019-06-04 15:40:43 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-04 14:21:40 -0700
commitfa4dfc4a94da180a5ab7e91a501fed86352abfd4 (patch)
tree11592990cfdcf5417918bc073ec089e69f16cbd9 /drivers/net/netdevsim/netdevsim.h
parentmlxsw: Implement flash update status notifications (diff)
downloadlinux-dev-fa4dfc4a94da180a5ab7e91a501fed86352abfd4.tar.xz
linux-dev-fa4dfc4a94da180a5ab7e91a501fed86352abfd4.zip
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>
Diffstat (limited to 'drivers/net/netdevsim/netdevsim.h')
-rw-r--r--drivers/net/netdevsim/netdevsim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/netdevsim/netdevsim.h b/drivers/net/netdevsim/netdevsim.h
index 3f398797c2bc..79c05af2a7c0 100644
--- a/drivers/net/netdevsim/netdevsim.h
+++ b/drivers/net/netdevsim/netdevsim.h
@@ -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);