test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts][PATCH V1] tests/TestSuite_ipsec_gw_cryptodev_func.py: Modified to accomodate qat_legacy_capa flag
@ 2023-07-06  9:27 svaralak
  0 siblings, 0 replies; only message in thread
From: svaralak @ 2023-07-06  9:27 UTC (permalink / raw)
  To: dts; +Cc: varalakshmi.s

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(+)

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-06  8:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-06  9:27 [dts][PATCH V1] tests/TestSuite_ipsec_gw_cryptodev_func.py: Modified to accomodate qat_legacy_capa flag svaralak

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).