diff options
author | Jan Gelety <jgelety@cisco.com> | 2017-12-05 14:27:26 +0100 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-12-15 09:29:51 +0000 |
commit | 0ba508f0eac819c1985e825857f584b3d1537ffe (patch) | |
tree | a19599a44446816f69de2797af94a85b87dab99a /resources/libraries/robot/performance | |
parent | 2291eaac7509aadf30be407a6eb84cfa3d3a33d0 (diff) |
CSIT-861: SW cryptodev perf tests
Change-Id: I687216ca43569542d38be681ca04c898010fc65d
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/robot/performance')
-rw-r--r-- | resources/libraries/robot/performance/performance_setup.robot | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/resources/libraries/robot/performance/performance_setup.robot b/resources/libraries/robot/performance/performance_setup.robot index 492815b9b6..68f84b664f 100644 --- a/resources/libraries/robot/performance/performance_setup.robot +++ b/resources/libraries/robot/performance/performance_setup.robot @@ -355,18 +355,24 @@ | | ... | *Arguments:* | | ... | - topology_type - Topology type. Type: string | | ... | - nic_model - Interface model. Type: string +| | ... | - crypto_type - Crypto device type - HW_cryptodev or SW_cryptodev +| | ... | (Optional). Type: string, default value: HW_cryptodev | | ... | | ... | *Example:* | | ... | | ... | \| Set up IPSec performance test suite \| L2 \ | | ... | \| Intel-X520-DA2 \| | | ... -| | [Arguments] | ${topology_type} | ${nic_model} +| | [Arguments] | ${topology_type} | ${nic_model} | ${crypto_type}=HW_cryptodev | | ... | | Set up 3-node performance topology with DUT's NIC model | | ... | ${topology_type} | ${nic_model} -| | Configure crypto device on all DUTs | force_init=${True} -| | Configure kernel module on all DUTs | igb_uio | force_load=${True} +| | ${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 kernel module on all DUTs | igb_uio | force_load=${True} | Set up performance topology with containers | | [Documentation] |