1
0
Fork 0
alistair23-linux/drivers/net/ethernet/mellanox/mlx5/core/en
Maxim Mikityanskiy 9cf88808ad net/mlx5e: Fix concurrency issues between config flow and XSK
After disabling resources necessary for XSK (the XDP program, channels,
XSK queues), use synchronize_rcu to wait until the XSK wakeup function
finishes, before freeing the resources.

Suspend XSK wakeups during switching channels. If the XDP program is
being removed, synchronize_rcu before closing the old channels to allow
XSK wakeup to complete.

Signed-off-by: Maxim Mikityanskiy <maximmi@mellanox.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20191217162023.16011-3-maximmi@mellanox.com
2019-12-19 16:20:49 +01:00
..
xsk net/mlx5e: Fix concurrency issues between config flow and XSK 2019-12-19 16:20:49 +01:00
fs.h net/mlx5e: Improve stateless offload capability check 2019-08-28 11:49:05 -07:00
health.c net/mlx5e: Add support to rx reporter diagnose 2019-08-20 13:08:17 -07:00
health.h net/mlx5e: Report and recover from CQE with error on RQ 2019-08-20 13:08:18 -07:00
hv_vhca_stats.c net/mlx5e: Replace kfree with kvfree when free vhca stats 2019-10-29 16:27:18 -07:00
hv_vhca_stats.h net/mlx5e: Add mlx5e HV VHCA stats agent 2019-08-22 00:25:12 -07:00
monitor_stats.c net/mlx5e: Add missing static function annotation 2019-02-19 14:15:03 -08:00
monitor_stats.h net/mlx5e: Monitor counters commands support 2018-12-11 14:52:20 -08:00
params.c net/mlx5e: Allow XSK frames smaller than a page 2019-08-31 01:08:26 +02:00
params.h net/mlx5e: Allow XSK frames smaller than a page 2019-08-31 01:08:26 +02:00
port.c net/mlx5e: Fix translation of link mode into speed 2019-12-05 13:02:12 -08:00
port.h net/mlx5e: Fix matching of speed to PRM link modes 2019-07-25 13:31:00 -07:00
port_buffer.c net/mlx5e: Query global pause state before setting prio2buffer 2019-12-05 13:02:11 -08:00
port_buffer.h net/mlx5e: Receive buffer configuration 2018-05-24 14:23:33 -07:00
reporter_rx.c devlink: propagate extack down to health reporter ops 2019-10-11 21:02:30 -07:00
reporter_tx.c devlink: propagate extack down to health reporter ops 2019-10-11 21:02:30 -07:00
tc_tun.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-12-08 13:28:11 -08:00
tc_tun.h net/mlx5e: TC, Stub out ipv6 tun create header function 2019-11-22 13:18:20 -08:00
tc_tun_geneve.c net: flow_offload: rename tc_cls_flower_offload to flow_cls_offload 2019-07-09 14:38:51 -07:00
tc_tun_gre.c net: flow_offload: rename tc_cls_flower_offload to flow_cls_offload 2019-07-09 14:38:51 -07:00
tc_tun_vxlan.c net: flow_offload: rename tc_cls_flower_offload to flow_cls_offload 2019-07-09 14:38:51 -07:00
txrx.h net/mlx5e: kTLS, Limit DUMP wqe size 2019-10-18 12:11:53 -07:00
xdp.c mlx5e: modify driver for handling offsets 2019-08-31 01:08:26 +02:00
xdp.h net/mlx5e: Fix concurrency issues between config flow and XSK 2019-12-19 16:20:49 +01:00