]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf30ba0b9b2c2cd51cf4d21775e538ff53ba01d1b
tree98dbd13c3689d12b080dc20bdd33edcd2305e1e1
parent59081b66fd03b942d456d0681a7ef7a6073de0d6
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