WSL2-Linux-Kernel/drivers/net/netdevsim
Moshe Shemesh dc64cc7c63 devlink: Add devlink reload limit option
Add reload limit to demand restrictions on reload actions.
Reload limits supported:
no_reset: No reset allowed, no down time allowed, no link flap and no
          configuration is lost.

By default reload limit is unspecified and so no constraints on reload
actions are required.

Some combinations of action and limit are invalid. For example, driver
can not reinitialize its entities without any downtime.

The no_reset reload limit will have usecase in this patchset to
implement restricted fw_activate on mlx5.

Have the uapi parameter of reload limit ready for future support of
multiselection.

Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-09 12:06:52 -07:00
..
Makefile netdevsim: add pause frame stats 2020-09-15 13:26:28 -07:00
bpf.c bpf, xdp: Remove XDP_QUERY_PROG and XDP_QUERY_PROG_HW XDP commands 2020-07-25 20:37:02 -07:00
bus.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
dev.c devlink: Add devlink reload limit option 2020-10-09 12:06:52 -07:00
ethtool.c netdevsim: fix duplicated debugfs directory 2020-09-26 14:19:08 -07:00
fib.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
health.c devlink: Implicitly set auto recover flag when registering health reporter 2020-03-30 11:17:34 -07:00
ipsec.c net: netdevsim: Use scnprintf() for avoiding potential buffer overflow 2020-03-15 17:06:22 -07:00
netdev.c netdevsim: add pause frame stats 2020-09-15 13:26:28 -07:00
netdevsim.h netdevsim: support the static IANA VXLAN port flag 2020-09-28 12:50:12 -07:00
udp_tunnels.c netdevsim: support the static IANA VXLAN port flag 2020-09-28 12:50:12 -07:00