numam-dpdk/drivers/crypto/mlx5
Raja Zidane 150837248f crypto/mlx5: fix maximum number of queue pairs
An indirect mkey is created for each descriptor in a QP, number of
descriptors per QP is configured by the user on QP setup callback.
In mlx cryptodev autotest, the max number of QPs (provided by the driver)
is created, and due to mkey resource limits, QPs creation fail which leads
to the test failing.
Since there is no capability of max number of descriptors provided to
the user, we can't give an exact number of max QPs available.
Reduce the max number of QPs to 128, which supports standard descriptors
numbers, including the 4K number provided in the test.

Fixes: 6152534e21 ("crypto/mlx5: support queue pairs operations")
Cc: stable@dpdk.org

Signed-off-by: Raja Zidane <rzidane@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-11-23 19:41:24 +01:00
..
meson.build crypto/mlx5: support on Windows 2021-11-04 19:43:14 +01:00
mlx5_crypto_dek.c crypto/mlx5: fix freeing on probing failure 2021-11-08 19:46:28 +01:00
mlx5_crypto_utils.h
mlx5_crypto.c crypto/mlx5: fix maximum number of queue pairs 2021-11-23 19:41:24 +01:00
mlx5_crypto.h crypto/mlx5: fix queue size configuration 2021-11-08 19:46:28 +01:00
version.map version: 21.11-rc0 2021-08-17 08:37:52 +02:00