Skip to content

Commit

Permalink
test/crypto: skip some synchronous tests with CPU crypto
Browse files Browse the repository at this point in the history
[ 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@intel.com>
Acked-by: Ciara Power <ciara.power@intel.com>
  • Loading branch information
bdoole1 authored and kevintraynor committed Oct 31, 2023
1 parent 956aa99 commit 0ad8ae6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/test/test_cryptodev.c
Original file line number Diff line number Diff line change
Expand Up @@ -6491,6 +6491,9 @@ test_zuc_auth_cipher_sgl(const struct wireless_test_data *tdata,
tdata->digest.len) < 0)
return TEST_SKIPPED;

if (gbl_action_type == RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO)
return TEST_SKIPPED;

rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info);

uint64_t feat_flags = dev_info.feature_flags;
Expand Down Expand Up @@ -7571,6 +7574,9 @@ test_mixed_auth_cipher_sgl(const struct mixed_cipher_auth_test_data *tdata,
if (global_api_test_type == CRYPTODEV_RAW_API_TEST)
return TEST_SKIPPED;

if (gbl_action_type == RTE_SECURITY_ACTION_TYPE_CPU_CRYPTO)
return TEST_SKIPPED;

rte_cryptodev_info_get(ts_params->valid_devs[0], &dev_info);

uint64_t feat_flags = dev_info.feature_flags;
Expand Down

0 comments on commit 0ad8ae6

Please sign in to comment.