| Library | Collections
*** Keywords ***
-| Start L2FWD '${m}' worker threads and '${n}' rxqueues with jumbo frames '${b}'
-| | [Documentation] | Start the l2fwd with M worker threads without SMT
-| | ... | and rxqueues N and B (yes or no) jumbo frames in all DUTs.
-| | ...
-| | ${m_int}= | Convert To Integer | ${m}
-| | ${cpu_cnt}= | Evaluate | ${m_int}+1
-| | ${nb_cores}= | Convert to String | ${m}
-| | ${rxqueues}= | Convert to String | ${n}
-| | ${jumbo_frames}= | Convert to String | ${b}
-| | ${dut1_numa}= | Get interfaces numa node | ${dut1}
-| | ... | ${dut1_if1} | ${dut1_if2}
-| | ${dut2_numa}= | Get interfaces numa node | ${dut2}
-| | ... | ${dut2_if1} | ${dut2_if2}
-| | ${dut1_cpus}= | Cpu Range Per Node Str | ${dut1} | ${dut1_numa}
-| | ... | skip_cnt=${1} | cpu_cnt=${cpu_cnt}
-| | ${dut2_cpus}= | Cpu Range Per Node Str | ${dut2} | ${dut2_numa}
-| | ... | skip_cnt=${1} | cpu_cnt=${cpu_cnt}
-| | Start the l2fwd test | ${dut1} | ${dut1_cpus} | ${nb_cores} | ${rxqueues}
-| | ... | ${jumbo_frames}
-| | Start the l2fwd test | ${dut2} | ${dut2_cpus} | ${nb_cores} | ${rxqueues}
-| | ... | ${jumbo_frames}
-| Start L2FWD '${m}' worker threads using SMT and '${n}' rxqueues with jumbo frames '${b}'
-| | [Documentation] | Start the l2fwd with M worker threads with SMT
-| | ... | and rxqueues N and B (yes or no) jumbo frames in all DUTs.
+| Start L2FWD on all DUTs
+| | [Documentation] | Start the l2fwd with M worker threads and rxqueues N and
+| | ... | jumbo support frames on/off on all DUTs.
| | ...
-| | ${m_int}= | Convert To Integer | ${m}
-| | ${cpu_cnt}= | Evaluate | ${m_int}+1
-| | ${nb_cores_int}= | Evaluate | ${m_int}*2
-| | ${nb_cores}= | Convert to String | ${nb_cores_int}
-| | ${rxqueues}= | Convert to String | ${n}
-| | ${jumbo_frames}= | Convert to String | ${b}
-| | ${dut1_numa}= | Get interfaces numa node | ${dut1}
-| | ... | ${dut1_if1} | ${dut1_if2}
-| | ${dut2_numa}= | Get interfaces numa node | ${dut2}
-| | ... | ${dut2_if1} | ${dut2_if2}
-| | ${dut1_cpus}= | Cpu Range Per Node Str | ${dut1} | ${dut1_numa}
-| | ... | skip_cnt=${1} | cpu_cnt=${cpu_cnt} | smt_used=${True}
-| | ${dut2_cpus}= | Cpu Range Per Node Str | ${dut2} | ${dut2_numa}
-| | ... | skip_cnt=${1} | cpu_cnt=${cpu_cnt} | smt_used=${True}
-| | Start the l2fwd test | ${dut1} | ${dut1_cpus} | ${nb_cores} | ${rxqueues}
-| | ... | ${jumbo_frames}
-| | Start the l2fwd test | ${dut2} | ${dut2_cpus} | ${nb_cores} | ${rxqueues}
-| | ... | ${jumbo_frames}
-
-| Start L3FWD '${m}' worker threads and '${n}' rxqueues with jumbo frames '${b}'
-| | [Documentation] | Start the l3fwd with M worker threads without SMT
-| | ... | and rxqueues N and B(yes or no) jumbo frames in all DUTs.
-| | ${cpu_cnt}= | Convert To Integer | ${m}
-| | ${nb_cores}= | Convert to String | ${m}
-| | ${rxqueues}= | Convert to String | ${n}
-| | ${jumbo_frames}= | Convert to String | ${b}
-| | ${dut1_numa}= | Get interfaces numa node | ${dut1}
-| | ... | ${dut1_if1} | ${dut1_if2}
-| | ${dut2_numa}= | Get interfaces numa node | ${dut2}
-| | ... | ${dut2_if1} | ${dut2_if2}
-| | ${dut1_cpus}= | Cpu List Per Node Str | ${dut1} | ${dut1_numa}
-| | ... | cpu_cnt=${cpu_cnt}
-| | ${dut2_cpus}= | Cpu List Per Node Str | ${dut2} | ${dut2_numa}
-| | ... | cpu_cnt=${cpu_cnt}
-| | Start the l3fwd test | ${nodes} | ${dut1} | ${dut1_if1} | ${dut1_if2}
-| | ... | ${nb_cores} | ${dut1_cpus} | ${rxqueues} | ${jumbo_frames}
-| | Start the l3fwd test | ${nodes} | ${dut2} | ${dut2_if1} | ${dut2_if2}
-| | ... | ${nb_cores} | ${dut2_cpus} | ${rxqueues} | ${jumbo_frames}
+| | [Arguments] | ${cpu_cnt} | ${rx_queues} | ${jumbo_frames}
+| | ...
+| | ${cpu_count_int} | Convert to Integer | ${cpu_cnt}
+| | ${thr_count_int} | Convert to Integer | ${cpu_cnt}
+| | ${dp_cores}= | Evaluate | ${cpu_count_int}+1
+| | ${nb_cores}= | Set Variable | ${cpu_count_int}
+| | ${duts}= | Get Matches | ${nodes} | DUT*
+| | :FOR | ${dut} | IN | @{duts}
+| | | ${numa}= | Get interfaces numa node | ${nodes['${dut}']}
+| | | ... | ${${dut}_if1} | ${${dut}_if2}
+| | | ${smt_used}= | Is SMT enabled | ${nodes['${dut}']['cpuinfo']}
+| | | ${cpus}= | Cpu Range Per Node Str | ${nodes['${dut}']} | ${numa}
+| | | ... | skip_cnt=${1} | cpu_cnt=${dp_cores} | smt_used=${smt_used}
+| | | Start the l2fwd test | ${nodes['${dut}']} | ${cpus} | ${nb_cores}
+| | | ... | ${rxqueues} | ${jumbo_frames}
+| | | ${thr_count_int}= | Run keyword if | ${smt_used} |
+| | | ... | Evaluate | int(${cpu_count_int}*2) | ELSE | Set variable
+| | | ... | ${thr_count_int}
+| | | Run keyword if | ${thr_count_int} > 1
+| | | ... | Set Tags | MTHREAD | ELSE | Set Tags | STHREAD
+| | | Set Tags | ${thr_count_int}T${cpu_count_int}C
-| Start L3FWD '${m}' worker threads using SMT and '${n}' rxqueues with jumbo frames '${b}'
-| | [Documentation] | Start the l3fwd with M worker threads with SMT
-| | ... | and rxqueues N and B(yes or no) jumbo frames in all DUTs.
-| | ${cpu_cnt}= | Convert To Integer | ${m}
-| | ${nb_cores_int}= | Evaluate | ${cpu_cnt}*2
-| | ${nb_cores}= | Convert to String | ${nb_cores_int}
-| | ${rxqueues}= | Convert to String | ${n}
-| | ${jumbo_frames}= | Convert to String | ${b}
-| | ${dut1_numa}= | Get interfaces numa node | ${dut1}
-| | ... | ${dut1_if1} | ${dut1_if2}
-| | ${dut2_numa}= | Get interfaces numa node | ${dut2}
-| | ... | ${dut2_if1} | ${dut2_if2}
-| | ${dut1_cpus}= | Cpu List Per Node Str | ${dut1} | ${dut1_numa}
-| | ... | cpu_cnt=${cpu_cnt} | smt_used=${True}
-| | ${dut2_cpus}= | Cpu List Per Node Str | ${dut2} | ${dut2_numa}
-| | ... | cpu_cnt=${cpu_cnt} | smt_used=${True}
-| | Start the l3fwd test | ${nodes} | ${dut1} | ${dut1_if1} | ${dut1_if2}
-| | ... | ${nb_cores} | ${dut1_cpus} | ${rxqueues} | ${jumbo_frames}
-| | Start the l3fwd test | ${nodes} | ${dut2} | ${dut2_if1} | ${dut2_if2}
-| | ... | ${nb_cores} | ${dut2_cpus} | ${rxqueues} | ${jumbo_frames}
+| Start L3FWD on all DUTs
+| | [Documentation] | Start the l3fwd with M worker threads and rxqueues N and
+| | ... | jumbo support frames on/off on all DUTs.
+| | ...
+| | [Arguments] | ${cpu_cnt} | ${rx_queues} | ${jumbo_frames}
+| | ...
+| | ${cpu_count_int} | Convert to Integer | ${cpu_cnt}
+| | ${thr_count_int} | Convert to Integer | ${cpu_cnt}
+| | ${dp_cores}= | Evaluate | ${cpu_count_int}+1
+| | ${nb_cores}= | Set Variable | ${cpu_count_int}
+| | ${duts}= | Get Matches | ${nodes} | DUT*
+| | :FOR | ${dut} | IN | @{duts}
+| | | ${numa}= | Get interfaces numa node | ${nodes['${dut}']}
+| | | ... | ${${dut}_if1} | ${${dut}_if2}
+| | | ${smt_used}= | Is SMT enabled | ${nodes['${dut}']['cpuinfo']}
+| | | ${cpus}= | Cpu List Per Node Str | ${nodes['${dut}']} | ${numa}
+| | | ... | skip_cnt=${1} | cpu_cnt=${nb_cores} | smt_used=${smt_used}
+| | | Start the l3fwd test | ${nodes} | ${nodes['${dut}']} | ${${dut}_if1}
+| | | ... | ${${dut}_if2} | ${nb_cores} | ${cpus} | ${rxqueues}
+| | | ... | ${jumbo_frames}
+| | | ${thr_count_int}= | Run keyword if | ${smt_used} |
+| | | ... | Evaluate | int(${cpu_count_int}*2) | ELSE | Set variable
+| | | ... | ${thr_count_int}
+| | | Run keyword if | ${thr_count_int} > 1
+| | | ... | Set Tags | MTHREAD | ELSE | Set Tags | STHREAD
+| | | Set Tags | ${thr_count_int}T${cpu_count_int}C
\ No newline at end of file
*** Keywords ***
| Check RR for eth-l2xcbase-testpmd
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with ${wt} thread(s), ${wt}\
-| | ... | phy core(s), ${rxq} receive queue(s) per NIC port.
+| | ... | [Cfg] DUT runs L2 frame forwarding config with ${wt} phy core(s),\
+| | ... | ${rxq} receive queue(s) per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\
| | ... | trial throughput test.
| | ...
| | ${jumbo_frames}= | Set Variable If
| | ... | ${get_framesize} < ${1522} | no | yes
| | ...
-| | Given Start L2FWD '${wt}' worker threads and '${rxq}' rxqueues with jumbo frames '${jumbo_frames}'
+| | Given Start L2FWD on all DUTs | ${wt} | ${rxq} | ${jumbo_frames}
| | Then Traffic should pass with maximum rate | ${perf_trial_duration}
| | ... | ${max_rate}pps | ${framesize} | ${traffic_profile}
| tc05-64B-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 64B frames using single\
| | ... | trial throughput test.
| tc06-1518B-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
| | ... | trial throughput test.
| tc07-9000B-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
| | ... | trial throughput test.
| tc08-IMIX-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single\
| | ... | trial throughput test.
| tc09-64B-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 64B frames using single\
| | ... | trial throughput test.
| tc10-1518B-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
| | ... | trial throughput test.
| tc11-9000B-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
| | ... | trial throughput test.
| tc12-IMIX-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single\
| | ... | trial throughput test.
-# Copyright (c) 2017 Cisco and/or its affiliates.
+# Copyright (c) 2018 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 1 | 1 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 1 | 1 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 2 | 1 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 2 | 1 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 4 | 2 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 4 | 2 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
*** Keywords ***
| Check RR for ethip4-ip4base-l3fwd
| | [Documentation]
-| | ... | [Cfg] DUT runs L3 IPv4 routing config with ${wt} thread(s), ${wt}\
-| | ... | phy core(s), ${rxq} receive queue(s) per NIC port.
+| | ... | [Cfg] DUT runs L3 IPv4 routing config with ${wt} phy core(s),\
+| | ... | ${rxq} receive queue(s) per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\
| | ... | trial throughput test.
| | ...
| | ${jumbo_frames}= | Set Variable If
| | ... | ${get_framesize} < ${1522} | no | yes
| | ...
-| | Given Start L3FWD '${wt}' worker threads and '${rxq}' rxqueues with jumbo frames '${jumbo_frames}'
+| | Given Start L3FWD on all DUTs | ${wt} | ${rxq} | ${jumbo_frames}
| | Then Traffic should pass with maximum rate | ${perf_trial_duration}
| | ... | ${max_rate}pps | ${framesize} | ${traffic_profile}
| tc05-64B-2t2c-ethip4-ip4base-l3fwd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L3 IPv4 routing config with 2 threads,\
+| | ... | [Cfg] DUT runs L3 IPv4 routing config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 64B frames using single\
| | ... | trial throughput test.
| tc06-1518B-2t2c-ethip4-ip4base-l3fwd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L3 IPv4 routing config with 2 threads,\
+| | ... | [Cfg] DUT runs L3 IPv4 routing config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
| | ... | trial throughput test.
| tc07-9000B-2t2c-ethip4-ip4base-l3fwd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L3 IPv4 routing config with 2 threads,\
+| | ... | [Cfg] DUT runs L3 IPv4 routing config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
| | ... | trial throughput test.
| tc08-IMIX-2t2c-ethip4-ip4base-l3fwd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L3 IPv4 routing config with 2 threads,\
+| | ... | [Cfg] DUT runs L3 IPv4 routing config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single\
| | ... | trial throughput test.
| tc09-64B-4t4c-ethip4-ip4base-l3fwd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L3 IPv4 routing config with 4 threads,\
+| | ... | [Cfg] DUT runs L3 IPv4 routing config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 64B frames using single\
| | ... | trial throughput test.
| tc10-1518B-4t4c-ethip4-ip4base-l3fwd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L3 IPv4 routing config with 4 threads,\
+| | ... | [Cfg] DUT runs L3 IPv4 routing config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
| | ... | trial throughput test.
| tc11-9000B-4t4c-ethip4-ip4base-l3fwd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L3 IPv4 routing config with 4 threads,\
+| | ... | [Cfg] DUT runs L3 IPv4 routing config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
| | ... | trial throughput test.
| tc12-IMIX-4t4c-ethip4-ip4base-l3fwd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L3 IPv4 routing config with 4 threads,\
+| | ... | [Cfg] DUT runs L3 IPv4 routing config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single\
| | ... | trial throughput test.
-# Copyright (c) 2016 Cisco and/or its affiliates.
+# Copyright (c) 2018 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 1 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 1 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 1 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 1 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '1' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L3FWD on all DUTs | 1 | 1 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '1' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L3FWD on all DUTs | 1 | 1 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 2 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 2 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 2 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 2 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '2' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L3FWD on all DUTs | 2 | 1 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '2' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L3FWD on all DUTs | 2 | 1 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 4 | 2 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 4 | 2 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 4 | 2 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L3FWD on all DUTs | 4 | 2 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '4' worker threads and '2' rxqueues with jumbo frames 'yes'
+| | Given Start L3FWD on all DUTs | 4 | 2 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L3FWD '4' worker threads and '2' rxqueues with jumbo frames 'yes'
+| | Given Start L3FWD on all DUTs | 4 | 2 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile} | ${min_rate} | ${max_rate}
| | ... | ${threshold} | ${perf_pdr_loss_acceptance}
*** Keywords ***
| Check RR for eth-l2xcbase-testpmd
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with ${wt} thread(s), ${wt}\
-| | ... | phy core(s), ${rxq} receive queue(s) per NIC port.
+| | ... | [Cfg] DUT runs L2 frame forwarding config with ${wt} phy core(s),\
+| | ... | ${rxq} receive queue(s) per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\
| | ... | trial throughput test.
| | ...
| | ${jumbo_frames}= | Set Variable If
| | ... | ${get_framesize} < ${1522} | no | yes
| | ...
-| | Given Start L2FWD '${wt}' worker threads and '${rxq}' rxqueues with jumbo frames '${jumbo_frames}'
+| | Given Start L2FWD on all DUTs | ${wt} | ${rxq} | ${jumbo_frames}
| | Then Traffic should pass with maximum rate | ${perf_trial_duration}
| | ... | ${max_rate}pps | ${framesize} | ${traffic_profile}
| tc05-64B-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 64B frames using single\
| | ... | trial throughput test.
| tc06-1518B-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
| | ... | trial throughput test.
| tc07-9000B-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
| | ... | trial throughput test.
| tc08-IMIX-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single\
| | ... | trial throughput test.
| tc09-64B-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 64B frames using single\
| | ... | trial throughput test.
| tc10-1518B-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
| | ... | trial throughput test.
| tc11-9000B-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
| | ... | trial throughput test.
| tc12-IMIX-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single\
| | ... | trial throughput test.
-# Copyright (c) 2016 Cisco and/or its affiliates.
+# Copyright (c) 2018 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 1 | 1 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 1 | 1 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 2 | 1 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 2 | 1 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 4 | 2 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 4 | 2 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
-| | ... | ${perf_pdr_loss_acceptance_type}
\ No newline at end of file
+| | ... | ${perf_pdr_loss_acceptance_type}
*** Keywords ***
| Check RR for eth-l2xcbase-testpmd
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with ${wt} thread(s), ${wt}\
-| | ... | phy core(s), ${rxq} receive queue(s) per NIC port.
+| | ... | [Cfg] DUT runs L2 frame forwarding config with ${wt} phy core(s),\
+| | ... | ${rxq} receive queue(s) per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for ${framesize} frames using single\
| | ... | trial throughput test.
| | ...
| | ${jumbo_frames}= | Set Variable If
| | ... | ${get_framesize} < ${1522} | no | yes
| | ...
-| | Given Start L2FWD '${wt}' worker threads and '${rxq}' rxqueues with jumbo frames '${jumbo_frames}'
+| | Given Start L2FWD on all DUTs | ${wt} | ${rxq} | ${jumbo_frames}
| | Then Traffic should pass with maximum rate | ${perf_trial_duration}
| | ... | ${max_rate}pps | ${framesize} | ${traffic_profile}
| tc05-64B-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 64B frames using single\
| | ... | trial throughput test.
| tc06-1518B-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
| | ... | trial throughput test.
| tc07-9000B-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
| | ... | trial throughput test.
| tc08-IMIX-2t2c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 2 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 2 phy cores, 1 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single\
| | ... | trial throughput test.
| tc09-64B-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 64B frames using single\
| | ... | trial throughput test.
| tc10-1518B-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 1518B frames using single\
| | ... | trial throughput test.
| tc11-9000B-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for 9000B frames using single\
| | ... | trial throughput test.
| tc12-IMIX-4t4c-eth-l2xcbase-testpmd-mrr
| | [Documentation]
-| | ... | [Cfg] DUT runs L2 frame forwarding config with 4 threads,\
+| | ... | [Cfg] DUT runs L2 frame forwarding config with \
| | ... | 4 phy cores, 2 receive queue per NIC port.
| | ... | [Ver] Measure MaxReceivedRate for IMIX_v4_1 frames using single\
| | ... | trial throughput test.
-# Copyright (c) 2016 Cisco and/or its affiliates.
+# Copyright (c) 2018 Cisco and/or its affiliates.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 1 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 1 | 1 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '1' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 1 | 1 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 2 | 1 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 2 | 1 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '2' worker threads and '1' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 2 | 1 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'no'
+| | Given Start L2FWD on all DUTs | 4 | 2 | no
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 4 | 2 | yes
| | Then Find NDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold}
| | ${binary_min}= | Set Variable | ${min_rate}
| | ${binary_max}= | Set Variable | ${max_rate}
| | ${threshold}= | Set Variable | ${min_rate}
-| | Given Start L2FWD '4' worker threads and '2' rxqueues with jumbo frames 'yes'
+| | Given Start L2FWD on all DUTs | 4 | 2 | yes
| | Then Find PDR using binary search and pps | ${framesize} | ${binary_min}
| | ... | ${binary_max} | ${traffic_profile}
| | ... | ${min_rate} | ${max_rate} | ${threshold} | ${perf_pdr_loss_acceptance}
-| | ... | ${perf_pdr_loss_acceptance_type}
\ No newline at end of file
+| | ... | ${perf_pdr_loss_acceptance_type}