X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=tests%2Fperf%2FLong_Xconnect_Intel-X520-DA2.robot;h=1a3412976354ca79f72df2f0b189baf80ab8b0a8;hp=01f692db9e580674421eaf1a17ea254554aacc5c;hb=9d637e956e74445aa8c80916638d8841889c113f;hpb=70cbaaee0e6210682ce6d278ea645b8bea153b67 diff --git a/tests/perf/Long_Xconnect_Intel-X520-DA2.robot b/tests/perf/Long_Xconnect_Intel-X520-DA2.robot index 01f692db9e..1a34129763 100644 --- a/tests/perf/Long_Xconnect_Intel-X520-DA2.robot +++ b/tests/perf/Long_Xconnect_Intel-X520-DA2.robot @@ -21,8 +21,13 @@ | ... | L2 | Intel-X520-DA2 | Suite Teardown | 3-node Performance Suite Teardown | Test Setup | Setup all DUTs before test -| Test Teardown | Run Keywords | Remove startup configuration of VPP from all DUTs -| ... | AND | Show vpp trace dump on all DUTs +| Test Teardown | Run Keywords +| ... | Run Keyword If Test Failed +| ... | Traffic should pass with no loss | 10 +| ... | ${min_rate}pps | ${framesize} | 3-node-xconnect +| ... | fail_on_loss=${False} +| ... | AND | Remove startup configuration of VPP from all DUTs +| ... | AND | Show vpp trace dump on all DUTs | Documentation | *RFC2544: Pkt throughput L2XC test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology @@ -44,21 +49,25 @@ | ... | interfaces. | ... | *[Ref] Applicable standard specifications:* RFC2544. +*** Variables *** +#X520-DA2 bandwidth limit +| ${s_limit} | ${10000000000} + *** Test Cases *** | TC01: 64B NDR binary search - DUT L2XC - 1thread 1core 1rxq | | [Documentation] | | ... | [Cfg] DUT runs L2XC switching config 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] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${100000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -72,15 +81,15 @@ | | ... | [Cfg] DUT runs L2XC switching config 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] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${100000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -96,15 +105,15 @@ | | ... | [Cfg] DUT runs L2XC switching config 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] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -118,15 +127,15 @@ | | ... | [Cfg] DUT runs L2XC switching config 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] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -142,15 +151,15 @@ | | ... | [Cfg] DUT runs L2XC switching config 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 5kpps. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 9000 -| | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR +| | ${framesize}= | Set Variable | ${9000} +| | ${min_rate}= | Set Variable | ${5000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} @@ -163,15 +172,15 @@ | | ... | [Cfg] DUT runs L2XC switching config 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 5kpps, LT=0.5%. -| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR -| | ${framesize}= | Set Variable | 9000 -| | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH +| | ${framesize}= | Set Variable | ${9000} +| | ${min_rate}= | Set Variable | ${5000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} @@ -186,15 +195,15 @@ | | ... | [Cfg] DUT runs L2XC switching config 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] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${100000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -208,15 +217,15 @@ | | ... | [Cfg] DUT runs L2XC switching config 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] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${100000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -233,14 +242,14 @@ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames | | ... | using binary search start at 10GE linerate, step 10kpps. | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -255,14 +264,14 @@ | | ... | 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] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -279,14 +288,14 @@ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 5kpps. | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 9000 -| | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${framesize}= | Set Variable | ${9000} +| | ${min_rate}= | Set Variable | ${5000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} @@ -300,14 +309,14 @@ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%. | | [Tags] | 2_THREAD_NOHTT_RXQUEUES_1 | MULTI_THREAD | PDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 9000 -| | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${framesize}= | Set Variable | ${9000} +| | ${min_rate}= | Set Variable | ${5000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '2' worker threads and rxqueues '1' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} @@ -322,15 +331,15 @@ | | ... | [Cfg] DUT runs L2XC switching config 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] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${100000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -344,15 +353,15 @@ | | ... | [Cfg] DUT runs L2XC switching config 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] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR -| | ${framesize}= | Set Variable | 64 -| | ${min_rate}= | Set Variable | 100000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_64B} +| | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH +| | ${framesize}= | Set Variable | ${64} +| | ${min_rate}= | Set Variable | ${100000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -369,14 +378,14 @@ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames | | ... | using binary search start at 10GE linerate, step 10kpps. | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -391,14 +400,14 @@ | | ... | 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] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 1518 -| | ${min_rate}= | Set Variable | 10000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_1518B} +| | ${framesize}= | Set Variable | ${1518} +| | ${min_rate}= | Set Variable | ${10000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology @@ -415,14 +424,14 @@ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 5kpps. | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | NDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 9000 -| | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${framesize}= | Set Variable | ${9000} +| | ${min_rate}= | Set Variable | ${5000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs -| | And Add all PCI devices to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} @@ -436,14 +445,62 @@ | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 5kpps, LT=0.5%. | | [Tags] | 4_THREAD_NOHTT_RXQUEUES_2 | MULTI_THREAD | PDR | SKIP_PATCH -| | ${framesize}= | Set Variable | 9000 -| | ${min_rate}= | Set Variable | 5000 -| | ${max_rate}= | Set Variable | ${10Ge_linerate_pps_9000B} +| | ${framesize}= | Set Variable | ${9000} +| | ${min_rate}= | Set Variable | ${5000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | Given Add '4' worker threads and rxqueues '2' without HTT to all DUTs +| | And Add PCI devices to DUTs from 3-node single link topology +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} +| | ... | ${glob_loss_acceptance} +| | ... | ${glob_loss_acceptance_type} + +| TC19: IMIX_v4_1 NDR binary search - DUT L2XC - 1thread 1core 1rxq +| | [Documentation] +| | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \ +| | ... | 1 receive queue per NIC port. [Ver] Find NDR for IMIX_v4_1 frame size +| | ... | using binary search start at 10GE linerate, step 100kpps. +| | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | NDR +| | ${framesize}= | Set Variable | IMIX_v4_1 +| | ${min_rate}= | Set Variable | ${100000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs | | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs +| | And Apply startup configuration on all VPP DUTs +| | And L2 xconnect initialized in a 3-node circular topology +| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} +| | ... | ${binary_max} | 3-node-xconnect +| | ... | ${min_rate} | ${max_rate} +| | ... | ${threshold} + +| TC20: IMIX_v4_1 PDR binary search - DUT L2XC - 1thread 1core 1rxq +| | [Documentation] +| | ... | [Cfg] DUT runs L2XC switching config with 1 thread, 1 phy core, \ +| | ... | 1 receive queue per NIC port. [Ver] Find PDR for IMIX_v4_1 frame size +| | ... | using binary search start at 10GE linerate, step 100kpps, LT=0.5%. +| | ... | IMIX_v4_1 = (28x64B;16x570B;4x1518B) +| | [Tags] | 1_THREAD_NOHTT_RXQUEUES_1 | SINGLE_THREAD | PDR | SKIP_PATCH +| | ${framesize}= | Set Variable | IMIX_v4_1 +| | ${min_rate}= | Set Variable | ${100000} +| | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} +| | ${binary_min}= | Set Variable | ${min_rate} +| | ${binary_max}= | Set Variable | ${max_rate} +| | ${threshold}= | Set Variable | ${min_rate} +| | Given Add '1' worker threads and rxqueues '1' without HTT to all DUTs +| | And Add all PCI devices to all DUTs +| | And Add No Multi Seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And L2 xconnect initialized in a 3-node circular topology | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}