dpdk-fm10k/drivers
Xueming Li 99abbd62c2 vdpa/mlx5: fix queue update synchronization
The driver CQ event management is done by non vhost library thread,
either the dpdk host thread or the internal vDPA driver thread.

When a queue is updated the CQ may be destroyed and created by the vhost
library thread via the queue state operation.

When the queue update feature was added, it didn't synchronize the CQ
management to the queue update what may cause invalid memory access.

Add the aforementioned synchronization by a new per device configuration
mutex.

Fixes: c47d6e8333 ("vdpa/mlx5: support queue update")

Signed-off-by: Xueming Li <xuemingl@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2020-08-05 18:12:10 +02:00
..
baseband log: introduce logtype register macro 2020-07-03 15:52:51 +02:00
bus bus/vmbus: use SMP memory barrier for signaling read 2020-07-29 16:17:54 +02:00
common common/mlx5: fix regex register layout 2020-07-30 00:41:24 +02:00
compress common/qat: remove unused fields 2020-07-28 22:09:22 +02:00
crypto crypto/armv8: remove redundant assert definition 2020-07-28 22:09:22 +02:00
event event/dpaa2: add all-types queue capability flag 2020-07-24 07:22:41 +02:00
mempool mempool/ring: support RTS and HTS ring modes 2020-07-21 19:20:00 +02:00
net net/netvsc: fix chimney index 2020-08-05 17:57:13 +02:00
raw raw/ifpga/base: fix NIOS SPI init 2020-07-22 00:42:11 +02:00
regex regex/mlx5: fix overrun on enqueueing 2020-07-29 16:49:58 +02:00
vdpa vdpa/mlx5: fix queue update synchronization 2020-08-05 18:12:10 +02:00
Makefile common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00
meson.build common/mlx5: introduce layer for multiple class drivers 2020-07-28 19:01:11 +02:00