netdevsim: add couple of debugfs bools to debug devlink reload
authorJiri Pirko <jiri@mellanox.com>
Sun, 6 Oct 2019 06:30:01 +0000 (08:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2019 16:28:42 +0000 (18:28 +0200)
commit155ddfc5e54a68f0e8d20f31f2b4b6b25e1071b5
tree98dbd13c3689d12b080dc20bdd33edcd2305e1e1
parentd44dc741327906b6eaf9f69c626cfc48d13f7250
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>
drivers/net/netdevsim/dev.c
drivers/net/netdevsim/netdevsim.h