From b92b5be7d4bbbf523812f774bb2e539ab2081cf6 Mon Sep 17 00:00:00 2001 From: Tibor Frank Date: Tue, 4 Apr 2017 10:06:00 +0200 Subject: CSIT-524: Traffic generator using python profiles Profile name structure: [trex|ixia]-[sl|sf]-[topo]-[packet structure]-[scale] - Traffic generator - T-rex (trex) or Ixia (ixia) - Stateless (sl) or statefull (sf) - Topology - 2-node topology (2n) or 3-node topology (3n) - Packet structure - eth | ip4/6 | udp - Scale - e.g. ip4dst1, ip6dst10000, 4000u15p Traffic types changed to stream profiles: - From: 2-node-bridge To: trex-sl-2n-ethip4-ip4src253 - From: 3-node-bridge To: trex-sl-3n-ethip4-ip4src254 - From: 3-node-IPv4-dst-1000000 To: trex-sl-3n-ethip4-ip4dst1000000 - From: 3-node-IPv4-dst-100000 To: trex-sl-3n-ethip4-ip4dst100000 - From: 3-node-IPv4-dst-10000 To: trex-sl-3n-ethip4-ip4dst10000 - From: 3-node-IPv4-dst-1000 To: trex-sl-3n-ethip4-ip4dst1000 - From: 3-node-IPv4-dst-100 To: trex-sl-3n-ethip4-ip4dst100 - From: 3-node-IPv4-dst-1 To: trex-sl-3n-ethip4-ip4dst1 - From: 3-node-IPv4 To: trex-sl-3n-ethip4-ip4src253 - From: 3-node-IPv6-dst-1000000 To: trex-sl-3n-ethip6-ip6dst1000000 - From: 3-node-IPv6-dst-100000 To: trex-sl-3n-ethip6-ip6dst100000 - From: 3-node-IPv6-dst-10000 To: trex-sl-3n-ethip6-ip6dst10000 - From: 3-node-IPv6 To: trex-sl-3n-ethip6-ip6src253 - From: 3-node-xconnect To: trex-sl-3n-ethip4-ip4src254 - From: 3-node-IPv4-SNAT-1000u-15p To: trex-sl-3n-ethip4udp-1000u15p - From: 3-node-IPv4-SNAT-100u-15p To: trex-sl-3n-ethip4udp-100u15p - From: 3-node-IPv4-SNAT-10u-15p To: trex-sl-3n-ethip4udp-10u15p - From: 3-node-IPv4-SNAT-1u-15p To: trex-sl-3n-ethip4udp-1u15p - From: 3-node-IPv4-SNAT-1u-1p To: trex-sl-3n-ethip4udp-1u1p - From: 3-node-IPv4-SNAT-2000u-15p To: trex-sl-3n-ethip4udp-2000u15p - From: 3-node-IPv4-SNAT-4000u-15p To: trex-sl-3n-ethip4udp-4000u15p Change-Id: If6a3cf204c93ff9f2cdccc5fd395e26b05483b58 Signed-off-by: Tibor Frank --- ...ge2p1x520-eth-l2xcbase-testpmd-ndrpdrdisc.robot | 74 +++--- ...ge2p1x520-ethip4-ip4base-l3fwd-ndrpdrdisc.robot | 283 ++++++++++++--------- ...ge2p1x710-eth-l2xcbase-testpmd-ndrpdrdisc.robot | 74 +++--- ...e2p1xl710-eth-l2xcbase-testpmd-ndrpdrdisc.robot | 74 +++--- 4 files changed, 270 insertions(+), 235 deletions(-) (limited to 'dpdk-tests') diff --git a/dpdk-tests/perf/10ge2p1x520-eth-l2xcbase-testpmd-ndrpdrdisc.robot b/dpdk-tests/perf/10ge2p1x520-eth-l2xcbase-testpmd-ndrpdrdisc.robot index 7be3f972a4..5bdf58cb61 100644 --- a/dpdk-tests/perf/10ge2p1x520-eth-l2xcbase-testpmd-ndrpdrdisc.robot +++ b/dpdk-tests/perf/10ge2p1x520-eth-l2xcbase-testpmd-ndrpdrdisc.robot @@ -48,6 +48,8 @@ *** Variables *** # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2xcbase-testpmd-ndrdisc @@ -64,8 +66,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc02-64B-1t1c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -81,8 +83,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc03-1518B-1t1c-eth-l2xcbase-testpmd-ndrdisc @@ -99,8 +101,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc04-1518B-1t1c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -116,8 +118,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc05-9000B-1t1c-eth-l2xcbase-testpmd-ndrdisc @@ -134,8 +136,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc06-9000B-1t1c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -151,8 +153,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc07-64B-2t2c-eth-l2xcbase-testpmd-ndrdisc @@ -169,8 +171,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc08-64B-2t2c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -187,8 +189,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc09-1518B-2t2c-eth-l2xcbase-testpmd-ndrdisc @@ -205,8 +207,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc10-1518B-2t2c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -223,8 +225,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc11-9000B-2t2c-eth-l2xcbase-testpmd-ndrdisc @@ -241,8 +243,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc12-9000B-2t2c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -259,8 +261,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc13-64B-4t4c-eth-l2xcbase-testpmd-ndrdisc @@ -277,8 +279,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc14-64B-4t4c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -295,8 +297,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc15-1518B-4t4c-eth-l2xcbase-testpmd-ndrdisc @@ -313,8 +315,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc16-1518B-4t4c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -331,8 +333,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc17-9000B-4t4c-eth-l2xcbase-testpmd-ndrdisc @@ -349,8 +351,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc18-9000B-4t4c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -367,6 +369,6 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} diff --git a/dpdk-tests/perf/10ge2p1x520-ethip4-ip4base-l3fwd-ndrpdrdisc.robot b/dpdk-tests/perf/10ge2p1x520-ethip4-ip4base-l3fwd-ndrpdrdisc.robot index 3d1167bf38..cbfd5a81b6 100644 --- a/dpdk-tests/perf/10ge2p1x520-ethip4-ip4base-l3fwd-ndrpdrdisc.robot +++ b/dpdk-tests/perf/10ge2p1x520-ethip4-ip4base-l3fwd-ndrpdrdisc.robot @@ -45,16 +45,21 @@ | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** -#X520-DA2 bandwidth limit +# X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4-ip4dst253 *** Test Cases *** | tc01-64B-1t1c-ethip4-ip4base-l3fwd-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing 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. +| | ... | [Cfg] DUT runs L3 IPv4 routing 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] | 1T1C | STHREAD | NDRDISC +| | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -63,16 +68,18 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | tc02-64B-1t1c-ethip4-ip4base-l3fwd-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing 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%. +| | ... | [Cfg] DUT runs L3 IPv4 routing 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] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -81,18 +88,19 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} -| | ... | ${perf_pdr_loss_acceptance} -| | ... | ${perf_pdr_loss_acceptance_type} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc03-1518B-1t1c-ethip4-ip4base-l3fwd-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing 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. +| | ... | [Cfg] DUT runs L3 IPv4 routing 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] | 1T1C | STHREAD | NDRDISC +| | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -101,16 +109,18 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | tc04-1518B-1t1c-ethip4-ip4base-l3fwd-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing 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%. +| | ... | [Cfg] DUT runs L3 IPv4 routing 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] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -119,18 +129,19 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} -| | ... | ${perf_pdr_loss_acceptance} -| | ... | ${perf_pdr_loss_acceptance_type} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc05-9000B-1t1c-ethip4-ip4base-l3fwd-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing 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. +| | ... | [Cfg] DUT runs L3 IPv4 routing 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] | 1T1C | STHREAD | NDRDISC +| | ... | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -139,16 +150,18 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | tc06-9000B-1t1c-ethip4-ip4base-l3fwd-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing 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%. +| | ... | [Cfg] DUT runs L3 IPv4 routing 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] | 1T1C | STHREAD | PDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -157,18 +170,19 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} -| | ... | ${perf_pdr_loss_acceptance} -| | ... | ${perf_pdr_loss_acceptance_type} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc07-64B-2t2c-ethip4-ip4base-l3fwd-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing 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. +| | ... | [Cfg] DUT runs L3 IPv4 routing 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] | 2T2C | MTHREAD | NDRDISC +| | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -177,16 +191,18 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | tc08-64B-2t2c-ethip4-ip4base-l3fwd-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing 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%. +| | ... | [Cfg] DUT runs L3 IPv4 routing 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] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -195,18 +211,19 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} -| | ... | ${perf_pdr_loss_acceptance} -| | ... | ${perf_pdr_loss_acceptance_type} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc09-1518B-2t2c-ethip4-ip4base-l3fwd-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing config 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. +| | ... | [Cfg] DUT runs L3 IPv4 routing config 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] | 2T2C | MTHREAD | NDRDISC +| | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -215,16 +232,18 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | tc10-1518B-2t2c-ethip4-ip4base-l3fwd-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing config 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%. +| | ... | [Cfg] DUT runs L3 IPv4 routing config 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] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -233,18 +252,19 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} -| | ... | ${perf_pdr_loss_acceptance} -| | ... | ${perf_pdr_loss_acceptance_type} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc11-9000B-2t2c-ethip4-ip4base-l3fwd-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing config 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 5kpps. +| | ... | [Cfg] DUT runs L3 IPv4 routing config 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 5kpps. +| | ... | | [Tags] | 2T2C | MTHREAD | NDRDISC +| | ... | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -253,16 +273,18 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | tc12-9000B-2t2c-ethip4-ip4base-l3fwd-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing config 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 5kpps, LT=0.5%. +| | ... | [Cfg] DUT runs L3 IPv4 routing config 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 5kpps, LT=0.5%. +| | ... | | [Tags] | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -271,18 +293,19 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} -| | ... | ${perf_pdr_loss_acceptance} -| | ... | ${perf_pdr_loss_acceptance_type} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc13-64B-4t4c-ethip4-ip4base-l3fwd-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing 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. +| | ... | [Cfg] DUT runs L3 IPv4 routing 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] | 4T4C | MTHREAD | NDRDISC +| | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -291,16 +314,18 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | tc14-64B-4t4c-ethip4-ip4base-l3fwd-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing 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%. +| | ... | [Cfg] DUT runs L3 IPv4 routing 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] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${100000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -309,18 +334,19 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} -| | ... | ${perf_pdr_loss_acceptance} -| | ... | ${perf_pdr_loss_acceptance_type} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc15-1518B-4t4c-ethip4-ip4base-l3fwd-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing config 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. +| | ... | [Cfg] DUT runs L3 IPv4 routing config 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] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -329,16 +355,18 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | tc16-1518B-4t4c-ethip4-ip4base-l3fwd-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing config 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%. +| | ... | [Cfg] DUT runs L3 IPv4 routing config 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] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -347,18 +375,19 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} -| | ... | ${perf_pdr_loss_acceptance} -| | ... | ${perf_pdr_loss_acceptance_type} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} | tc17-9000B-4t4c-ethip4-ip4base-l3fwd-ndrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing config 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 5kpps. +| | ... | [Cfg] DUT runs L3 IPv4 routing config 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 5kpps. +| | ... | | [Tags] | 4T4C | MTHREAD | NDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -367,16 +396,18 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | tc18-9000B-4t4c-ethip4-ip4base-l3fwd-pdrdisc | | [Documentation] -| | ... | [Cfg] DUT runs L3 IPv4 routing config 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 5kpps, LT=0.5%. +| | ... | [Cfg] DUT runs L3 IPv4 routing config 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 5kpps, LT=0.5%. +| | ... | | [Tags] | 4T4C | MTHREAD | PDRDISC | SKIP_PATCH +| | ... | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} @@ -385,8 +416,6 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L3FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-IPv4-l3fwd -| | ... | ${min_rate} | ${max_rate} -| | ... | ${threshold} -| | ... | ${perf_pdr_loss_acceptance} -| | ... | ${perf_pdr_loss_acceptance_type} +| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate} +| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${perf_pdr_loss_acceptance_type} diff --git a/dpdk-tests/perf/10ge2p1x710-eth-l2xcbase-testpmd-ndrpdrdisc.robot b/dpdk-tests/perf/10ge2p1x710-eth-l2xcbase-testpmd-ndrpdrdisc.robot index b7db75c19f..861f75aa79 100644 --- a/dpdk-tests/perf/10ge2p1x710-eth-l2xcbase-testpmd-ndrpdrdisc.robot +++ b/dpdk-tests/perf/10ge2p1x710-eth-l2xcbase-testpmd-ndrpdrdisc.robot @@ -48,6 +48,8 @@ *** Variables *** # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2xcbase-testpmd-ndrdisc @@ -67,8 +69,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc02-64B-1t1c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -87,8 +89,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc03-1518B-1t1c-eth-l2xcbase-testpmd-ndrdisc @@ -108,8 +110,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc04-1518B-1t1c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -128,8 +130,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc05-9000B-1t1c-eth-l2xcbase-testpmd-ndrdisc @@ -149,8 +151,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc06-9000B-1t1c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -169,8 +171,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc07-64B-2t2c-eth-l2xcbase-testpmd-ndrdisc @@ -190,8 +192,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc08-64B-2t2c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -210,8 +212,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc09-1518B-2t2c-eth-l2xcbase-testpmd-ndrdisc @@ -231,8 +233,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc10-1518B-2t2c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -251,8 +253,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc11-9000B-2t2c-eth-l2xcbase-testpmd-ndrdisc @@ -272,8 +274,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc12-9000B-2t2c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -292,8 +294,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc13-64B-4t4c-eth-l2xcbase-testpmd-ndrdisc @@ -313,8 +315,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc14-64B-4t4c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -333,8 +335,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc15-1518B-4t4c-eth-l2xcbase-testpmd-ndrdisc @@ -354,8 +356,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc16-1518B-4t4c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -374,8 +376,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc17-9000B-4t4c-eth-l2xcbase-testpmd-ndrdisc @@ -395,8 +397,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc18-9000B-4t4c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -415,6 +417,6 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} \ No newline at end of file diff --git a/dpdk-tests/perf/40ge2p1xl710-eth-l2xcbase-testpmd-ndrpdrdisc.robot b/dpdk-tests/perf/40ge2p1xl710-eth-l2xcbase-testpmd-ndrpdrdisc.robot index d77018f068..b07e4bb59b 100644 --- a/dpdk-tests/perf/40ge2p1xl710-eth-l2xcbase-testpmd-ndrpdrdisc.robot +++ b/dpdk-tests/perf/40ge2p1xl710-eth-l2xcbase-testpmd-ndrpdrdisc.robot @@ -50,6 +50,8 @@ | ${s_24.5G} | ${24500000000} # XL710-DA2 Mpps limit 37.5Mpps/2=18.75Mpps | ${s_18.75Mpps} | ${18750000} +# Traffic profile: +| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254 *** Test Cases *** | tc01-64B-1t1c-eth-l2xcbase-testpmd-ndrdisc @@ -69,8 +71,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc02-64B-1t1c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -89,8 +91,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc03-1518B-1t1c-eth-l2xcbase-testpmd-ndrdisc @@ -110,8 +112,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc04-1518B-1t1c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -130,8 +132,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc05-9000B-1t1c-eth-l2xcbase-testpmd-ndrdisc @@ -151,8 +153,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc06-9000B-1t1c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -171,8 +173,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '1' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc07-64B-2t2c-eth-l2xcbase-testpmd-ndrdisc @@ -192,8 +194,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc08-64B-2t2c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -212,8 +214,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc09-1518B-2t2c-eth-l2xcbase-testpmd-ndrdisc @@ -233,8 +235,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc10-1518B-2t2c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -253,8 +255,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc11-9000B-2t2c-eth-l2xcbase-testpmd-ndrdisc @@ -274,8 +276,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc12-9000B-2t2c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -294,8 +296,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '2' worker threads and rxqueues '1' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc13-64B-4t4c-eth-l2xcbase-testpmd-ndrdisc @@ -315,8 +317,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc14-64B-4t4c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -335,8 +337,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc15-1518B-4t4c-eth-l2xcbase-testpmd-ndrdisc @@ -356,8 +358,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc16-1518B-4t4c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -376,8 +378,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'no' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} | tc17-9000B-4t4c-eth-l2xcbase-testpmd-ndrdisc @@ -397,8 +399,8 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes' | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | tc18-9000B-4t4c-eth-l2xcbase-testpmd-pdrdisc | | [Documentation] @@ -417,6 +419,6 @@ | | ${threshold}= | Set Variable | ${min_rate} | | Given Start L2FWD '4' worker threads and rxqueues '2' with jumbo frames 'yes' | | Then Find PDR using binary search and pps | ${framesize} | ${binary_min} -| | ... | ${binary_max} | 3-node-xconnect | ${min_rate} | ${max_rate} -| | ... | ${threshold} | ${perf_pdr_loss_acceptance} +| | ... | ${binary_max} | ${traffic_profile} +| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance} | | ... | ${perf_pdr_loss_acceptance_type} \ No newline at end of file -- cgit 1.2.3-korg