netdevsim: add couple of debugfs bools to debug devlink reload
Add flag to disallow reload and another one that causes reload to always fail. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
d44dc74132
commit
155ddfc5e5
@@ -161,6 +161,8 @@ struct nsim_dev {
|
||||
bool fw_update_status;
|
||||
u32 max_macs;
|
||||
bool test1;
|
||||
bool dont_allow_reload;
|
||||
bool fail_reload;
|
||||
struct devlink_region *dummy_region;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user