FIX: Do not set sriov_numvfs of QAT card to 0 in case of SW crypto tests 36/18136/6
authorJan Gelety <jgelety@cisco.com>
Thu, 7 Mar 2019 02:57:32 +0000 (03:57 +0100)
committerJan Gelety <jgelety@cisco.com>
Fri, 8 Mar 2019 14:14:03 +0000 (14:14 +0000)
- 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>
resources/libraries/robot/performance/performance_setup.robot

index c155b07..98f6310 100644 (file)
 | | ... | ${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}
 

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.