Add cryptodev test for zsda. Signed-off-by: Hanxiao Li --- app/test/test_cryptodev.c | 7 +++++++ app/test/test_cryptodev.h | 1 + doc/guides/cryptodevs/zsda.rst | 6 ++++++ 3 files changed, 14 insertions(+) diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index c846b26ed1..76cacc8004 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -19765,6 +19765,12 @@ test_cryptodev_dpaa_sec_raw_api(void) return run_cryptodev_raw_testsuite(RTE_STR(CRYPTODEV_NAME_DPAA_SEC_PMD)); } +static int +test_cryptodev_zsda(void) +{ + return run_cryptodev_testsuite(RTE_STR(CRYPTODEV_NAME_ZSDA_SYM_PMD)); +} + REGISTER_DRIVER_TEST(cryptodev_cn10k_raw_api_autotest, test_cryptodev_cn10k_raw_api); REGISTER_DRIVER_TEST(cryptodev_dpaa2_sec_raw_api_autotest, @@ -19801,3 +19807,4 @@ REGISTER_DRIVER_TEST(cryptodev_nitrox_autotest, test_cryptodev_nitrox); REGISTER_DRIVER_TEST(cryptodev_bcmfs_autotest, test_cryptodev_bcmfs); REGISTER_DRIVER_TEST(cryptodev_cn9k_autotest, test_cryptodev_cn9k); REGISTER_DRIVER_TEST(cryptodev_cn10k_autotest, test_cryptodev_cn10k); +REGISTER_DRIVER_TEST(cryptodev_zsda_autotest, test_cryptodev_zsda); diff --git a/app/test/test_cryptodev.h b/app/test/test_cryptodev.h index fd9ea0dd81..1911a5a5e4 100644 --- a/app/test/test_cryptodev.h +++ b/app/test/test_cryptodev.h @@ -77,6 +77,7 @@ #define CRYPTODEV_NAME_CN10K_PMD crypto_cn10k #define CRYPTODEV_NAME_MLX5_PMD crypto_mlx5 #define CRYPTODEV_NAME_UADK_PMD crypto_uadk +#define CRYPTODEV_NAME_ZSDA_SYM_PMD crypto_zsda enum cryptodev_api_test_type { diff --git a/doc/guides/cryptodevs/zsda.rst b/doc/guides/cryptodevs/zsda.rst index 24bf4844e3..bd785278c0 100644 --- a/doc/guides/cryptodevs/zsda.rst +++ b/doc/guides/cryptodevs/zsda.rst @@ -222,6 +222,12 @@ ZSDA compression PMD can be tested by running the test application:: ./dpdk-test -l1 -n1 -a RTE>>compressdev_autotest +ZSDA SYM crypto PMD can be tested by running the test application:: + + cd .//app/test + ./dpdk-test -l1 -n1 -a + RTE>>cryptodev_zsda_autotest + Debugging ~~~~~~~~~ -- 2.27.0