summaryrefslogtreecommitdiffstats
path: root/src/vcl
AgeCommit message (Expand)AuthorFilesLines
2021-12-14api: verify message size on receiptKlement Sekera1-1/+6
2021-12-08vcl: validate closed sessions on disconnect and resetFlorin Coras1-2/+2
2021-12-07vcl: debug code improvementsFlorin Coras1-36/+33
2021-12-07vcl: handle reordering of disconnect and reset msgsFlorin Coras2-11/+61
2021-12-06vcl: fix ldp shared listener bitmap leakFlorin Coras1-1/+2
2021-11-30vcl: improve handling of failed connectsFlorin Coras1-10/+13
2021-11-30vcl: avoid ip format function vnet dependencyFlorin Coras3-169/+187
2021-11-29vcl: fix build with older gccFlorin Coras1-1/+1
2021-11-15vcl: add DSCP support in VCLFilip Tehlar3-0/+15
2021-11-11vcl: notify vpp if connected inexistent sessionFlorin Coras1-1/+11
2021-11-03vcl: fix event triggered after closing connections.liuyacan1-1/+15
2021-10-22vcl: fix cfg parser handling of empty linesFlorin Coras1-0/+2
2021-10-15vcl: narrow the scope of the restriction of vlsh_bit_valwanghanlin1-3/+4
2021-10-04vcl: remove unsed configsFlorin Coras3-38/+2
2021-09-28api: API trace improvementsFilip Tehlar1-4/+5
2021-09-23vcl: grab wrk create lock soonerFlorin Coras1-3/+6
2021-09-10vcl: avoid duplicated events in epoll ltliuyacan1-4/+6
2021-09-10vcl: fix free segments assertFlorin Coras1-1/+1
2021-09-01vcl: ignore rx events for sessions in epoll lt listFlorin Coras1-2/+3
2021-08-30vcl: fix vlsh conversion errorliuyacan1-3/+1
2021-08-12session vcl: cert key add/del with socket apiFlorin Coras3-10/+117
2021-08-02vcl: fix sendto for dgramsliuyacan1-4/+4
2021-08-02vcl: fix sleep time in ldp_pselect()liuyacan1-1/+2
2021-07-31vcl: fix ldp for __recv_chk socket callsSivaprasad Tummala2-0/+17
2021-07-29vcl: move vls pool lock to process local stateFlorin Coras1-6/+7
2021-07-29vcl: vls cleanup and more docsFlorin Coras1-101/+167
2021-07-27vcl: configure the cert-key pair from appSivaprasad Tummala1-4/+4
2021-07-27vcl: fix some risk after fork()liuyacan1-9/+17
2021-07-25vcl: fix shutdown deadlock issueliuyacan1-1/+1
2021-07-22session vcl: explit mq indices in ctrl messagesFlorin Coras3-15/+16
2021-07-14vcl:fix segfault when unshare NO_MQ sessionliuyacan1-1/+2
2021-07-12session: api cleanupFilip Tehlar1-29/+42
2021-07-06vcl: fix packetdrill test errorwanghanlin1-1/+1
2021-07-06vcl: print current app state for timeoutwanghanlin1-2/+2
2021-07-06vcl: fix return value check for ldp_fd_to_vlshwanghanlin1-3/+3
2021-06-30vcl: coverity fixesFlorin Coras1-1/+1
2021-06-29vcl: improvements to epoll ltFlorin Coras3-52/+85
2021-06-29vcl: Don't use app_socket_api to notify VPP in parent when child exitedwanghanlin1-1/+5
2021-06-29vcl: Don't memset events to optimize CPU usagewanghanlin1-8/+6
2021-06-28vcl: epoll fix postponed evt handlingFlorin Coras1-6/+33
2021-06-24vcl: fix vcl_session_write_ready when connectingliuyacan1-0/+4
2021-06-22vcl: validate vep handle when copying sessions on forkwanghanlin1-0/+31
2021-06-22vcl: move child wrk cleanup from sighandler to vls_epoll_waitwanghanlin1-1/+42
2021-06-16vcl: fix fifo sharingFlorin Coras4-2/+26
2021-06-16vcl: fix worker cleanupFlorin Coras1-0/+7
2021-06-16vcl: basic support for epoll level-triggered evtsFlorin Coras3-5/+102
2021-06-14vcl: improve shutdown()liuyacan6-54/+40
2021-06-10vcl: touch fifo on epoll del only if session openFlorin Coras1-3/+6
2021-06-07vcl: accept zero length writesFlorin Coras1-7/+8
2021-06-07vcl: avoid multiple reads on peekFlorin Coras1-0/+4
n class="p">}= | 192.168.10.2 | ${dut1_if1_ip4}= | 192.168.10.1 | ${tun_if1_ip4}= | 100.0.0.1 | ${tun_if2_ip4}= | 100.0.0.2 | ${raddr_ip4}= | 20.0.0.0 | ${laddr_ip4}= | 10.0.0.0 | ${addr_range}= | ${24} | ${n_tunnels}= | ${1000} # Traffic profile: | ${traffic_profile}= | trex-stl-2n-ethip4-ip4dst${n_tunnels}-udir | ${traffic_directions}= | ${1} *** Keywords *** | Local Template | | [Documentation] | | ... | - **[Cfg]** DUT runs IPSec tunneling AES_256_GCM config. \ | | ... | Each DUT uses ${phy_cores} physical core(s) for worker threads. | | ... | - **[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 - Number of physical cores. Type: integer | | ... | - rxq - Number of RX queues, default value: ${None}. 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} | | ${ipsec_proto} = | IPsec Proto ESP | | | | 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 Initialize IPSec in 2-node circular topology | | And VPP IPsec Add Multiple Tunnels | | ... | ${nodes} | ${DUT1_${int}2}[0] | ${TG_pf2}[0] | ${n_tunnels} | | ... | ${encr_alg} | ${auth_alg} | ${tun_if1_ip4} | ${tun_if2_ip4} | | ... | ${laddr_ip4} | ${raddr_ip4} | ${addr_range} | | Then Find NDR and PDR intervals using optimized search *** Test Cases *** | 64B-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | 64B | 1C | | frame_size=${64} | phy_cores=${1} | 64B-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | 64B | 2C | | frame_size=${64} | phy_cores=${2} | 64B-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | 64B | 4C | | frame_size=${64} | phy_cores=${4} | 1518B-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | 1518B | 1C | | frame_size=${1518} | phy_cores=${1} | 1518B-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | 1518B | 2C | | frame_size=${1518} | phy_cores=${2} | 1518B-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | 1518B | 4C | | frame_size=${1518} | phy_cores=${4} | 9000B-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | 9000B | 1C | | frame_size=${9000} | phy_cores=${1} | 9000B-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | 9000B | 2C | | frame_size=${9000} | phy_cores=${2} | 9000B-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | 9000B | 4C | | frame_size=${9000} | phy_cores=${4} | IMIX-1c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | IMIX | 1C | | frame_size=IMIX_v4_1 | phy_cores=${1} | IMIX-2c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | IMIX | 2C | | frame_size=IMIX_v4_1 | phy_cores=${2} | IMIX-4c-ethip4ipsec1000tnlsw-ip4base-policy-aes256gcm-udir-ndrpdr | | [Tags] | IMIX | 4C | | frame_size=IMIX_v4_1 | phy_cores=${4}