aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Expand)AuthorFilesLines
2020-05-14nat: ED: store both thread&session idx in hashKlement Sekera10-198/+316
2020-05-14nat: fix segv if out of ports in ed modeAlexander Chernavin2-1/+47
2020-05-14ip: fix interface ip address del sw_if_index checkyedg4-6/+27
2020-05-13sr: fix srv6/srv6-ad/srv6-as promisc mode switchJohn Lo3-22/+32
2020-05-13gso: remove ordering dependency on esp-encrypt-tunNeale Ranns1-2/+2
2020-05-13nat: fix broken buildKlement Sekera1-1/+1
2020-05-13nat: fix LRU blocked by inactive sessionKlement Sekera10-161/+391
2020-05-13nat: perf improvement - replace branchy codeKlement Sekera32-451/+401
2020-05-13interface: fix the checksum offload in quad loopMohsin Kazmi1-20/+25
2020-05-13feature: Config end nodes are user specificNeale Ranns5-24/+41
2020-05-13bonding: fix the GSO flagsMohsin Kazmi1-2/+8
2020-05-13ipsec: Support 4o6 and 6o4 for SPD tunnel mode SAsNeale Ranns3-38/+120
2020-05-13nat: handoff next node feature fixFilip Varga8-48/+160
2020-05-13ikev2: fix removing of expired SAsFilip Tehlar1-1/+1
2020-05-12api: use malloc for rx thread arg instead of heapFlorin Coras1-2/+2
2020-05-12vcl: de-init vcl on destroyFlorin Coras1-0/+1
2020-05-12tcp: avoid rcv wnd less than mssFlorin Coras1-6/+4
2020-05-12lacp: missing endian conversions for trace packet formatSteven Luong1-2/+2
2020-05-11crypto-native: properly deal with broken or outdated toolchainsDamjan Marion5-42/+54
2020-05-11vlib: fix u64 error counter cli printingFlorin Coras1-3/+3
2020-05-10ip-neighbor: fix show ip neighbor issueMichael Yu1-5/+4
2020-05-10ethernet: fix dmac stride errorZhiyong Yang1-1/+1
2020-05-09vppapigen: api crc checkerOle Troan2-23/+67
2020-05-09gtpu: fix coverity issueChenmin Sun1-2/+2
2020-05-08docs: fix merge damage in nat.hDave Wallace1-4/+0
2020-05-08vppinfra: set explicit found in search_free_list loopSteven Luong1-2/+6
2020-05-08build: various improvementsDamjan Marion7-13/+20
2020-05-08ethernet: fix coverity warningDave Barach1-1/+1
2020-05-08papi: use python3 for papi installOle Troan1-1/+1
2020-05-08nat: fix per thread data vlib_main_t usage take 2Ole Troan7-42/+32
2020-05-08vppinfra: fix u32x4_byte_swap on ArmLijian.Zhang1-1/+1
2020-05-07vppinfra: loop counter off by 1 in search_free_list()Steven Luong1-1/+1
2020-05-07nat: remove duplicate line of codeKlement Sekera1-1/+0
2020-05-07nat: fix per thread data vlib_main_t usageFilip Varga9-75/+97
2020-05-07misc: deprecate elftoolDamjan Marion4-501/+1
2020-05-07session: catch segment manager alloc failureFlorin Coras1-3/+4
2020-05-07lacp: fix regarding vm arg for vlib_time_now callsElias Rudberg6-43/+26
2020-05-07rdma: fix alignment issueDamjan Marion2-2/+5
2020-05-06docs: clean up make docs jobPaul Vinciguerra33-55/+89
2020-05-06crypto: fix coverity issuesFan Zhang2-25/+12
2020-05-06misc: fix coverity warningsDave Barach2-2/+2
2020-05-06rdma: fix clang buildBenoƮt Ganne1-2/+9
2020-05-06misc: fts add support for non-ascii author names in yamlPaul Vinciguerra1-2/+2
2020-05-06nat: ipfix logging vlib_mains[thread_index] bugfixElias Rudberg1-16/+16
2020-05-06nat: enable force session cleanupFilip Varga6-142/+236
2020-05-06nat: fix coverity warningKlement Sekera1-19/+5
2020-05-05tests: add test description to quic testsDave Wallace1-0/+24
2020-05-05ipsec: User can choose the UDP source portNeale Ranns10-26/+112
2020-05-05session: improve .api comments slightlyVratko Polak1-3/+3
2020-05-05api: ip: add IP_ROUTE_LOOKUP APIChristian Hopps2-0/+83
}= | 192.168.10.2 | ${dut1_if1_ip4}= | 192.168.10.1 | ${dut1_if2_ip4}= | 172.168.1.1 | ${dut2_if1_ip4}= | 172.168.1.2 | ${dut2_if2_ip4}= | 192.168.20.1 | ${tg_if2_ip4}= | 192.168.20.2 | ${raddr_ip4}= | 20.0.0.0 | ${laddr_ip4}= | 10.0.0.0 | ${addr_range}= | ${32} | ${ipsec_overhead_gcm}= | ${54} | ${n_tunnels}= | ${1} # Traffic profile: | ${traffic_profile} | trex-sl-3n-ethip4-ip4dst${n_tunnels} *** Keywords *** | Discover NDR or PDR for IPv4 routing with IPSec SW cryptodev | | [Arguments] | ${wt} | ${rxq} | ${framesize} | ${min_rate} | ${search_type} | | Set Test Variable | ${framesize} | | Set Test Variable | ${min_rate} | | ${get_framesize}= | Get Frame Size | ${framesize} | | ${max_rate}= | Calculate pps | ${s_limit} | | ... | ${get_framesize} + ${ipsec_overhead_gcm} | | ${max_rate}= | Set Variable If | | ... | ${max_rate} > ${s_18.75Mpps} | ${s_18.75Mpps} | ${max_rate} | | ${binary_min}= | Set Variable | ${min_rate} | | ${binary_max}= | Set Variable | ${max_rate} | | ${threshold}= | Set Variable | ${min_rate} | | ${encr_alg}= | Crypto Alg AES GCM 128 | | ${auth_alg}= | Integ Alg AES GCM 128 | | 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 Add no multi seg to all DUTs | | And Add DPDK SW cryptodev on DUTs in 3-node single-link circular topology | | ... | aesni_gcm | ${${wt}} | | And Add DPDK dev default RXD to all DUTs | 2048 | | And Add DPDK dev default TXD to all DUTs | 2048 | | And Apply startup configuration on all VPP DUTs | | And Generate keys for IPSec | ${encr_alg} | ${auth_alg} | | And Initialize IPSec in 3-node circular topology | | And VPP IPsec Create Tunnel Interfaces | | ... | ${dut1} | ${dut2} | ${dut1_if2_ip4} | ${dut2_if1_ip4} | ${dut1_if2} | | ... | ${dut2_if1} | ${n_tunnels} | ${encr_alg} | ${encr_key} | ${auth_alg} | | ... | ${auth_key} | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Run Keyword If | '${search_type}' == 'NDR' | | ... | Find NDR using binary search and pps | | ... | ${framesize} | ${binary_min} | ${binary_max} | ${traffic_profile} | | ... | ${min_rate} | ${max_rate} | ${threshold} | | ... | ELSE IF | '${search_type}' == 'PDR' | | ... | 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} *** Test Cases *** | tc01-64B-1t1c-ethip4ipsecbasetnlsw-ip4base-int-aes-gcm-ndrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find NDR for 64 Byte frames\ | | ... | using binary search start at 40GE linerate, step 50kpps. | | ... | | [Tags] | 64B | 1T1C | STHREAD | NDRDISC | | ... | | [Template] | Discover NDR or PDR for IPv4 routing with IPSec SW cryptodev | | wt=1 | rxq=1 | framesize=${64} | min_rate=${50000} | search_type=NDR | tc02-64B-1t1c-ethip4ipsecbasetnlsw-ip4base-int-aes-gcm-pdrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\ | | ... | linerate, step 50kpps and loss tolerance of 0.5%. | | ... | | [Tags] | 64B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... | | [Template] | Discover NDR or PDR for IPv4 routing with IPSec SW cryptodev | | wt=1 | rxq=1 | framesize=${64} | min_rate=${50000} | search_type=PDR | tc03-1518B-1t1c-ethip4ipsecbasetnlsw-ip4base-int-aes-gcm-ndrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find NDR for 1518 Byte frames\ | | ... | using binary search start at 40GE linerate, step 50kpps. | | ... | | [Tags] | 1518B | 1T1C | STHREAD | NDRDISC | | ... | | [Template] | Discover NDR or PDR for IPv4 routing with IPSec SW cryptodev | | wt=1 | rxq=1 | framesize=${1518} | min_rate=${50000} | search_type=NDR | tc04-1518B-1t1c-ethip4ipsecbasetnlsw-ip4base-int-aes-gcm-pdrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find PDR for 1518 Byte frames using binary search start at 40GE\ | | ... | linerate, step 50kpps and loss tolerance of 0.5%. | | ... | | [Tags] | 1518B | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... | | [Template] | Discover NDR or PDR for IPv4 routing with IPSec SW cryptodev | | wt=1 | rxq=1 | framesize=${1518} | min_rate=${50000} | search_type=PDR | tc05-IMIX-1t1c-ethip4ipsecbasetnlsw-ip4base-int-aes-gcm-ndrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find NDR for IMIX_v4_1 frames\ | | ... | using binary search start at 40GE linerate, step 50kpps. | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B) | | ... | | [Tags] | IMIX | 1T1C | STHREAD | NDRDISC | | ... | | [Template] | Discover NDR or PDR for IPv4 routing with IPSec SW cryptodev | | wt=1 | rxq=1 | framesize=IMIX_v4_1 | min_rate=${50000} | search_type=NDR | tc06-IMIX-1t1c-ethip4ipsecbasetnlsw-ip4base-int-aes-gcm-pdrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\ | | ... | with 1 thread, 1 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find PDR for IMIX_v4_1 frames using binary search start at 40GE\ | | ... | linerate, step 50kpps and loss tolerance of 0.5%. | | ... | IMIX_v4_1 = (28x64B; 16x570B; 4x1518B) | | ... | | [Tags] | IMIX | 1T1C | STHREAD | PDRDISC | SKIP_PATCH | | ... | | [Template] | Discover NDR or PDR for IPv4 routing with IPSec SW cryptodev | | wt=1 | rxq=1 | framesize=IMIX_v4_1 | min_rate=${50000} | search_type=PDR | tc07-64B-2t2c-ethip4ipsecbasetnlsw-ip4base-int-aes-gcm-ndrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\ | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find NDR for 64 Byte frames\ | | ... | using binary search start at 40GE linerate, step 50kpps. | | ... | | [Tags] | 64B | 2T2C | MTHREAD | NDRDISC | | ... | | [Template] | Discover NDR or PDR for IPv4 routing with IPSec SW cryptodev | | wt=2 | rxq=1 | framesize=${64} | min_rate=${50000} | search_type=NDR | tc08-64B-2t2c-ethip4ipsecbasetnlsw-ip4base-int-aes-gcm-pdrdisc | | [Documentation] | | ... | [Cfg] DUTs run 1 IPsec tunnel AES GCM in each direction, configured\ | | ... | with 2 thread, 2 phy core, 1 receive queue per NIC port. | | ... | [Ver] Find PDR for 64 Byte frames using binary search start at 40GE\ | | ... | linerate, step 50kpps and loss tolerance of 0.5%. | | ... | | [Tags] | 64B | 2T2C | MTHREAD | PDRDISC | SKIP_PATCH | | ... | | [Template] | Discover NDR or PDR for IPv4 routing with IPSec SW cryptodev | | wt=2 | rxq=1 | framesize=${64} | min_rate=${50000} | search_type=PDR