8.4. IPv4 Tunnels

8.4.1. 10ge2p1x520-ethip4lispip4-ip4base-ndrchk suite

8.4.1.1. tc01-64B-1t1c-ethip4lispip4-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trial throughputtest at 2x 1.9mpps.


${framesize}=  Set Variable  ${64}
${rate}=  Set Variable  1.9mpps
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.1.2. tc02-1480B-1t1c-ethip4lispip4-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1480 Byte frames using single trialthroughput test at 2x 740000pps.


${framesize}=  Set Variable  ${1480}
${rate}=  Set Variable  740000pps
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.1.3. tc03-9000B-1t1c-ethip4lispip4-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x 120000pps.


${framesize}=  Set Variable  ${9000}
${rate}=  Set Variable  120000pps
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.1.4. tc04-64B-2t2c-ethip4lispip4-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x 3.6mpps.


${framesize}=  Set Variable  ${64}
${rate}=  Set Variable  3.6mpps
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.1.5. tc05-1480B-2t2c-ethip4lispip4-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1480 Byte frames using single trialthroughput test at 2x 740000pps.


${framesize}=  Set Variable  ${1480}
${rate}=  Set Variable  740000pps
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.1.6. tc06-9000B-2t2c-ethip4lispip4-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x 120000pps.


${framesize}=  Set Variable  ${9000}
${rate}=  Set Variable  120000pps
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.1.7. tc07-64B-4t4c-ethip4lispip4-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x 3.5mpps.


${framesize}=  Set Variable  ${64}
${rate}=  Set Variable  3.5mpps
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.1.8. tc08-1480B-4t4c-ethip4lispip4-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 1480 Byte frames using single trialthroughput test at 2x 740000pps.


${framesize}=  Set Variable  ${1480}
${rate}=  Set Variable  740000pps
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.1.9. tc09-9000B-4t4c-ethip4lispip4-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x 120000pps.


${framesize}=  Set Variable  ${9000}
${rate}=  Set Variable  120000pps
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.2. 10ge2p1x520-ethip4lispip4-ip4base-ndrpdrdisc suite

8.4.2.1. tc01-64B-1t1c-ethip4lispip4-ip4base-ndrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find NDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.2.2. tc02-64B-1t1c-ethip4lispip4-ip4base-pdrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find PDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 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}

8.4.2.3. tc03-1480B-1t1c-ethip4lispip4-ip4base-ndrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find NDR for 1480 Byte frames using binary search startat 10GE linerate, step 10kpps.


${framesize}=  Set Variable  ${1480}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.2.4. tc04-1480B-1t1c-ethip4lispip4-ip4base-pdrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find PDR for 1480 Byte frames using binary search startat 10GE linerate, step 10kpps, LT=0.5%.


${framesize}=  Set Variable  ${1480}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 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}

8.4.2.5. tc05-9000B-1t1c-ethip4lispip4-ip4base-ndrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find NDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.2.6. tc06-9000B-1t1c-ethip4lispip4-ip4base-pdrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find PDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps, LT=0.5%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 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}

8.4.2.7. tc07-64B-2t2c-ethip4lispip4-ip4base-ndrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find NDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.2.8. tc08-64B-2t2c-ethip4lispip4-ip4base-pdrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find PDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 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}

8.4.2.9. tc09-1480B-2t2c-ethip4lispip4-ip4base-ndrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find NDR for 1480 Byte frames using binary search startat 10GE linerate, step 10kpps.


${framesize}=  Set Variable  ${1480}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.2.10. tc10-1480B-2t2c-ethip4lispip4-ip4base-pdrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find PDR for 1480 Byte frames using binary search startat 10GE linerate, step 10kpps, LT=0.5%.


${framesize}=  Set Variable  ${1480}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 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}

8.4.2.11. tc11-9000B-2t2c-ethip4lispip4-ip4base-ndrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find NDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.2.12. tc12-9000B-2t2c-ethip4lispip4-ip4base-pdrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find PDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps, LT=0.5%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 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}

8.4.2.13. tc13-64B-4t4c-ethip4lispip4-ip4base-ndrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find NDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.2.14. tc14-64B-4t4c-ethip4lispip4-ip4base-pdrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find PDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 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}

8.4.2.15. tc15-1480B-4t4c-ethip4lispip4-ip4base-ndrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find NDR for 1480 Byte frames using binary search startat 10GE linerate, step 10kpps.


${framesize}=  Set Variable  ${1480}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.2.16. tc16-1480B-4t4c-ethip4lispip4-ip4base-pdrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find PDR for 1480 Byte frames using binary search startat 10GE linerate, step 10kpps, LT=0.5%.


${framesize}=  Set Variable  ${1480}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 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}

8.4.2.17. tc17-9000B-4t4c-ethip4lispip4-ip4base-ndrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find NDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.2.18. tc18-9000B-4t4c-ethip4lispip4-ip4base-pdrdisc

[Cfg] DUT runs IPv4 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find PDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps, LT=0.5%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 8}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 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}

8.4.3. 10ge2p1x520-ethip4lispip4-ip4base-pdrchk suite

8.4.3.1. tc01-64B-1t1c-ethip4lispip4-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64}  rate=1.9mpps  wt=1  rxq=1

8.4.3.2. tc02-1480B-1t1c-ethip4lispip4-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1480 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1480}  rate=370000pps  wt=1  rxq=1

8.4.3.3. tc03-9000B-1t1c-ethip4lispip4-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000}  rate=60000pps  wt=1  rxq=1

8.4.3.4. tc04-64B-2t2c-ethip4lispip4-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64}  rate=3.6mpps  wt=2  rxq=1

8.4.3.5. tc05-1480B-2t2c-ethip4lispip4-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1480 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1480}  rate=370000pps  wt=2  rxq=1

8.4.3.6. tc06-9000B-2t2c-ethip4lispip4-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000}  rate=60000pps  wt=2  rxq=1

8.4.3.7. tc07-64B-4t4c-ethip4lispip4-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64}  rate=3.5mpps  wt=4  rxq=2

8.4.3.8. tc08-1480B-4t4c-ethip4lispip4-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 1480 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1480}  rate=370000pps  wt=4  rxq=2

8.4.3.9. tc09-9000B-4t4c-ethip4lispip4-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000}  rate=60000pps  wt=4  rxq=2

8.4.3.10. Check PDR for Lisp IPv4 over IPv4 forwarding

[Cfg] DUT runs LISP tunnel config with ${wt} thread, ${wt} phy core,${rxq} receive queue per NIC port. [Ver] Verify ref-NDR for ${framesize} Byte frames using single trialthroughput test at 2x ${rate}.


Set Test Variable  ${framesize}
Set Test Variable  ${rate}
${get_framesize}=  Get Frame Size  ${framesize}
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
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4}  ${dut1_to_tg_ip4}  ${dut2_to_dut1_ip4}  ${dut2_to_tg_ip4}  ${prefix4}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4_eid}  ${dut2_ip4_eid}  ${dut1_ip4_static_adjacency}  ${dut2_ip4_static_adjacency}
 Then Traffic should pass with partial loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.4.4. 10ge2p1x520-ethip4lispip6-ip4base-ndrchk suite

8.4.4.1. tc01-64B-1t1c-ethip4lispip6-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x 1.53mpps.


${framesize}=  Set Variable  ${64}
${rate}=  Set Variable  1.53mpps
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.4.2. tc02-1460B-1t1c-ethip4lispip6-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1460 Byte frames using single trialthroughput test at 2x 720000pps.


${framesize}=  Set Variable  ${1460}
${rate}=  Set Variable  720000pps
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.4.3. tc03-9000B-1t1c-ethip4lispip6-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x 120000pps.


${framesize}=  Set Variable  ${9000}
${rate}=  Set Variable  120000pps
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.4.4. tc04-64B-2t2c-ethip4lispip6-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x 3.25mpps.


${framesize}=  Set Variable  ${64}
${rate}=  Set Variable  3.25mpps
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.4.5. tc05-1460B-2t2c-ethip4lispip6-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1460 Byte frames using single trialthroughput test at 2x 720000pps.


${framesize}=  Set Variable  ${1460}
${rate}=  Set Variable  720000pps
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.4.6. tc06-9000B-2t2c-ethip4lispip6-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x 120000pps.


${framesize}=  Set Variable  ${9000}
${rate}=  Set Variable  120000pps
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.4.7. tc07-64B-4t4c-ethip4lispip6-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x 3.12mpps.


${framesize}=  Set Variable  ${64}
${rate}=  Set Variable  3.12mpps
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.4.8. tc08-1460B-4t4c-ethip4lispip6-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 1460 Byte frames using single trialthroughput test at 2x 720000pps.


${framesize}=  Set Variable  ${1460}
${rate}=  Set Variable  720000pps
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.4.9. tc09-9000B-4t4c-ethip4lispip6-ip4base-ndrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x 120000pps.


${framesize}=  Set Variable  ${9000}
${rate}=  Set Variable  120000pps
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.5. 10ge2p1x520-ethip4lispip6-ip4base-ndrpdrdisc suite

8.4.5.1. tc01-64B-1t1c-ethip4lispip6-ip4base-ndrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find NDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.5.2. tc02-64B-1t1c-ethip4lispip6-ip4base-pdrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find PDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 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}

8.4.5.3. tc03-1460B-1t1c-ethip4lispip6-ip4base-ndrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find NDR for 1460 Byte frames using binary search startat 10GE linerate, step 100kpps.


${framesize}=  Set Variable  ${1460}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.5.4. tc04-1460B-1t1c-ethip4lispip6-ip4base-pdrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find PDR for 1460 Byte frames using binary search startat 10GE linerate, step 10kpps, LT=0.5%.


${framesize}=  Set Variable  ${1460}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 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}

8.4.5.5. tc05-9000B-1t1c-ethip4lispip6-ip4base-ndrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find NDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.5.6. tc06-9000B-1t1c-ethip4lispip6-ip4base-pdrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 1 thread, 1 phy core, 1 receive queue per NICport. [Ver] Find PDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps, LT=0.5%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 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}

8.4.5.7. tc07-64B-2t2c-ethip4lispip6-ip4base-ndrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find NDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.5.8. tc08-64B-2t2c-ethip4lispip6-ip4base-pdrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find PDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 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}

8.4.5.9. tc09-1460B-2t2c-ethip4lispip6-ip4base-ndrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find NDR for 1460 Byte frames using binary search startat 10GE linerate, step 10kpps.


${framesize}=  Set Variable  ${1460}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.5.10. tc10-1460B-2t2c-ethip4lispip6-ip4base-pdrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find PDR for 1460 Byte frames using binary search startat 10GE linerate, step 10kpps, LT=0.5%.


${framesize}=  Set Variable  ${1460}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 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}

8.4.5.11. tc11-9000B-2t2c-ethip4lispip6-ip4base-ndrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find NDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.5.12. tc12-9000B-2t2c-ethip4lispip6-ip4base-pdrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 2 threads, 2 phy cores, 1 receive queue per NICport. [Ver] Find PDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps, LT=0.5%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 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}

8.4.5.13. tc13-64B-4t4c-ethip4lispip6-ip4base-ndrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find NDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.5.14. tc14-64B-4t4c-ethip4lispip6-ip4base-pdrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find PDR for 64 Byte frames using binary search startat 10GE linerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 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}

8.4.5.15. tc15-1460B-4t4c-ethip4lispip6-ip4base-ndrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find NDR for 1460 Byte frames using binary search startat 10GE linerate, step 10kpps.


${framesize}=  Set Variable  ${1460}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.5.16. tc16-1460B-4t4c-ethip4lispip6-ip4base-pdrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find PDR for 1460 Byte frames using binary search startat 10GE linerate, step 10kpps, LT=0.5%.


${framesize}=  Set Variable  ${1460}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 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}

8.4.5.17. tc17-9000B-4t4c-ethip4lispip6-ip4base-ndrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find NDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.5.18. tc18-9000B-4t4c-ethip4lispip6-ip4base-pdrdisc

[Cfg] DUT runs IPv6 LISP remote static mappings and whitelistfilters config with 4 threads, 4 phy cores, 2 receive queues per NICport. [Ver] Find PDR for 9000 Byte frames using binary search startat 10GE linerate, step 5kpps, LT=0.5%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 48}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 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}

8.4.6. 10ge2p1x520-ethip4lispip6-ip4base-pdrchk suite

8.4.6.1. tc01-64B-1t1c-ethip4lispip6-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64}  rate=1.53mpps  wt=1  rxq=1

8.4.6.2. tc02-1460B-1t1c-ethip4lispip6-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1460 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1460}  rate=360000pps  wt=1  rxq=1

8.4.6.3. tc03-9000B-1t1c-ethip4lispip6-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000}  rate=60000pps  wt=1  rxq=1

8.4.6.4. tc04-64B-2t2c-ethip4lispip6-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64}  rate=3.25mpps  wt=2  rxq=1

8.4.6.5. tc05-1460B-2t2c-ethip4lispip6-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1460 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1460}  rate=360000pps  wt=2  rxq=1

8.4.6.6. tc06-9000B-2t2c-ethip4lispip6-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000}  rate=60000pps  wt=2  rxq=1

8.4.6.7. tc07-64B-4t4c-ethip4lispip6-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64}  rate=3.12mpps  wt=4  rxq=2

8.4.6.8. tc08-1460B-4t4c-ethip4lispip6-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 1460 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1460}  rate=360000pps  wt=4  rxq=2

8.4.6.9. tc09-9000B-4t4c-ethip4lispip6-ip4base-pdrchk

[Cfg] DUT runs LISP tunnel config with 4 threads, 4 phy cores,2 receive queues per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000}  rate=60000pps  wt=4  rxq=2

8.4.6.10. Check PDR for Lisp IPv4 over IPv6 forwarding

[Cfg] DUT runs LISP tunnel config with ${wt} thread, ${wt} phy core,${rxq} receive queue per NIC port. [Ver] Verify ref-NDR for ${framesize} Byte frames using single trialthroughput test at 2x ${rate}.


Set Test Variable  ${framesize}
Set Test Variable  ${rate}
${get_framesize}=  Get Frame Size  ${framesize}
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
  And Apply startup configuration on all VPP DUTs
 When Initialize LISP IPv4 over IPv6 forwarding in 3-node circular topology  ${dut1_to_dut2_ip4o6}  ${dut1_to_tg_ip4o6}  ${dut2_to_dut1_ip4o6}  ${dut2_to_tg_ip4o6}  ${tg_prefix4o6}  ${dut_prefix4o6}
  And Configure LISP topology in 3-node circular topology  ${dut1}  ${dut1_if2}  ${NONE}  ${dut2}  ${dut2_if1}  ${NONE}  ${duts_locator_set}  ${dut1_ip4o6_eid}  ${dut2_ip4o6_eid}  ${dut1_ip4o6_static_adjacency}  ${dut2_ip4o6_static_adjacency}
 Then Traffic should pass with partial loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}  ${perf_pdr_loss_acceptance}  ${perf_pdr_loss_acceptance_type}

8.4.7. 10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-ndrpdrdisc suite

8.4.7.1. tc01-64B-1t1c-ethip4vxlan-l2bdbasemaclrn-ndrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.7.2. tc02-64B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 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}

8.4.7.3. tc03-1518B-1t1c-ethip4vxlan-l2bdbasemaclrn-ndrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 10kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.7.4. tc04-1518B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 10kpps, LT=0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 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}

8.4.7.5. tc05-9000B-1t1c-ethip4vxlan-l2bdbasemaclrn-ndrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 5kpps.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.7.6. tc06-9000B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 5kpps, LT=0.5%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 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}

8.4.7.7. tc07-64B-2t2c-ethip4vxlan-l2bdbasemaclrn-ndrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.7.8. tc08-64B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 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}

8.4.7.9. tc09-1518B-2t2c-ethip4vxlan-l2bdbasemaclrn-ndrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 10kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.7.10. tc10-1518B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 10kpps, LT=0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 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}

8.4.7.11. tc11-9000B-2t2c-ethip4vxlan-l2bdbasemaclrn-ndrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 5kpps.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.7.12. tc12-9000B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 5kpps, LT=0.5%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 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}

8.4.7.13. tc13-64B-4t4c-ethip4vxlan-l2bdbasemaclrn-ndrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 100kpps.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.7.14. tc14-64B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 100kpps, LT=0.5%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 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}

8.4.7.15. tc15-1518B-4t4c-ethip4vxlan-l2bdbasemaclrn-ndrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 10kpps.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.7.16. tc16-1518B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 10kpps, LT=0.5%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 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}

8.4.7.17. tc17-9000B-4t4c-ethip4vxlan-l2bdbasemaclrn-ndrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 5kpps.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.7.18. tc18-9000B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrdisc

[Cfg] DUT runs L2BD forwarding 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 10GElinerate, step 5kpps, LT=0.5%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + ${vxlan_overhead}}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain with VXLANoIPv4 in 3-node circular topology
 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}

8.4.8. 10ge2p1x520-ethip4vxlan-l2bdbasemaclrn-pdrchk suite

8.4.8.1. tc01-64B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrchk

[Cfg] DUT runs L2XC config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64 + ${vxlan_overhead}}  rate=2.4mpps  wt=1  rxq=1

8.4.8.2. tc02-1518B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrchk

[Cfg] DUT runs L2XC config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1518 + ${vxlan_overhead}}  rate=700000pps  wt=1  rxq=1

8.4.8.3. tc03-9000B-1t1c-ethip4vxlan-l2bdbasemaclrn-pdrchk

[Cfg] DUT runs L2XC config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000 + ${vxlan_overhead}}  rate=100000pps  wt=1  rxq=1

8.4.8.4. tc04-64B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrchk

[Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64 + ${vxlan_overhead}}  rate=5.2mpps  wt=2  rxq=1

8.4.8.5. tc05-1518B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrchk

[Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1518 + ${vxlan_overhead}}  rate=650000pps  wt=2  rxq=1

8.4.8.6. tc06-9000B-2t2c-ethip4vxlan-l2bdbasemaclrn-pdrchk

[Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000 + ${vxlan_overhead}}  rate=100000pps  wt=2  rxq=1

8.4.8.7. tc07-64B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrchk

[Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,2 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64 + ${vxlan_overhead}}  rate=6.5mpps  wt=4  rxq=2

8.4.8.8. tc08-1518B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrchk

[Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,2 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1518 + ${vxlan_overhead}}  rate=700000pps  wt=4  rxq=2

8.4.8.9. tc09-9000B-4t4c-ethip4vxlan-l2bdbasemaclrn-pdrchk

[Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,2 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000 + ${vxlan_overhead}}  rate=100000pps  wt=4  rxq=2

8.4.8.10. Check PDR for L2BD forwarding with VXLAN over IPv4

[Cfg] DUT runs L2XC config config with ${wt} thread, ${wt} phycore, ${rxq} receive queue per NIC port. [Ver] Verify ref-PDR for ${framesize} Byte frames using single trialthroughput test at 2x ${rate}.


Set Test Variable  ${framesize}
Set Test Variable  ${rate}
${get_framesize}=  Get Frame Size  ${framesize}
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
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 bridge domain 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}

8.4.9. 10ge2p1x520-ethip4vxlan-l2xcbase-ndrchk suite

8.4.9.1. tc01-64B-1t1c-ethip4vxlan-l2xcbase-ndrchk

[Cfg] DUT runs L2XC config with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trial throughput test at 2x 2.4mpps.


${framesize}=  Set Variable  ${64}
${rate}=  Set Variable  2.4mpps
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.9.2. tc02-1518B-1t1c-ethip4vxlan-l2xcbase-ndrchk

[Cfg] DUT runs L2XC config with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte frames using single trial throughput test at 2x 787153pps.


${framesize}=  Set Variable  ${1518}
${rate}=  Set Variable  787153pps
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.9.3. tc03-9000B-1t1c-ethip4vxlan-l2xcbase-ndrchk

[Cfg] DUT runs L2XC config with 1 thread, 1 phy core, 1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trial throughput test at 2x 137816pps.


${framesize}=  Set Variable  ${9000}
${rate}=  Set Variable  137816pps
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.9.4. tc04-64B-2t2c-ethip4vxlan-l2xcbase-ndrchk

[Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trial throughput test at 2x 5.2mpps.


${framesize}=  Set Variable  ${64}
${rate}=  Set Variable  5.2mpps
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.9.5. tc05-1518B-2t2c-ethip4vxlan-l2xcbase-ndrchk

[Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte frames using single trial throughput test at 2x 787153pps.


${framesize}=  Set Variable  ${1518}
${rate}=  Set Variable  787153pps
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.9.6. tc06-9000B-2t2c-ethip4vxlan-l2xcbase-ndrchk

[Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores, 1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trial throughput test at 2x 137816pps.


${framesize}=  Set Variable  ${9000}
${rate}=  Set Variable  137816pps
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.9.7. tc07-64B-4t4c-ethip4vxlan-l2xcbase-ndrchk

[Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trial throughput test at 2x 8.4mpps.


${framesize}=  Set Variable  ${64}
${rate}=  Set Variable  8.4mpps
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.9.8. tc08-1518B-4t4c-ethip4vxlan-l2xcbase-ndrchk

[Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte frames using single trial throughput test at 2x 787153pps.


${framesize}=  Set Variable  ${1518}
${rate}=  Set Variable  787153pps
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.9.9. tc09-9000B-4t4c-ethip4vxlan-l2xcbase-ndrchk

[Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores, 2 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trial throughput test at 2x 137816pps.


${framesize}=  Set Variable  ${9000}
${rate}=  Set Variable  137816pps
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Traffic should pass with no loss  ${perf_trial_duration}  ${rate}  ${framesize}  ${traffic_profile}

8.4.10. 10ge2p1x520-ethip4vxlan-l2xcbase-ndrpdrdisc suite

8.4.10.1. tc01-64B-1t1c-ethip4vxlan-l2xcbase-ndrdisc

[Cfg] DUT runs L2XC forwarding 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.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.10.2. tc02-64B-1t1c-ethip4vxlan-l2xcbase-pdrdisc

[Cfg] DUT runs L2XC forwarding 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%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 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}

8.4.10.3. tc03-1518B-1t1c-ethip4vxlan-l2xcbase-ndrdisc

[Cfg] DUT runs L2XC forwarding 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.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.10.4. tc04-1518B-1t1c-ethip4vxlan-l2xcbase-pdrdisc

[Cfg] DUT runs L2XC forwarding 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%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 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}

8.4.10.5. tc05-9000B-1t1c-ethip4vxlan-l2xcbase-ndrdisc

[Cfg] DUT runs L2XC forwarding 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.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.10.6. tc06-9000B-1t1c-ethip4vxlan-l2xcbase-pdrdisc

[Cfg] DUT runs L2XC forwarding 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%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '1' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 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}

8.4.10.7. tc07-64B-2t2c-ethip4vxlan-l2xcbase-ndrdisc

[Cfg] DUT runs L2XC forwarding 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.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.10.8. tc08-64B-2t2c-ethip4vxlan-l2xcbase-pdrdisc

[Cfg] DUT runs L2XC forwarding 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%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 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}

8.4.10.9. tc09-1518B-2t2c-ethip4vxlan-l2xcbase-ndrdisc

[Cfg] DUT runs L2XC forwarding 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.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.10.10. tc10-1518B-2t2c-ethip4vxlan-l2xcbase-pdrdisc

[Cfg] DUT runs L2XC forwarding 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%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 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}

8.4.10.11. tc11-9000B-2t2c-ethip4vxlan-l2xcbase-ndrdisc

[Cfg] DUT runs L2XC forwarding 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.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.10.12. tc12-9000B-2t2c-ethip4vxlan-l2xcbase-pdrdisc

[Cfg] DUT runs L2XC forwarding 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%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '2' worker threads and '1' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 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}

8.4.10.13. tc13-64B-4t4c-ethip4vxlan-l2xcbase-ndrdisc

[Cfg] DUT runs L2XC forwarding 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.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.10.14. tc14-64B-4t4c-ethip4vxlan-l2xcbase-pdrdisc

[Cfg] DUT runs L2XC forwarding 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%.


${framesize}=  Set Variable  ${64}
${min_rate}=  Set Variable  ${100000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Add no multi seg to all DUTs
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 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}

8.4.10.15. tc15-1518B-4t4c-ethip4vxlan-l2xcbase-ndrdisc

[Cfg] DUT runs L2XC forwarding 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.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.10.16. tc16-1518B-4t4c-ethip4vxlan-l2xcbase-pdrdisc

[Cfg] DUT runs L2XC forwarding 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%.


${framesize}=  Set Variable  ${1518}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 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}

8.4.10.17. tc17-9000B-4t4c-ethip4vxlan-l2xcbase-ndrdisc

[Cfg] DUT runs L2XC forwarding 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.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 Then Find NDR using binary search and pps  ${framesize}  ${binary_min}  ${binary_max}  ${traffic_profile}  ${min_rate}  ${max_rate}  ${threshold}

8.4.10.18. tc18-9000B-4t4c-ethip4vxlan-l2xcbase-pdrdisc

[Cfg] DUT runs L2XC forwarding 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%.


${framesize}=  Set Variable  ${9000}
${min_rate}=  Set Variable  ${10000}
${max_rate}=  Calculate pps  ${s_limit}  ${framesize + 50}
${binary_min}=  Set Variable  ${min_rate}
${binary_max}=  Set Variable  ${max_rate}
${threshold}=  Set Variable  ${min_rate}
Given Add '4' worker threads and '2' rxqueues in 3-node single-link circular topology
  And Add PCI devices to DUTs in 3-node single link topology
  And Apply startup configuration on all VPP DUTs
  And Initialize L2 xconnect with VXLANoIPv4 in 3-node circular topology
 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}

8.4.11. 10ge2p1x520-ethip4vxlan-l2xcbase-pdrchk suite

8.4.11.1. tc01-64B-1t1c-ethip4vxlan-l2xcbase-pdrchk

[Cfg] DUT runs L2XC config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64 + ${vxlan_overhead}}  rate=2.0mpps  wt=1  rxq=1

8.4.11.2. tc02-1518B-1t1c-ethip4vxlan-l2xcbase-pdrchk

[Cfg] DUT runs L2XC config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1518 + ${vxlan_overhead}}  rate=500000pps  wt=1  rxq=1

8.4.11.3. tc03-9000B-1t1c-ethip4vxlan-l2xcbase-pdrchk

[Cfg] DUT runs L2XC config with 1 thread, 1 phy core,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000 + ${vxlan_overhead}}  rate=100000pps  wt=1  rxq=1

8.4.11.4. tc04-64B-2t2c-ethip4vxlan-l2xcbase-pdrchk

[Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64 + ${vxlan_overhead}}  rate=5.0mpps  wt=2  rxq=1

8.4.11.5. tc05-1518B-2t2c-ethip4vxlan-l2xcbase-pdrchk

[Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1518 + ${vxlan_overhead}}  rate=500000pps  wt=2  rxq=1

8.4.11.6. tc06-9000B-2t2c-ethip4vxlan-l2xcbase-pdrchk

[Cfg] DUT runs L2XC switching config with 2 threads, 2 phy cores,1 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000 + ${vxlan_overhead}}  rate=100000pps  wt=2  rxq=1

8.4.11.7. tc07-64B-4t4c-ethip4vxlan-l2xcbase-pdrchk

[Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,2 receive queue per NIC port. [Ver] Verify ref-NDR for 64 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${64 + ${vxlan_overhead}}  rate=6.5mpps  wt=4  rxq=2

8.4.11.8. tc08-1518B-4t4c-ethip4vxlan-l2xcbase-pdrchk

[Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,2 receive queue per NIC port. [Ver] Verify ref-NDR for 1518 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${1518 + ${vxlan_overhead}}  rate=500000pps  wt=4  rxq=2

8.4.11.9. tc09-9000B-4t4c-ethip4vxlan-l2xcbase-pdrchk

[Cfg] DUT runs L2XC switching config with 4 threads, 4 phy cores,2 receive queue per NIC port. [Ver] Verify ref-NDR for 9000 Byte frames using single trialthroughput test at 2x ${rate}.


framesize=${9000 + ${vxlan_overhead}}  rate=100000pps  wt=4  rxq=2

8.4.11.10. Check PDR for L2 xconnect with VXLAN over IPv4

[Cfg] DUT runs L2XC config with ${wt} thread, ${wt} phy core,${rxq} receive queue per NIC port. [Ver] Verify ref-NDR for ${framesize} Byte frames using single trialthroughput test at 2x ${rate}.


Set Test Variable  ${framesize}
Set Test Variable  ${rate}
${get_framesize}=  Get Frame Size  ${framesize}
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
  And Apply startup configuration on all VPP DUTs
  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}