From: Jan Gelety Date: Thu, 7 Mar 2019 02:57:32 +0000 (+0100) Subject: FIX: Do not set sriov_numvfs of QAT card to 0 in case of SW crypto tests X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=2e1697f369f938b06ba85a2c3c1d80c8411173d6 FIX: Do not set sriov_numvfs of QAT card to 0 in case of SW crypto tests - when sriov_numvfs of QAT card is set to 0 for SW crypto tests and then back to 32 for subsequent HW crypto the dpdk backend is not running Change-Id: I9bc6b2549823e3318c31bda55a976199266e3535 Signed-off-by: Jan Gelety --- diff --git a/resources/libraries/robot/performance/performance_setup.robot b/resources/libraries/robot/performance/performance_setup.robot index c155b07d3e..98f6310510 100644 --- a/resources/libraries/robot/performance/performance_setup.robot +++ b/resources/libraries/robot/performance/performance_setup.robot @@ -481,8 +481,9 @@ | | ... | ${topology_type} | ${nic_model} | | ${numvfs}= | Set Variable If | | ... | '${crypto_type}' == 'HW_cryptodev' | ${32} -| | ... | '${crypto_type}' == 'SW_cryptodev' | ${0} -| | Configure crypto device on all DUTs | force_init=${True} | numvfs=${numvfs} +| | Run Keyword If | '${crypto_type}' == 'HW_cryptodev' +| | ... | Configure crypto device on all DUTs | force_init=${True} +| | ... | numvfs=${numvfs} | | Run Keyword If | '${crypto_type}' == 'HW_cryptodev' | | ... | Configure kernel module on all DUTs | vfio_pci | force_load=${True}