[dts][PATCH V1] tests/TestSuite_ipsec_gw_cryptodev_func.py: Modified to accomodate qat_legacy_capa flag

svaralak varalakshmi.s at intel.com
Thu Jul 6 11:27:28 CEST 2023


qat_legacy_capa included for qat tests.

Signed-off-by: svaralak <varalakshmi.s at intel.com>
---
 tests/TestSuite_ipsec_gw_cryptodev_func.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/TestSuite_ipsec_gw_cryptodev_func.py b/tests/TestSuite_ipsec_gw_cryptodev_func.py
index d9f6f626..83a57096 100644
--- a/tests/TestSuite_ipsec_gw_cryptodev_func.py
+++ b/tests/TestSuite_ipsec_gw_cryptodev_func.py
@@ -226,6 +226,12 @@ class TestIPsecGwCryptodevFunc(TestCase):
         elif self.get_case_cfg()["devtype"] == "crypto_qat":
             w = cc.get_qat_devices(self, cpm_num=1, num=num)
             device["a"] = " -a ".join(w)
+            legacy_capa_flag=",qat_legacy_capa=1"
+            i = 0
+            for s in w:
+                w[i] = s+legacy_capa_flag
+                i = i + 1
+            device["a"] = " -a ".join(w)
             device["vdev"] = None
         elif self.get_case_cfg()["devtype"] == "crypto_openssl":
             dev = "crypto_openssl"
-- 
2.17.1



More information about the dts mailing list