numam-dpdk/drivers/vdpa
Li Zhang 69e07f43a2 vdpa/mlx5: add task ring for multi-thread management
The configuration threads tasks need a container to
support multiple tasks assigned to a thread in parallel.
Use rte_ring container per thread to manage
the thread tasks without locks.
The caller thread from the user context opens a task to
a thread and enqueue it to the thread ring.
The thread polls its ring and dequeue tasks.
That’s why the ring should be in multi-producer
and single consumer mode.
Anatomic counter manages the tasks completion notification.
The threads report errors to the caller by
a dedicated error counter per task.

Signed-off-by: Li Zhang <lizh@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
2022-06-21 11:18:15 +02:00
..
ifc vdpa/ifc/base: fix null pointer dereference 2022-06-17 15:19:58 +02:00
mlx5 vdpa/mlx5: add task ring for multi-thread management 2022-06-21 11:18:15 +02:00
sfc vdpa/sfc: make MCDI memzone name unique 2022-02-15 13:22:18 +01:00
meson.build vdpa/sfc: introduce Xilinx vDPA driver 2021-11-04 13:43:23 +01:00