OpenCloudOS-Kernel/drivers/net/netdevsim
Jakub Kicinski 14e426bf1a devlink: hold the instance lock during eswitch_mode callbacks
Make the devlink core hold the instance lock during eswitch_mode
callbacks. Cheat in case of mlx5 (see the cover letter).

Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2022-03-21 14:11:38 +00:00
..
Makefile netdevsim: Introduce support for L3 offload xstats 2022-03-15 14:00:51 +01:00
bpf.c netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc 2021-12-15 17:49:13 -08:00
bus.c netdevsim: rename 'driver' entry points 2021-11-01 13:29:41 +00:00
dev.c devlink: hold the instance lock during eswitch_mode callbacks 2022-03-21 14:11:38 +00:00
ethtool.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-12-16 16:13:19 -08:00
fib.c ipv6: fix data-race in fib6_info_hw_flags_set / fib6_purge_rt 2022-02-17 09:48:24 -08:00
health.c devlink: Delete not-used devlink APIs 2021-09-17 14:19:39 +01:00
hwstats.c netdevsim: Introduce support for L3 offload xstats 2022-03-15 14:00:51 +01:00
ipsec.c net: netdevsim: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops 2021-07-06 10:36:59 -07:00
netdev.c netdevsim: move vfconfig to nsim_dev 2021-11-01 13:29:41 +00:00
netdevsim.h netdevsim: replace vfs_lock with devlink instance lock 2022-03-21 14:11:38 +00:00
psample.c netdevsim: Only use sampling truncation length when valid 2021-04-22 13:23:56 -07:00
udp_tunnels.c netdevsim: set .owner to THIS_MODULE 2020-11-17 14:08:59 -08:00