X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=tests%2Fvpp%2Fperf%2Fl2%2F10ge2p1vic1227-eth-l2bdbasemaclrn-ndrpdrdisc.robot;h=2f09211ecba518bc2db6ceebfb9b5e0ff58680b3;hb=c557187e2bcb86e610382726c5c7c00bf7a0217c;hp=51eb235f245aa7b8ee2f90e1f60d074e54a1c058;hpb=6721e7f09aa95bff6622068332a3f56afad9c87b;p=csit.git diff --git a/tests/vpp/perf/l2/10ge2p1vic1227-eth-l2bdbasemaclrn-ndrpdrdisc.robot b/tests/vpp/perf/l2/10ge2p1vic1227-eth-l2bdbasemaclrn-ndrpdrdisc.robot index 51eb235f24..2f09211ecb 100644 --- a/tests/vpp/perf/l2/10ge2p1vic1227-eth-l2bdbasemaclrn-ndrpdrdisc.robot +++ b/tests/vpp/perf/l2/10ge2p1vic1227-eth-l2bdbasemaclrn-ndrpdrdisc.robot @@ -56,22 +56,21 @@ *** Keywords *** | L2 Bridge Domain NDR Binary Search -| | [Arguments] | ${framesize} | ${min_rate} | ${wt} | ${rxq} -| | # Test Variables required for test teardown +| | [Documentation] +| | ... | [Cfg] DUT runs L2BD switching config with with\ +| | ... | ${phy_cores} phy core. +| | ... | [Ver] Find NDR for ${framesize}B Byte frames using binary search\ +| | ... | start at 10GE linerate, step 50kpps. +| | [Arguments] | ${framesize} | ${phy_cores} | ${min_rate}=${50000} +| | ... | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Set Test Documentation | [Cfg] DUT runs L2BD switching config with ${wt}\ -| | Set Test Documentation | thread, ${wt} phy core, ${rxq}\ | append=True -| | Set Test Documentation | receive queue per NIC port. | append=True -| | Set Test Documentation | [Ver] Find NDR for ${framesize} Byte\ | append=True -| | Set Test Documentation | frames using binary search start at\ | append=True -| | Set Test Documentation | 10GE linerate, step ${threshold}pps. | append=True -| | Add '${wt}' worker threads and '${rxq}' rxqueues in 3-node single-link circular topology -| | Add PCI devices to DUTs in 3-node single link topology +| | Add worker threads and rxqueues to all DUTs | ${phy_cores} +| | Add PCI devices to all DUTs | | Run Keyword If | ${framesize} < ${1522} | Add no multi seg to all DUTs | | Apply startup configuration on all VPP DUTs | | Initialize L2 bridge domain in 3-node circular topology @@ -80,24 +79,21 @@ | | ... | ${min_rate} | ${max_rate} | ${threshold} | L2 Bridge Domain PDR Binary Search -| | [Arguments] | ${framesize} | ${min_rate} | ${wt} | ${rxq} -| | # Test Variables required for test teardown +| | [Documentation] +| | ... | [Cfg] DUT runs L2BD switching config with with\ +| | ... | ${phy_cores} phy core. +| | ... | [Ver] Find PDR for ${framesize}B Byte frames using binary search\ +| | ... | start at 10GE linerate, step 50kpps. +| | [Arguments] | ${framesize} | ${phy_cores} | ${min_rate}=${50000} +| | ... | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} -| | Set Test Documentation | [Cfg] DUT runs L2BD switching config with ${wt}\ -| | Set Test Documentation | thread, ${wt} phy core, ${rxq}\ | append=True -| | Set Test Documentation | receive queue per NIC port. | append=True -| | Set Test Documentation | [Ver] Find PDR for ${framesize} Byte\ | append=True -| | Set Test Documentation | frames using binary search start at\ | append=True -| | Set Test Documentation | 10GE linerate, step ${threshold}pps, | append=True -| | Set Test Documentation | LT=${perf_pdr_loss_acceptance} | append=True -| | Set Test Documentation | ${perf_pdr_loss_acceptance_type}. | append=True -| | Add '${wt}' worker threads and '${rxq}' rxqueues in 3-node single-link circular topology -| | Add PCI devices to DUTs in 3-node single link topology +| | Add worker threads and rxqueues to all DUTs | ${phy_cores} +| | Add PCI devices to all DUTs | | Run Keyword If | ${framesize} < ${1522} | Add no multi seg to all DUTs | | Apply startup configuration on all VPP DUTs | | Initialize L2 bridge domain in 3-node circular topology @@ -108,181 +104,91 @@ *** Test Cases *** | tc01-64B-1t1c-eth-l2bdbasemaclrn-ndrdisc -| | ... | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. -| | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 100kpps. -| | [Tags] | 64B | 1T1C | STHREAD | NDRDISC +| | [Tags] | 64B | 1C | NDRDISC | | [Template] | L2 Bridge Domain NDR Binary Search +| | framesize=${64} | phy_cores=${1} | tc02-64B-1t1c-eth-l2bdbasemaclrn-pdrdisc -| | ... | framesize=${64} | min_rate=${100000} | wt=1 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. -| | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 100kpps, LT=0.5%. -| | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | 64B | 1C | PDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain PDR Binary Search +| | framesize=${64} | phy_cores=${1} | tc03-1518B-1t1c-eth-l2bdbasemaclrn-ndrdisc -| | ... | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. -| | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps. -| | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC +| | [Tags] | 1518B | 1C | NDRDISC | | [Template] | L2 Bridge Domain NDR Binary Search +| | framesize=${1518} | phy_cores=${1} | tc04-1518B-1t1c-eth-l2bdbasemaclrn-pdrdisc -| | ... | framesize=${1518} | min_rate=${10000} | wt=1 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. -| | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps, LT=0.5%. -| | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | 1518B | 1C | PDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain PDR Binary Search +| | framesize=${1518} | phy_cores=${1} | tc05-9000B-1t1c-eth-l2bdbasemaclrn-ndrdisc -| | ... | framesize=${9000} | min_rate=${10000} | wt=1 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. -| | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps. -| | [Tags] | 9000B | 1T1C | STHREAD | NDRDISC +| | [Tags] | 9000B | 1C | NDRDISC | | [Template] | L2 Bridge Domain NDR Binary Search +| | framesize=${9000} | phy_cores=${1} | tc06-9000B-1t1c-eth-l2bdbasemaclrn-pdrdisc -| | ... | framesize=${9000} | min_rate=${10000} | wt=1 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 1 thread, 1 phy core, 1 receive queue per NIC port. -| | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps, LT=0.5%. -| | [Tags] | 9000B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | 9000B | 1C | PDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain PDR Binary Search +| | framesize=${9000} | phy_cores=${1} | tc07-64B-2t2c-eth-l2bdbasemaclrn-ndrdisc -| | ... | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. -| | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 100kpps. -| | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC +| | [Tags] | 64B | 2C | NDRDISC | | [Template] | L2 Bridge Domain NDR Binary Search +| | framesize=${64} | phy_cores=${2} | tc08-64B-2t2c-eth-l2bdbasemaclrn-pdrdisc -| | ... | framesize=${64} | min_rate=${100000} | wt=2 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. -| | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 100kpps, LT=0.5%. -| | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | 64B | 2C | PDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain PDR Binary Search +| | framesize=${64} | phy_cores=${2} | tc09-1518B-2t2c-eth-l2bdbasemaclrn-ndrdisc -| | ... | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. -| | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps. -| | [Tags] | 1518B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | 1518B | 2C | NDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain NDR Binary Search +| | framesize=${1518} | phy_cores=${2} | tc10-1518B-2t2c-eth-l2bdbasemaclrn-pdrdisc -| | ... | framesize=${1518} | min_rate=${10000} | wt=2 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. -| | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps, LT=0.5%. -| | [Tags] | 1518B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | 1518B | 2C | PDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain PDR Binary Search +| | framesize=${1518} | phy_cores=${2} | tc11-9000B-2t2c-eth-l2bdbasemaclrn-ndrdisc -| | ... | framesize=${9000} | min_rate=${10000} | wt=2 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. -| | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps. -| | [Tags] | 9000B | 2T2C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | 9000B | 2C | NDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain NDR Binary Search +| | framesize=${9000} | phy_cores=${2} | tc12-9000B-2t2c-eth-l2bdbasemaclrn-pdrdisc -| | ... | framesize=${9000} | min_rate=${10000} | wt=2 | rxq=1 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 2 threads, 2 phy cores, 1 receive queue per NIC port. -| | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps, LT=0.5%. -| | [Tags] | 9000B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | 9000B | 2C | PDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain PDR Binary Search +| | framesize=${9000} | phy_cores=${2} | tc13-64B-4t4c-eth-l2bdbasemaclrn-ndrdisc -| | ... | framesize=${64} | min_rate=${100000} | wt=4 | rxq=2 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. -| | ... | [Ver] Find NDR for 64 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 100kpps. -| | [Tags] | 64B | 4T4C | MTHREAD | NDRDISC +| | [Tags] | 64B | 4C | NDRDISC | | [Template] | L2 Bridge Domain NDR Binary Search +| | framesize=${64} | phy_cores=${4} | tc14-64B-4t4c-eth-l2bdbasemaclrn-pdrdisc -| | ... | framesize=${64} | min_rate=${100000} | wt=4 | rxq=2 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. -| | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 100kpps, LT=0.5%. -| | [Tags] | 64B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | 64B | 4C | PDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain PDR Binary Search +| | framesize=${64} | phy_cores=${4} | tc15-1518B-4t4c-eth-l2bdbasemaclrn-ndrdisc -| | ... | framesize=${1518} | min_rate=${10000} | wt=4 | rxq=2 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. -| | ... | [Ver] Find NDR for 1518 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps. -| | [Tags] | 1518B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | 1518B | 4C | NDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain NDR Binary Search +| | framesize=${1518} | phy_cores=${4} | tc16-1518B-4t4c-eth-l2bdbasemaclrn-pdrdisc -| | ... | framesize=${1518} | min_rate=${10000} | wt=4 | rxq=2 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. -| | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps, LT=0.5%. -| | [Tags] | 1518B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | 1518B | 4C | PDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain PDR Binary Search +| | framesize=${1518} | phy_cores=${4} | tc17-9000B-4t4c-eth-l2bdbasemaclrn-ndrdisc -| | ... | framesize=${9000} | min_rate=${10000} | wt=4 | rxq=2 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. -| | ... | [Ver] Find NDR for 9000 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps. -| | [Tags] | 9000B | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH +| | [Tags] | 9000B | 4C | NDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain NDR Binary Search +| | framesize=${9000} | phy_cores=${4} | tc18-9000B-4t4c-eth-l2bdbasemaclrn-pdrdisc -| | ... | framesize=${9000} | min_rate=${10000} | wt=4 | rxq=2 -| | [Documentation] -| | ... | [Cfg] DUT runs L2BD switching config with with\ -| | ... | 4 threads, 4 phy cores, 2 receive queues per NIC port. -| | ... | [Ver] Find PDR for 9000 Byte frames using binary search start at 10GE\ -| | ... | linerate, step 10kpps, LT=0.5%. -| | [Tags] | 9000B | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH +| | [Tags] | 9000B | 4C | PDRDISC | SKIP_PATCH | | [Template] | L2 Bridge Domain PDR Binary Search +| | framesize=${9000} | phy_cores=${4}