aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/avf/avf.h
AgeCommit message (Expand)AuthorFilesLines
2021-03-25avf: introduce program flow eventChenmin Sun1-0/+12
2021-01-21avf: use write combining store for queues tail updateRadu Nicolau1-0/+11
2021-01-21interface: rx queue infra rework, part oneDamjan Marion1-0/+1
2020-12-01avf: add TSO supportMohammed Hawari1-0/+15
2020-11-15avf: add L4 checksum offload supportMohammed Hawari1-0/+16
2020-10-26vlib: add VLIB_REGISTER_LOG_CLASS macroDamjan Marion1-5/+5
2020-10-09avf: add add_del_mac_address handlerDamjan Marion1-2/+17
2020-09-29avf: validate queue size configSteven Luong1-0/+3
2020-09-11avf: change promisc mode from the avf process nodeDamjan Marion1-0/+2
2020-09-11avf: fix race between avf and cli/api processDamjan Marion1-1/+7
2020-09-11avf: fix race between avf process node and avf_delete_if(...)Damjan Marion1-2/+2
2020-05-22avf: interrupt mode, support for WB_ON_ITRDamjan Marion1-1/+3
2020-03-24avf: proper promisc handlingDamjan Marion1-1/+2
2020-02-25avf: Handle chain buffer in TX properlySteven Luong1-1/+2
2019-10-23avf: improve timeout handlingJakub Grajciar1-1/+7
2019-08-21avf: print queue id in packet traceDamjan Marion1-1/+2
2019-06-25avf: fix clear hw statsFilip Tehlar1-0/+1
2019-06-18avf: fix adminq enqueue errorsDamjan Marion1-0/+3
2019-06-18avf: add logging macros and improve loggingDamjan Marion1-0/+16
2019-02-14Add -fno-common compile optionBenoƮt Ganne1-1/+1
2019-01-30buffers: major cleanup and improvementsDamjan Marion1-0/+1
2019-01-07avf: allocate descriptor memory from local numaDamjan Marion1-0/+1
2018-12-29avf: tx dequeue optimizationsDamjan Marion1-0/+1
2018-12-29avf: chained buffers rx supportDamjan Marion1-2/+23
2018-12-28avf: chained buffers tx supportDamjan Marion1-0/+4
2018-12-26avf: optimize RX functionDamjan Marion1-12/+12
2018-12-23avf: new ethernet-input supportDamjan Marion1-12/+0
2018-12-23avf: add option to specify interface nameDamjan Marion1-0/+2
2018-10-23Numa-aware, growable physical memory allocator (pmalloc)Damjan Marion1-3/+1
2018-08-30avf: RSS supportJakub Grajciar1-0/+1
2018-08-28avf: deal willth tx ring full properlyDamjan Marion1-0/+11
2018-08-11Multiversioning: Device (tx) function constructorMohsin Kazmi1-2/+0
2018-07-26avf: used tx queue should be enabledDamjan Marion1-0/+2
2018-07-26avf: fix interrupt modeDamjan Marion1-0/+1
2018-07-25avf: api fixJakub Grajciar1-0/+1
2018-07-11avf: descriptor should be volatileDamjan Marion1-5/+25
2018-06-27avf: binary API and configurable RX/TX queue sizeJakub Grajciar1-0/+9
2018-06-02AVF input node reworkDamjan Marion1-3/+2
2018-05-22avf plugin: add support for loggingJakub Grajciar1-0/+4
2018-03-26Intel Adaptive Virtual Function native device driver pluginDamjan Marion1-0/+265
class="nf">Tear down test | performance | ipsec_sa | | Test Template | Local Template | | Documentation | **RFC2544: Pkt throughput IPv4 IPsec tunnel mode.** | ... | | ... | - **[Top] Network Topologies:** TG-DUT1-DUT2-TG 3-node circular \ | ... | topology with single links between nodes. | ... | | ... | - **[Enc] Packet Encapsulations:** Eth-IPv4 on TG-DUTn, \ | ... | Eth-IPv4-IPSec on DUT1-DUT2. | ... | | ... | - **[Cfg] DUT configuration:** DUT1 and DUT2 are configured with \ | ... | multiple IPsec tunnels between them, run with IPsec async mode and \ | ... | use crypto sw scheduler engine to schedule crypto work to crypto \ | ... | cores. DUTs get IPv4 traffic from TG, encrypt it and send to another \ | ... | DUT, where packets are decrypted and sent back to TG. | ... | | ... | - **[Ver] TG verification:** TG finds and reports throughput NDR (Non \ | ... | Drop Rate) with zero packet loss tolerance and 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 MLRsearch \ | ... | library. | ... | Test packets are generated by TG on \ | ... | links to DUTs. TG traffic profile contains two L3 flow-groups \ | ... | (flow-group per direction, number of flows per flow-group equals to \ | ... | number of IPSec tunnels) 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) \ | ... | is applied to both streams. | ... | | ... | - **[Ref] Applicable standard specifications:** RFC4303 and RFC2544. *** Variables *** | @{plugins_to_enable}= | dpdk_plugin.so | perfmon_plugin.so | ... | crypto_native_plugin.so | ... | crypto_ipsecmb_plugin.so | crypto_sw_scheduler_plugin.so | ... | crypto_openssl_plugin.so | ${crypto_type}= | ${None} | ${nic_name}= | Intel-X710 | ${nic_driver}= | vfio-pci | ${nic_rxq_size}= | 0 | ${nic_txq_size}= | 0 | ${nic_pfs}= | 2 | ${nic_vfs}= | 0 | ${osi_layer}= | L3 | ${overhead}= | ${54} | ${tg_if1_ip4}= | 192.168.10.254 | ${dut1_if1_ip4}= | 192.168.10.11 | ${dut1_if2_ip4}= | 100.0.0.1 | ${dut2_if1_ip4}= | 200.0.0.102 | ${dut2_if2_ip4}= | 192.168.20.11 | ${tg_if2_ip4}= | 192.168.20.254 | ${raddr_ip4}= | 20.0.0.0 | ${laddr_ip4}= | 10.0.0.0 | ${addr_range}= | ${24} | ${n_tunnels}= | ${1} | ${dp_cores_count}= | ${1} # Traffic profile: | ${traffic_profile}= | trex-stl-3n-ethip4-ip4dst${n_tunnels} *** Keywords *** | Local Template | | [Documentation] | | ... | - **[Cfg]** DUT runs IPSec tunneling AES_256_GCM config. \ | | ... | Each DUT uses one physical core for data plane workers \ | | ... | and rest of ${phy_cores} physical core(s) for crypto workers. | | ... | - **[Ver]** Measure NDR and PDR values using MLRsearch algorithm. | | | | ... | *Arguments:* | | ... | - frame_size - Framesize in Bytes in integer or string (IMIX_v4_1). | | ... | Type: integer, string | | ... | - phy_cores - Total number of physical cores. Type: integer | | ... | - rxq - Number of RX queues, default value: ${1}. Type: integer | | | | [Arguments] | ${frame_size} | ${phy_cores} | ${rxq}=${None} | | | | Set Test Variable | \${frame_size} | | | | # These are enums (not strings) so they cannot be in Variables table. | | ${encr_alg}= | Crypto Alg AES GCM 256 | | ${auth_alg}= | Set Variable | ${NONE} | | | | Given Set Max Rate And Jumbo | | And Add worker threads to all DUTs | ${phy_cores} | ${rxq} | | And Pre-initialize layer driver | ${nic_driver} | | And Apply startup configuration on all VPP DUTs | | When Initialize layer driver | ${nic_driver} | | And Initialize layer interface | | And Enable IPSec Async Mode on all VPP DUTs | | And Set Data Plane And Feature Plane Workers for IPsec on all VPP DUTs | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${nodes} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${DUT1_${int}2}[0] | | ... | ${DUT2_${int}1}[0] | ${n_tunnels} | ${encr_alg} | ${auth_alg} | | ... | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** | 64B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 64B | 2C | | frame_size=${64} | phy_cores=${2} | 64B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 64B | 3C | | frame_size=${64} | phy_cores=${3} | 64B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 64B | 4C | | frame_size=${64} | phy_cores=${4} | 1518B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 1518B | 2C | | frame_size=${1518} | phy_cores=${2} | 1518B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 1518B | 3C | | frame_size=${1518} | phy_cores=${3} | 1518B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 1518B | 4C | | frame_size=${1518} | phy_cores=${4} | 9000B-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 9000B | 2C | | frame_size=${9000} | phy_cores=${2} | 9000B-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 9000B | 3C | | frame_size=${9000} | phy_cores=${3} | 9000B-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | 9000B | 4C | | frame_size=${9000} | phy_cores=${4} | IMIX-2c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | IMIX | 2C | | frame_size=IMIX_v4_1 | phy_cores=${2} | IMIX-3c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | IMIX | 3C | | frame_size=IMIX_v4_1 | phy_cores=${3} | IMIX-4c-ethip4ipsec1tnlswasync-scheduler-ip4base-int-aes256gcm-ndrpdr | | [Tags] | IMIX | 4C | | frame_size=IMIX_v4_1 | phy_cores=${4}