aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_funcs.h
AgeCommit message (Expand)AuthorFilesLines
2022-01-18vnet: distinguish between max_frame_size and MTUDamjan Marion1-1/+5
2022-01-17vnet: introduce vnet_error()Damjan Marion1-1/+2
2022-01-05interface: refactor interface capabilities codeDamjan Marion1-0/+25
2021-12-03interface: add multi tx-queues support for new tx infraMohsin Kazmi1-0/+3
2021-11-19fib: Don't use [midchain] adjacencies to change an interface's feature arcNeale Ranns1-0/+4
2021-08-14ip: Fix crash in ip address add on sub-int without exact-matchPim van Pelt1-0/+3
2021-07-28gre: set proper fib index for unnumbered interfaces, unset fib index before f...Stanislav Zaikin1-2/+2
2021-05-28gso: fix the error handlingMohsin Kazmi1-2/+0
2021-05-11interface: tx queue infraDamjan Marion1-0/+2
2021-03-07dispatch-trace: move dispatch trace pcap code to pluginDamjan Marion1-0/+37
2021-02-15vlib: refactor checksum offload supportMohsin Kazmi1-0/+1
2021-02-04linux-cp: Linux Interface Mirroring for Control Plane IntegrationNeale Ranns1-0/+8
2020-10-08interface: shorten vnet_hw_if_rx_modeDamjan Marion1-3/+2
2020-09-09interface: support configuring RSS steering queuesChenmin Sun1-0/+5
2020-04-15pg: set vnet buffer flags in pg streamsDave Barach1-0/+1
2019-12-04gre: Multi-point interfacesNeale Ranns1-0/+1
2019-11-12interface: Allow VLAN tag-rewrite on non-sub-interfaces too.Jon Loeliger1-0/+3
2019-10-09interface: callback to manage extra MAC addressesMatthew Smith1-0/+6
2019-07-23api: binary api cleanupDave Barach1-2/+18
2019-06-18ipsec: ipsec-tun protectNeale Ranns1-0/+3
2019-03-22ADJ: more thorough link up checkNeale Ranns1-2/+17
2019-02-19tap gso: experimental supportAndrew Yourtchenko1-0/+2
2019-02-02Deprecate old mutliarch code, phase 1Damjan Marion1-2/+0
2018-11-08vnet: store hw interface speed in kbps instead of using flagsDamjan Marion1-0/+8
2018-11-07GBP Endpoint LearningNeale Ranns1-0/+7
2018-10-30change mac address functions take const macNeale Ranns1-1/+1
2018-10-27Enumify interface flagsNeale Ranns1-2/+2
2018-08-24rx-placement: Add API call for interface rx-placementMohsin Kazmi1-0/+4
2018-07-20IP directed broadcastNeale Ranns1-1/+3
2018-07-15VPP-1341: fix loopback interface graph arcsDave Barach1-0/+1
2018-07-07PipesNeale Ranns1-1/+17
2018-06-11MTU: Software interface / Per-protocol MTU supportOle Troan1-9/+16
2018-05-25ARP proxy dumpsNeale Ranns1-2/+25
2018-05-10vnet: device flow offload infraDamjan Marion1-0/+22
2018-04-13Revert "MTU: Setting of MTU on software interface (instead of hardware interf...Damjan Marion1-13/+12
2018-04-13MTU: Setting of MTU on software interface (instead of hardware interface)Ole Troan1-12/+13
2018-04-04Detailed stats collection featureNeale Ranns1-0/+3
2018-03-18Remove unnumbered configuration on interface deleteNeale Ranns1-0/+4
2018-02-27vnet/interface: vnet_(put|get)frame_to_sw_interface is not worker thread awareSteven1-2/+2
2018-02-12Improve MTU handlingNeale Ranns1-0/+3
2018-01-24Improve tunnel interface creation performanceJohn Lo1-0/+8
2017-10-31Fix set interface mac address API to be endian neutralJohn Lo1-1/+1
2017-10-29devices: Add binary API for set interface <interface> rx-modeSteven1-0/+8
2017-08-01P2P EthernetPavel Kotucek1-1/+2
2017-07-12Deprecate support for flattened output nodesDamjan Marion1-2/+1
2017-05-02Add interface rx mode commands, unify rx mode and placement CLIDamjan Marion1-0/+1
2017-03-07CLI: hide deleted interfacesEyal Bari1-0/+20
2017-01-10IPv6 NS RS tests and fixesNeale Ranns1-0/+8
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion1-0/+318
520 Niantic by Intel. | ... | *[Ver] TG verification:* TG finds and reports throughput NDR (Non Drop | ... | Rate) with zero packet loss tolerance or throughput PDR (Partial Drop | ... | Rate) with non-zero packet loss tolerance (LT) expressed in percentage | ... | of packets transmitted. NDR and PDR are discovered for different | ... | Ethernet L2 frame sizes using either binary search or linear search | ... | algorithms with configured starting rate and final step that determines | ... | throughput measurement resolution. Test packets are generated by TG on | ... | links to DUTs. TG traffic profile contains two L3 flow-groups | ... | (flow-group per direction, 1M flows per flow-group) with all packets | ... | containing Ethernet header, IPv4 header with IP protocol=61 and | ... | static payload. MAC addresses are matching MAC addresses of the TG | ... | node interfaces. Incrementing of IP.dst (IPv4 destination address) field | ... | is applied to both streams. | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** # X520-DA2 bandwidth limit | ${s_limit} | ${10000000000} | ${rts_per_flow}= | ${1000000} # Traffic profile: | ${traffic_profile} | trex-sl-3n-ethip4-ip4dst${rts_per_flow} *** Test Cases *** | tc01-64B-1t1c-ethip4-ip4scale2m-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps. | | [Tags] | 64B | 1C | NDRDISC | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc02-64B-1t1c-ethip4-ip4scale2m-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps, LT=0.5%. | | [Tags] | 64B | 1C | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | 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} | tc03-1518B-1t1c-ethip4-ip4scale2m-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps. | | [Tags] | 1518B | 1C | NDRDISC | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc04-1518B-1t1c-ethip4-ip4scale2m-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps, LT=0.5%. | | [Tags] | 1518B | 1C | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | 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} | tc05-9000B-1t1c-ethip4-ip4scale2m-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 10kpps. | | [Tags] | 9000B | 1C | NDRDISC | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc06-9000B-1t1c-ethip4-ip4scale2m-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 1 phy core, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%. | | [Tags] | 9000B | 1C | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | 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} | tc07-64B-2t2c-ethip4-ip4scale2m-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps. | | [Tags] | 64B | 2C | NDRDISC | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc08-64B-2t2c-ethip4-ip4scale2m-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps, LT=0.5%. | | [Tags] | 64B | 2C | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | 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} | tc09-1518B-2t2c-ethip4-ip4scale2m-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 1518 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps. | | [Tags] | 1518B | 2C | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc10-1518B-2t2c-ethip4-ip4scale2m-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 1518 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps, LT=0.5%. | | [Tags] | 1518B | 2C | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | 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} | tc11-9000B-2t2c-ethip4-ip4scale2m-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find NDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 10kpps. | | [Tags] | 9000B | 2C | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc12-9000B-2t2c-ethip4-ip4scale2m-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 2 phy cores, \ | | ... | 1 receive queue per NIC port. [Ver] Find PDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%. | | [Tags] | 9000B | 2C | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | 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} | tc13-64B-4t4c-ethip4-ip4scale2m-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps. | | [Tags] | 64B | 4C | NDRDISC | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc14-64B-4t4c-ethip4-ip4scale2m-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 64 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps, LT=0.5%. | | [Tags] | 64B | 4C | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${64} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | 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} | tc15-1518B-4t4c-ethip4-ip4scale2m-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 1518 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps. | | [Tags] | 1518B | 4C | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc16-1518B-4t4c-ethip4-ip4scale2m-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 1518 Byte frames | | ... | using binary search start at 10GE linerate, step 50kpps, LT=0.5%. | | [Tags] | 1518B | 4C | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${1518} | | ${min_rate}= | Set Variable | ${50000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Add no multi seg to all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | 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} | tc17-9000B-4t4c-ethip4-ip4scale2m-ndrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find NDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 10kpps. | | [Tags] | 9000B | 4C | NDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | Then Find NDR using binary search and pps | ${framesize} | ${binary_min} | | ... | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | tc18-9000B-4t4c-ethip4-ip4scale2m-pdrdisc | | [Documentation] | | ... | [Cfg] DUT runs IPv4 routing config with 4 phy cores, \ | | ... | 2 receive queues per NIC port. [Ver] Find PDR for 9000 Byte frames | | ... | using binary search start at 10GE linerate, step 10kpps, LT=0.5%. | | [Tags] | 9000B | 4C | PDRDISC | SKIP_PATCH | | ${framesize}= | Set Variable | ${9000} | | ${min_rate}= | Set Variable | ${10000} | | ${max_rate}= | Calculate pps | ${s_limit} | ${framesize} | | ${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 all DUTs | | And Apply startup configuration on all VPP DUTs | | And Initialize IPv4 forwarding with scaling in 3-node circular topology | | ... | ${rts_per_flow} | | 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}