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

Message ID 20230706092728.54490-1-varalakshmi.s@intel.com (mailing list archive)
State Rejected
Headers
Series [V1] tests/TestSuite_ipsec_gw_cryptodev_func.py: Modified to accomodate qat_legacy_capa flag |

Checks

Context Check Description
ci/Intel-dts-format-test fail Testing issues
ci/Intel-dts-pylama-test success Testing OK
ci/Intel-dts-suite-test warning SKIPPED

Commit Message

Varalakshmi S July 6, 2023, 9:27 a.m. UTC
  qat_legacy_capa included for qat tests.

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

Patch

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"