[V1] tests/TestSuite_ipsec_gw_cryptodev_func.py: Modified to accomodate qat_legacy_capa flag
Checks
Commit Message
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(+)
@@ -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"