[EXTERNAL] [PATCH v2 9/9] app/test: add zsda cryptodev test
Akhil Goyal
gakhil at marvell.com
Wed May 14 09:55:36 CEST 2025
> Add crypto test for zsda device and driver.
>
> Signed-off-by: Hanxiao Li <li.hanxiao at zte.com.cn>
> ---
> app/test/test_cryptodev.c | 7 +++++++
> app/test/test_cryptodev.h | 1 +
> doc/guides/compressdevs/zsda.rst | 6 ++++++
> 3 files changed, 14 insertions(+)
>
> diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c
> index 441ecc6ad5..46337488e4 100644
> --- a/app/test/test_cryptodev.c
> +++ b/app/test/test_cryptodev.c
> @@ -20044,6 +20044,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,
> @@ -20080,3 +20086,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 bb54a33d62..d040022216 100644
> --- a/app/test/test_cryptodev.h
> +++ b/app/test/test_cryptodev.h
> @@ -72,6 +72,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/compressdevs/zsda.rst
> b/doc/guides/compressdevs/zsda.rst
> index 34cbf235af..54e73e5782 100644
> --- a/doc/guides/compressdevs/zsda.rst
> +++ b/doc/guides/compressdevs/zsda.rst
> @@ -192,6 +192,12 @@ ZSDA compression PMD can be tested by running the
> test application::
> ./dpdk-test -l1 -n1 -a <your zsda BDF>
> RTE>>compressdev_autotest
>
> +ZSDA SYM crypto PMD can be tested by running the test application::
> +
> + cd ./<build_dir>/app/test
> + ./dpdk-test -l1 -n1 -a <your zsda bdf>
> + RTE>>cryptodev_zsda_autotest
> +
Why is this updated in compressdev doc?
>
> Debugging
> ---------
> --
> 2.27.0
More information about the dev
mailing list