[dpdk-dev] [PATCH] test/crypto: fix number of queue pairs

Akhil Goyal akhil.goyal at nxp.com
Thu Sep 27 13:46:07 CEST 2018



On 9/22/2018 7:03 PM, Fiona Trahe wrote:
> Some of the tests use a QAT-specific value (2) for
> maximum nr of queue pairs to create valid/invalid test cases.
> This has accidentally worked ok as default max_qps for all PMDs
> is larger. It is incorrect however and would fail if a device
> had a max lower than the QAT value.
> Instead use the value returned by the PMD in the
> rte_cryptodev_get_info query, this value is stored in the ts_params.
>
> Fixes: 202d375c60bc ("app/test: add cryptodev unit and performance tests")
> Cc: stable at dpdk.org
>
> Signed-off-by: Fiona Trahe <fiona.trahe at intel.com>
> ---
>
Acked-by: Akhil Goyal <akhil.goyal at nxp.com>

Applied to dpdk-next-crypto

Thanks,
Akhil


More information about the dev mailing list