numam-dpdk/drivers/common
Dekel Peled 105d214965 net/mlx5: fix aging queue doorbell ringing
Recent patch introduced a new SQ for ASO flow hit management.
This SQ uses two WQEBB's for each WQE.
The SQ producer index is 16 bits wide.

The enqueue loop posts new WQEs to the ASO SQ, using WQE index for
the SQ management.
This 16 bits index multiplied by 2 was wrongly used also for SQ
doorbell ringing.
The multiplication caused the SW index overlapping to be out of sync
with the hardware index, causing it to get stuck.

This patch separates the WQE index management from the doorbell index
management.
So, for each WQE index incrementation by 1, the doorbell index is
incremented by 2.

Fixes: f935ed4b64 ("net/mlx5: support flow hit action for aging")

Signed-off-by: Dekel Peled <dekelp@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2020-11-13 16:26:54 +01:00
..
cpt build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
dpaax build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
iavf build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
mlx5 net/mlx5: fix aging queue doorbell ringing 2020-11-13 16:26:54 +01:00
mvep build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
octeontx build: remove library name from version map file name 2020-10-19 22:13:59 +02:00
octeontx2 drivers: disable OCTEON TX2 in 32-bit build 2020-11-12 16:39:10 +01:00
qat common/qat: add missing kmod dependency info 2020-11-02 09:24:41 +01:00
sfc_efx common/sfc_efx/base: avoid reading past buffer 2020-11-13 16:26:54 +01:00
meson.build build: standardize component names and defines 2020-10-19 22:15:34 +02:00