# limitations under the License.
*** Settings ***
-| Resource | resources/libraries/robot/performance.robot
+| Resource | resources/libraries/robot/performance_setup.robot
| ...
| Force Tags | 3_NODE_SINGLE_LINK_TOPO | PERFTEST | HW_ENV | PDRCHK
| ... | NIC_Intel-X520-DA2 | L2XCFWD | ENCAP | VXLAN | L2OVRLAY | IP4UNRLAY
| ...
-| Suite Setup | 3-node Performance Suite Setup with DUT's NIC model
+| Suite Setup | Set up 3-node performance topology with DUT's NIC model
| ... | L2 | Intel-X520-DA2
-| Suite Teardown | 3-node Performance Suite Teardown
+| Suite Teardown | Tear down 3-node performance topology
| ...
-| Test Setup | Performance test setup
-| Test Teardown | Performance pdrchk test teardown
+| Test Setup | Set up performance test
+| Test Teardown | Tear down performance pdrchk test
| ...
| Documentation | *Reference PDR throughput L2XC with VXLANoIPv4 verify test\
| ... | cases*
| ... | *[Ref] Applicable standard specifications:* RFC2544, RFC7348.
*** Variables ***
+| ${vxlan_overhead} | ${50}
# Traffic profile:
| ${traffic_profile} | trex-sl-3n-ethip4-ip4src254
| | Set Test Variable | ${rate}
| | ${get_framesize}= | Get Frame Size | ${framesize}
| | ...
-| | Given Add '${wt}' worker threads and rxqueues '${rxq}' in 3-node single-link topo
-| | And Add PCI devices to DUTs from 3-node single link topology
+| | Given Add '${wt}' worker threads and '${rxq}' rxqueues in 3-node single-link circular topology
+| | And Add PCI devices to DUTs in 3-node single link topology
| | And Run Keyword If | ${get_framesize} < ${1522}
-| | ... | Add No Multi Seg to all DUTs
+| | ... | Add no multi seg to all DUTs
| | And Apply startup configuration on all VPP DUTs
-| | And L2 xconnect with VXLANoIPv4 initialized in a 3-node circular topology
+| | And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
| | Then Traffic should pass with partial loss | ${perf_trial_duration}
| | ... | ${rate} | ${framesize} | ${traffic_profile}
| | ... | ${perf_pdr_loss_acceptance} | ${perf_pdr_loss_acceptance_type}
| | [Tags] | 64B | 1T1C | STHREAD
| | ...
| | [Template] | Check PDR for L2 xconnect with VXLAN over IPv4
-| | framesize=${64} | rate=2.4mpps | wt=1 | rxq=1
+| | framesize=${64 + ${vxlan_overhead}} | rate=2.0mpps | wt=1 | rxq=1
| tc02-1518B-1t1c-ethip4vxlan-l2xcbase-pdrchk
| | [Documentation]
| | [Tags] | 1518B | 1T1C | STHREAD
| | ...
| | [Template] | Check PDR for L2 xconnect with VXLAN over IPv4
-| | framesize=${1518} | rate=787153pps | wt=1 | rxq=1
+| | framesize=${1518 + ${vxlan_overhead}} | rate=500000pps | wt=1 | rxq=1
| tc03-9000B-1t1c-ethip4vxlan-l2xcbase-pdrchk
| | [Documentation]
| | [Tags] | 9000B | 1T1C | STHREAD
| | ...
| | [Template] | Check PDR for L2 xconnect with VXLAN over IPv4
-| | framesize=${9000} | rate=137816pps | wt=1 | rxq=1
+| | framesize=${9000 + ${vxlan_overhead}} | rate=100000pps | wt=1 | rxq=1
| tc04-64B-2t2c-ethip4vxlan-l2xcbase-pdrchk
| | [Documentation]
| | [Tags] | 64B | 2T2C | MTHREAD
| | ...
| | [Template] | Check PDR for L2 xconnect with VXLAN over IPv4
-| | framesize=${64} | rate=5.2mpps | wt=2 | rxq=1
+| | framesize=${64 + ${vxlan_overhead}} | rate=5.0mpps | wt=2 | rxq=1
| tc05-1518B-2t2c-ethip4vxlan-l2xcbase-pdrchk
| | [Documentation]
| | [Tags] | 1518B | 2T2C | MTHREAD
| | ...
| | [Template] | Check PDR for L2 xconnect with VXLAN over IPv4
-| | framesize=${1518} | rate=787153pps | wt=2 | rxq=1
+| | framesize=${1518 + ${vxlan_overhead}} | rate=500000pps | wt=2 | rxq=1
| tc06-9000B-2t2c-ethip4vxlan-l2xcbase-pdrchk
| | [Documentation]
| | [Tags] | 9000B | 2T2C | MTHREAD
| | ...
| | [Template] | Check PDR for L2 xconnect with VXLAN over IPv4
-| | framesize=${9000} | rate=137816pps | wt=2 | rxq=1
+| | framesize=${9000 + ${vxlan_overhead}} | rate=100000pps | wt=2 | rxq=1
| tc07-64B-4t4c-ethip4vxlan-l2xcbase-pdrchk
| | [Documentation]
| | [Tags] | 64B | 4T4C | MTHREAD
| | ...
| | [Template] | Check PDR for L2 xconnect with VXLAN over IPv4
-| | framesize=${64} | rate=8.4mpps | wt=4 | rxq=2
+| | framesize=${64 + ${vxlan_overhead}} | rate=6.5mpps | wt=4 | rxq=2
| tc08-1518B-4t4c-ethip4vxlan-l2xcbase-pdrchk
| | [Documentation]
| | [Tags] | 1518B | 4T4C | MTHREAD
| | ...
| | [Template] | Check PDR for L2 xconnect with VXLAN over IPv4
-| | framesize=${1518} | rate=787153pps | wt=4 | rxq=2
+| | framesize=${1518 + ${vxlan_overhead}} | rate=500000pps | wt=4 | rxq=2
| tc09-9000B-4t4c-ethip4vxlan-l2xcbase-pdrchk
| | [Documentation]
| | [Tags] | 9000B | 4T4C | MTHREAD
| | ...
| | [Template] | Check PDR for L2 xconnect with VXLAN over IPv4
-| | framesize=${9000} | rate=137816pps | wt=4 | rxq=2
+| | framesize=${9000 + ${vxlan_overhead}} | rate=100000pps | wt=4 | rxq=2