aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-03-07 03:57:32 +0100
committerJan Gelety <jgelety@cisco.com>2019-03-07 07:57:33 +0100
commit250148ca4b51a8c68faaf20e22b9e808f478fd00 (patch)
treea8ff95f088478be83253f9b35c3355630fab5a03
parent7cc1d28080ff1113ddb1f1e1fd494b2651a3199b (diff)
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 <jgelety@cisco.com>
-rw-r--r--resources/libraries/robot/performance/performance_setup.robot5
1 files changed, 3 insertions, 2 deletions
diff --git a/resources/libraries/robot/performance/performance_setup.robot b/resources/libraries/robot/performance/performance_setup.robot
index ed6f4744db..79e98a1170 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}