numam-dpdk/drivers
Tal Shnaiderman 427ec3346d crypto/mlx5: fix queue indexing
The crypto QP consumer (ci) and producer (pi) indexes are increased
with each successful enqueue/dequeue operations.

However the QP pi index is calculated with a wraparound the number
of elements while the QP ci does not.

This is causing incorrect engine calculation for encqueued WQ values
(wq->pi - wq->ci) and eventually the device stops accepting new enqueue
operations.

Fixed by removing the wraparound on QP pi and using a temp calculation
where wraparound values are needed.

Fixes: 8e196c08ab ("crypto/mlx5: support enqueue/dequeue operations")
Cc: stable@dpdk.org

Signed-off-by: Tal Shnaiderman <talshn@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-09-28 08:43:57 +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/cpt: rework pending queue 2021-09-28 08:43:57 +02:00
compress compress/mlx5: fix leak on QP setup failure 2021-09-06 21:46:34 +02:00
crypto crypto/mlx5: fix queue indexing 2021-09-28 08:43:57 +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/dpaa2: promote some old experimental API 2021-09-24 18:44:02 +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