Add crypto test for zsda device and driver.

Signed-off-by: Hanxiao Li <li.hanxiao@zte.com.cn>
---
 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 31a4905a97..ca2ed39b48 100644
--- a/app/test/test_cryptodev.c
+++ b/app/test/test_cryptodev.c
@@ -20233,6 +20233,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,
@@ -20270,3 +20276,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 22bcb4969b..a80c11baf4 100644
--- a/app/test/test_cryptodev.h
+++ b/app/test/test_cryptodev.h
@@ -73,6 +73,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 2b7de0422d..0e1d8fd215 100644
--- a/doc/guides/cryptodevs/zsda.rst
+++ b/doc/guides/cryptodevs/zsda.rst
@@ -50,3 +50,9 @@ The ZSDA crypto service is built by default with a standard DPDK build.
 
 Testing
 -------
+
+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
-- 
2.27.0