aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/flow
AgeCommit message (Expand)AuthorFilesLines
2021-05-12flow: fix vxlan vni convert bugChenmin Sun1-2/+2
2021-04-22flow: Add API implementation of IP4/IP6, IP4_VXLAN/IP6_VXLANChenmin Sun3-1/+63
2021-04-14flow: The type of vni in VxLAN flow should be u32Chenmin Sun3-10/+8
2020-12-14misc: move to new pool_foreach macrosDamjan Marion1-2/+2
2020-10-21misc: minimize dependencies on udp.hFlorin Coras1-6/+10
2020-08-31flow: code refactorChenmin Sun4-352/+382
2020-08-25flow: add vnet/flow formal APIChenmin Sun4-0/+677
2020-06-27flow: add IPSec ESP/AH flowChenmin Sun2-1/+43
2020-04-30flow: add l2tpv3oip flowChenmin Sun2-2/+24
2020-04-28flow: add RSS supportChenmin Sun2-2/+110
2020-03-04flow: add vlan tagged types for IPv4/IPv6 5-tuple flowsChenmin Sun1-0/+17
2019-12-17flow: add ethernet flowChenmin Sun2-2/+23
2019-11-26flow: fix several crash issuesChenmin Sun1-0/+6
2019-11-20flow: Add GTP supportChenmin Sun2-18/+254
2019-10-16flow: Add 'drop' and 'redirect-to-queue' actions supportChenmin Sun1-0/+5
2019-01-08Fix name of ipv6-n-tupleHongjun Ni1-1/+1
2018-11-17pcap-based dispatch tracerDave Barach1-1/+1
2018-11-14Remove c-11 memcpy checks from perf-critical codeDave Barach1-1/+1
2018-10-23c11 safe string handling supportDave Barach2-2/+2
2018-06-04flow:add enabled hw format functionEyal Bari2-0/+25
2018-05-17flow:redirect to nodeEyal Bari1-0/+8
2018-05-10vnet: device flow offload infraDamjan Marion3-0/+818
2018-05-04Flow: Rename IPFIX exporter.Ole Troan8-2572/+0
2018-02-07Refactor vlib_buffer flagsDamjan Marion1-1/+1
2018-01-23VPPAPIGEN: vppapigen replacement in Python PLY.Ole Troan1-1/+1
2018-01-11api: remove transport specific code from handlersFlorin Coras1-15/+15
2018-01-09api: refactor vlibmemoryFlorin Coras1-5/+4
2018-01-08NAT64: IPFix (VPP-1106)Matus Fabian1-1/+5
2017-11-26VPP-252 Coding standards cleanup - vnet/vnet/flowSwarup Nayak6-563/+663
2017-10-09vppapigen: support per-file (major,minor,patch) version stampsDave Barach1-0/+2
2017-05-30Flowprobe: Stateful flows and IPv6, L4 recordingOle Troan4-11/+17
2017-05-24ipfix: make IPFIX work for all skip_n_vectors values (VPP-204)Juraj Sloboda1-22/+23
2017-04-25"autoreply" flag: autogenerate standard xxx_reply_t messagesDave Barach1-29/+3
2017-04-21CGN: IPFIX loggingMatus Fabian1-1/+2
2017-03-01VPP-598: tcp stack initial commitDave Barach1-1/+1
2017-01-25API refactoring : flowPavel Kotucek2-0/+570
2016-12-28Reorganize source tree to use single autotools instanceDamjan Marion6-0/+1915
Set up performance test | Test Teardown | Tear down performance mrr test with vhost and VM with dpdk-testpmd | ... | dut1_node=${dut1} | dut1_vm_refs=${dut1_vm_refs} | ... | dut2_node=${dut2} | dut2_vm_refs=${dut2_vm_refs} | ... | Test Template | Local Template | ... | Documentation | *Raw results L2BD with vhost and IEEE 802.1Q test cases* | ... | ... | *[Top] Network Topologies:* TG-DUT1-DUT2-TG 3-node circular topology\ | ... | with single links between nodes. | ... | *[Enc] Packet Encapsulations:* Eth-IPv4 for L2 switching of IPv4. IEEE\ | ... | 802.1Q tagging is applied on link between DUT1 and DUT2. | ... | *[Cfg] DUT configuration:* DUT1 and DUT2 are configured with L2 bridge-\ | ... | domain and MAC learning enabled. Qemu Guest is connected to VPP via\ | ... | vhost-user interfaces. Guest is running DPDK testpmd interconnecting\ | ... | vhost-user interfaces, forwarding mode is set to io, rxd/txd=1024.\ | ... | DUT1 and DUT2 are tested with 2p10GE NIC X520 Niantic by Intel. | ... | *[Ver] TG verification:* In MaxReceivedRate tests TG sends traffic\ | ... | at line rate and reports total received/sent packets over trial period.\ | ... | Test packets are generated by TG on links to DUTs. TG traffic profile\ | ... | contains two L3 flow-groups (flow-group per direction, 254 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. | ... | *[Ref] Applicable standard specifications:* RFC2544. *** Variables *** | ${subid}= | 10 | ${tag_rewrite}= | pop-1 | ${overhead}= | ${4} # Socket names | ${bd_id1}= | 1 | ${bd_id2}= | 2 | ${sock1}= | /tmp/sock-1-${bd_id1} | ${sock2}= | /tmp/sock-1-${bd_id2} # X520-DA2 bandwidth limit | ${s_limit}= | ${10000000000} # Traffic profile: | ${traffic_profile}= | trex-sl-3n-ethip4-ip4src254 *** Keywords *** | Local Template | | [Documentation] | | ... | [Cfg] Each DUT runs L2BD switching with VLAN and uses ${phy_cores}\ | | ... | physical core(s) for worker threads. | | ... | [Ver] Measure MaxReceivedRate for ${framesize}B frames using single\ | | ... | trial throughput test. | | ... | | ... | *Arguments:* | | ... | - framesize - Framesize in Bytes in integer or string (IMIX_v4_1). | | ... | Type: integer, string | | ... | - phy_cores - Number of physical cores. Type: integer | | ... | - rxq - Number of RX queues, default value: ${None}. Type: integer | | ... | | [Arguments] | ${framesize} | ${phy_cores} | ${rxq}=${None} | | ... | | ${dut1_vm_refs}= | Create Dictionary | | ${dut2_vm_refs}= | Create Dictionary | | Set Test Variable | ${dut1_vm_refs} | | Set Test Variable | ${dut2_vm_refs} | | ... | | Given Add worker threads and rxqueues to all DUTs | ${phy_cores} | ${rxq} | | And Add PCI devices to all DUTs | | ${max_rate} | ${jumbo} = | Get Max Rate And Jumbo And Handle Multi Seg | | ... | ${s_limit} | ${framesize} | overhead=${overhead} | | And Apply startup configuration on all VPP DUTs | | When Initialize L2 bridge domains with Vhost-User and VLAN in circular topology | | ... | ${bd_id1} | ${bd_id2} | ${sock1} | ${sock2} | ${subid} | | ... | ${tag_rewrite} | | And Configure guest VMs with dpdk-testpmd connected via vhost-user | | ... | vm_count=${1} | jumbo=${jumbo} | perf_qemu_qsz=${1024} | | ... | use_tuned_cfs=${False} | | Then Traffic should pass with maximum rate | | ... | ${max_rate}pps | ${framesize} | ${traffic_profile} *** Test Cases *** | tc01-64B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | 64B | 1C | | framesize=${64} | phy_cores=${1} | tc02-64B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | 64B | 2C | | framesize=${64} | phy_cores=${2} | tc03-64B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | 64B | 4C | | framesize=${64} | phy_cores=${4} | tc04-1518B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | 1518B | 1C | | framesize=${1518} | phy_cores=${1} | tc05-1518B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | 1518B | 2C | | framesize=${1518} | phy_cores=${2} | tc06-1518B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | 1518B | 4C | | framesize=${1518} | phy_cores=${4} | tc07-9000B-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | 9000B | 1C | | framesize=${9000} | phy_cores=${1} | tc08-9000B-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | 9000B | 2C | | framesize=${9000} | phy_cores=${2} | tc09-9000B-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | 9000B | 4C | | framesize=${9000} | phy_cores=${4} | tc10-IMIX-1c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | IMIX | 1C | | framesize=IMIX_v4_1 | phy_cores=${1} | tc11-IMIX-2c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | IMIX | 2C | | framesize=IMIX_v4_1 | phy_cores=${2} | tc12-IMIX-4c-dot1q-l2bdbasemaclrn-eth-2vhostvr1024-1vm-mrr | | [Tags] | IMIX | 4C | | framesize=IMIX_v4_1 | phy_cores=${4}