From ec059708c78fe3563bc89507739a2712adc062f3 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Fri, 10 Feb 2017 09:24:00 +0100 Subject: Add x710 and xl710 tests for testpmd 10ge2p1x710-eth-l2xcbase-ndrdisc 40ge2p1xl710-eth-l2xcbase-ndrdisc Change-Id: Iea411182fd41e1ae9ed9b5a17f540befc247adb9 Signed-off-by: Tibor Frank --- dpdk-tests/perf/__init__.robot | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'dpdk-tests/perf/__init__.robot') diff --git a/dpdk-tests/perf/__init__.robot b/dpdk-tests/perf/__init__.robot index 153fe354ac..03371605fd 100644 --- a/dpdk-tests/perf/__init__.robot +++ b/dpdk-tests/perf/__init__.robot @@ -15,7 +15,24 @@ | Resource | resources/libraries/robot/default.robot | Resource | resources/libraries/robot/interfaces.robot | Library | resources.libraries.python.DPDK.SetupDPDKTest -| Suite Setup | Run Keywords | Setup DPDK Test | ${nodes} +| Suite Setup | Run Keywords | Setup performance global Variables +| ... | AND | Setup DPDK Test | ${nodes} | ... | AND | Get CPU Layout from all nodes | ${nodes} | ... | AND | Update All Numa Nodes | ... | ${nodes} | skip_tg=${True} + +*** Keywords *** +| Setup performance global Variables +| | [Documentation] +| | ... | Setup suite Variables. Variables are used across performance testing. +| | ... +| | ... | _NOTE:_ This KW sets following suite variables: +| | ... | - perf_trial_duration - Duration of traffic run [s]. +| | ... | - perf_pdr_loss_acceptance - Loss acceptance treshold +| | ... | - perf_pdr_loss_acceptance_type - Loss acceptance treshold type +| | ... | - perf_vm_image - Guest VM disk image +| | ... +| | Set Global Variable | ${perf_trial_duration} | 10 +| | Set Global Variable | ${perf_pdr_loss_acceptance} | 0.5 +| | Set Global Variable | ${perf_pdr_loss_acceptance_type} | percentage +| | Set Global Variable | ${perf_vm_image} | /var/lib/vm/csit-nested-1.6.img -- cgit 1.2.3-korg