[PATCH 20.11.10] test/crypto: skip some synchronous tests with CPU crypto
Luca Boccassi
luca.boccassi at gmail.com
Mon Oct 23 17:50:03 CEST 2023
On Thu, 19 Oct 2023 at 13:48, Ciara Power <ciara.power at intel.com> wrote:
>
> [ upstream commit 38318ce05459391344acb53a73c9a99537a0bd0f ]
>
> Some synchronous tests are not supported for CPU crypto and
> need to be skipped. This commit adds in extra skips for these tests.
>
> Fixes: 55ab4a8 ("test/crypto: disable wireless cases for CPU crypto API")
>
> Signed-off-by: Brian Dooley <brian.dooley at intel.com>
> Signed-off-by: Ciara Power <ciara.power at intel.com>
> ---
> app/test/test_cryptodev.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
> index 2e76763e09..60fe8a1fbf 100644
> --- a/app/test/test_cryptodev.c
> +++ b/app/test/test_cryptodev.c
> @@ -5800,6 +5800,9 @@ test_zuc_auth_cipher(const struct wireless_test_data *tdata,
> &cap_idx) == NULL)
> return -ENOTSUP;
>
> + if (gbl_action_type == RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO)
> + return -ENOTSUP;
> +
> rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info);
>
> uint64_t feat_flags = dev_info.feature_flags;
> @@ -6828,6 +6831,8 @@ test_mixed_auth_cipher(const struct mixed_cipher_auth_test_data *tdata,
> return -ENOTSUP;
> if (global_api_test_type == CRYPTODEV_RAW_API_TEST)
> return -ENOTSUP;
> + if (gbl_action_type == RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO)
> + return -ENOTSUP;
>
> rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info);
>
> --
> 2.25.1
>
Thanks, applied
More information about the stable
mailing list