| ${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
| | ${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]
| | ${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
| | ${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]
| | ${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
| | ${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]
| | ${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
| | ${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]
| | ${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
| | ${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]
| | ${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
| | ${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]
| | ${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
| | ${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]
| | ${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
| | ${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]
| | ${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
| | ${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]
| | ${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