numam-dpdk/drivers
Michael Baum dc26c9c21b common/mlx5: fix device list operations concurrency
The mlx5 common driver has a global list of mlx5 devices which are
probed.

In probe function it creates one and insert it to the list. Similarly it
removes the device in remove function.
These operations are not safe as there can be such operations in
parallel, by different threads.

Add global lock for the list and use it to insert or remove.

Fixes: 8a41f4decc ("common/mlx5: introduce layer for multiple class drivers")
Cc: stable@dpdk.org

Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-09-20 23:16:29 +02:00
..
baseband version: 21.11-rc0 2021-08-17 08:37:52 +02:00
bus bus/fslmc: move experimental function to internal 2021-09-24 18:44:00 +02:00
common common/mlx5: fix device list operations concurrency 2021-09-20 23:16:29 +02:00
compress compress/mlx5: fix leak on QP setup failure 2021-09-06 21:46:34 +02:00
crypto common/cnxk: support tunnel header verification 2021-09-28 17:49:10 +02:00
event cryptodev: expose driver interface as internal 2021-09-08 09:35:12 +02:00
mempool version: 21.11-rc0 2021-08-17 08:37:52 +02:00
net net/mlx5: fix duplicate pattern option default 2021-09-20 23:13:40 +02:00
raw drivers: remove warning with Meson 0.59 2021-08-27 15:51:34 +02:00
regex regex/mlx5: fix leak after probing failure 2021-09-22 21:21:31 +02:00
vdpa vdpa/mlx5: fix large VM memory region registration 2021-09-27 17:24:22 +02:00
meson.build build: fix essential drivers in disable list 2021-09-15 11:00:15 +02:00