aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2024-11-28vcl: store libc_epfd in vls instead of vclFlorin Coras6-36/+59
ldp stores the libc epfds it uses in conjunction with vcl epfds in vcl attributes. Apart from being an ldp, as opposed to vcl, specific attribute, the epfd is retrieved on session close with vls locks that could be acquired from multiple threads. Avoid grabbing locks when retrieving the attribute. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I5fc52d72667a7693b1557d209c3890a968422f1e
2024-11-27hs-test: added ldp iperf tcp testAdrian Villin2-6/+13
- renamed other iperf tests Type: test Change-Id: I9cc7b49f23e9e0c6a01d2f74aef722d580478f75 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-27hs-test: don't use reserved UDP ports for bindingAdrian Villin1-2/+36
Type: test Change-Id: Ief0d238bbbf533779618b971f01099aa113c1c08 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-27api: fix bug in pcap capture apiHadi Rayan Al-Sandid2-1/+11
pcap api cleanup can cause crash in certain scenarios e.g.missing/invalid 'filename' parameter. Type: fix Change-Id: I92417765960de84e30ed7cb945d40c50d722fb6c Signed-off-by: Hadi Rayan Al-Sandid <halsandi@cisco.com>
2024-11-27tests: remove use of python 2.7 compatibility module 'six'Dave Wallace4-50/+38
- python 2.7 is no longer supported, clean up technical debt with use of 'six' module in test code Type: test Change-Id: I70e737920a6048c5e9caa20fece5ee21b91bb353 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-27tests: use v3 version of session sdl dump api in ip6 testDave Wallace1-1/+1
- session_sdl_v2_dump api command is deprecated Type: fix Change-Id: I4f7a140e7e39fae8076caa54fd8bfb0c755c6767 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-27vapi: only wait if queue is emptyMatthew Smith1-1/+2
Type: fix Fixes: 4b9935cd54 In vapi_wait(), check that the queue is empty before waiting. The condvar is only signaled on addition of the first message. pthread_cond_wait() will block approximately forever if there are already messages in the queue. Change-Id: Ic52befe443509f3c53aa9a872ba62bb05aaac25e Signed-off-by: Matthew Smith <mgsmith@netgate.com>
2024-11-27vapi: remove plugin dependency from testsStanislav Zaikin2-93/+117
replace unnecessary dependency on mss_clamp plugin with ip_path_mtu_get streaming rpc. Type: fix Change-Id: I50538e40697b7f463be5fa25319e2bcd40b2f13f Signed-off-by: Stanislav Zaikin <stanislav.zaikin@46labs.com>
2024-11-27build: Add FreeBSD install-dep supportTom Jones1-1/+17
Type: improvement Change-Id: I265ea61844bebdf086442fb334de20c1909a6683 Signed-off-by: Tom Jones <thj@freebsd.org>
2024-11-27vat2: docsBence Romsics2-0/+192
Add a bit of documentation for vat2 - mostly through examples. Type: docs Change-Id: I1a95047b2bd33522f562c9c1a6a7e9e639ab1a47 Signed-off-by: Bence Romsics <bence.romsics@gmail.com>
2024-11-26build: add SHA256 checksums for downloaded dependenciesAndrew Yourtchenko9-34/+20
- Replace md5sum with sha256sum for verification of downloaded external and optional dependencies. Type: improvement Change-Id: I52c96098d3cfd4c1eaf599da44a7b859ad24f1a4 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-22hs-test: added multithreaded vpp proxy testsAdrian Villin6-16/+67
- if a test is named '...MTTest', 3 cpus will be allocated to vpp - updated docs Type: test Change-Id: I756dfb6cdbff4368d606ca3abbc1a510cd1d6b51 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-22pg: fix the buffer deletionMohsin Kazmi2-11/+134
Type: fix Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com> Change-Id: I8f0a67706399dad1e5296aafd1cfa92958b2fe82
2024-11-22papi: remove deprecated pkg_resourcesOle Troan3-9/+11
Replace use of pkg_resources with new supported APIs under importlib. Type: fix Change-Id: I67a7d936c634107c1ae87c0a06bea2355d906739 Signed-off-by: Ole Troan <otroan@employees.org>
2024-11-22build: separate package suffixes for vpp-ext-deps and vpp-opt-depsDave Wallace3-1/+4
Type: make Change-Id: Icc8b4937ed98474da9d27668318a2a9e3d4a3ae5 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-21fib: fix `show ip fib memory` output errorJay Wang1-3/+2
Put `memory` before `mem` when parsing `show ip fib` CLI command to avoid the following annoying output error. vpp# show ip fib memory ipv4-VRF:0 mtrie:343808 hash:4687 totals: mtrie:343808 hash:4687 all:348495 unknown input `ory' Type: fix Signed-off-by: Jay Wang <jay.wang2@arm.com> Change-Id: I5f990243309d6e6ea339e8442f5e68ae90a98814
2024-11-21hs-test: added tls tcp iperf testAdrian Villin2-5/+23
Type: test Change-Id: I7ed1a6dea644eb19b8022db07344503121e61517 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-21vcl: make ldp workers thread localFlorin Coras1-21/+5
Multi-threaded apps that do not allocate per-thread workers (multi-thread workers vcl config) ended up sharing worker state like the select bitmaps and time among others. Those should not be shared. To avoid this, make ldp workers thread local variables. Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Iabdcc413991dbaafff33f24187f7053a9c5a1270
2024-11-21hsa: added request repeating to http clientAdrian Villin3-126/+316
- added request repeating (repeat <count>|duration <seconds>) - added basic stats Type: feature Change-Id: Ic69eac8029eac31ea5ace5b5c0da1ce7a3543ac0 Signed-off-by: Adrian Villin <avillin@cisco.com>
2024-11-21session: fix ct get peer if peer freedFlorin Coras1-0/+2
Type: fix Change-Id: Iae00637ab843121651f187436bf849f41874f48c Signed-off-by: Florin Coras <fcoras@cisco.com>
2024-11-20build: add vpp-opt-deps packageDave Wallace14-44/+323
- Build an optional vpp package for optional dynamically linked dependencies for vpp plugins. Initial package contents include openssl 3.3.2. - Refactor $WS_ROOT/build makefile structure - Remove vpp-ext-deps debian control replacement of vpp-dpdk-dev package Type: make Change-Id: I1af0eff4a0c009c9d9061362f79e2013d8bf1a93 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-19http: track requests as independent objectsMatus Fabian2-182/+203
Type: improvement Change-Id: I6c1808a82f61c71f34eab12ae5f99cca5fee8854 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-19http: HTTP Datagrams and the Capsule ProtocolMatus Fabian2-0/+265
Type: improvement Change-Id: I45de69172eec54578ceebe87f655701830af1a3d Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-19tests: vpp_qemu_utils with concurrency handlingIvan Ivanets4-228/+367
Type: test Enhance vpp_qemu_utils functions with mutex locking, handle namespace and host interface existence, unique namespace/interface name, error handling and retries, check error code explicitly. Change-Id: I1ea66eeefbc1fee9b58e8b9886f4dd6fd8d33444 Signed-off-by: Ivan Ivanets <iivanets@cisco.com>
2024-11-19quic: update to quicly version 0.1.5Dave Wallace7-24/+78
Type: improvement Change-Id: I7c9c91a9c4d3ac2499e42eedda0a5d395bdf5912 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
2024-11-19api: support api clients with real-time schedulingFlorin Coras1-7/+44
Type: improvement Signed-off-by: Tatsushi Kanemoto <t-kanemoto@fujitsu.com> Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ib97b778f6a1aac95573f1258ff806282dc995331
2024-11-18hs-test: udp proxy testing infraMatus Fabian2-0/+215
Type: test Change-Id: Ib32a48429312a771c6ebe8022c7bdbccdde3a36f Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-18session: track number of tries to alloc lcl portFlorin Coras6-8/+71
Track number of tries to alloc local port and report it in stats segment. Could be used to gauge how busy the port allocator is. Also add cli to dump trasport sub-layer state. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I3736a48488c491dee85aa2b074b87519a3857057
2024-11-14hs-test: reduce curl image sizeMatus Fabian1-2/+1
before: REPOSITORY TAG IMAGE ID CREATED SIZE hs-test/curl latest 4eededa5f68a 27 minutes ago 973MB now: REPOSITORY TAG IMAGE ID CREATED SIZE hs-test/curl latest 1a8faf0cbf8b About a minute ago 110MB Type: improvement Change-Id: I7da5f5f26c3738e022225b1bb66d75f748074496 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-14hsa: configurable connect-proxy idle timeoutMatus Fabian2-1/+13
Added cli option idle-timeout to specify connect-proxy timeout for idle connections, default value 10 minutes. Type: improvement Change-Id: I3ced83f28d3aabcc70fbd3ca1ef10b8a0336ffb1 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-14http: state machine improvementMatus Fabian4-236/+238
Split in two, one for rx and second for tx, which is more suitable for http tunnels. Updated state names too, some of them were bit confusing. Type: improvement Change-Id: I2310deaa49196819f9d8147a5d9af188465dbd65 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-14hs-test: fix memleak testingMatus Fabian1-1/+1
Type: fix Change-Id: I8d88fc5ccb37cc18c785b5dca47c7f66afefb73a Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-14mss_clamp: export functionsMaxime Peim1-2/+2
Type: fix Change-Id: If2b3e580c038064eca4edcdfd2fd432c8b813a6d Signed-off-by: Maxime Peim <mpeim@cisco.com>
2024-11-13http_static: api add keepalive-timeoutMatus Fabian6-24/+39
Type: improvement Change-Id: Ia1e0dcf562fd1538794542207ac2cad97d168c6c Signed-off-by: Matus Fabian <matfabia@cisco.com>
2024-11-13octeon: set rss flowkey after mac updateMonendra Singh Kushwaha1-0/+20
Type: fix Change-Id: I1b087b9e1e7a17ca545f960e896ca48266cdcc93 Signed-off-by: Monendra Singh Kushwaha <kmonendra@marvell.com>
2024-11-13tracenode: fix pcap capture if packet is also tracedBenoît Ganne1-7/+3
Type: fix Change-Id: Ifc259d87a086f686ce273f543632bd122b506c31 Signed-off-by: Benoît Ganne <bganne@cisco.com>
2024-11-13vlib: add clib_stack_frame_get_raw()Benoît Ganne4-16/+31
clib_stack_frame_get() is getting the backtrace for all threads and does symbol resolution which is too slow for certain features (eg. memory traces). clib_stack_frame_get_raw() only gets the local backtrace and defer symbol resolution only when displaying results. Type: improvement Change-Id: Ia374d86e9175b6648a39ed5aaa676ceb7235e877 Signed-off-by: Benoît Ganne <bganne@cisco.com>
2024-11-13octeon: fix compilation for octeonMonendra Singh Kushwaha3-12/+15
This patch adapts new changes introduced in vnet/dev framework as part of 61e287b9. Type: fix fixes: 61e287b9 Change-Id: I816ee9b80fca188ee799e704d08aaf3515bd57c0 Signed-off-by: Monendra Singh Kushwaha <kmonendra@marvell.com>
2024-11-12sr : enable SRv6 uSID in the SRv6 APIAhmed Abdelsalam5-32/+48
Type: improvement Change-Id: I026b1a8fd1df0e6ac1dba8df78b12cde95aae419 Signed-off-by: Ahmed Abdelsalam <ahabdels@cisco.com>
2024-11-11tcp: handle multiple syns in time-waitFlorin Coras1-1/+1
If multiple syns are received in one dispatch for the same time-wait connection, the first removes the connection while subsequent packets either lookup a nonexistent or an unrelated connection. Avoid the former with a check. Type: fix Change-Id: Ia5f1b3bbd568566eaf36121206aa12363a15b418 Signed-off-by: Florin Coras <fcoras@cisco.com>
2024-11-11octeon: add support for hmac_md5 and chachapolyKishor Dhanawade2-1/+39
Added support for following algorithms - aes-cbc hmac_md5 - chacha20_poly1305 Type: feature Signed-off-by: Kishor Dhanawade <kdhanawade@marvell.com> Signed-off-by: Nithinsen Kaithakadan <nkaithakadan@marvell.com> Change-Id: I44702483dad8182d5f15aed39c6bb42f1ca15d3c
2024-11-11sr : adding support to SRv6 uA behaviorAhmed Abdelsalam3-52/+116
Type: feature Change-Id: I81f6b07226eeaa6c3cd62487c9665629f4d2a834 Signed-off-by: Ahmed Abdelsalam <ahabdels@cisco.com>
2024-11-08session: validate appns index in vnet_session_rule_add_delSteven Luong4-4/+30
vnet_session_rule_add_del may be called with a bogus appns index from the API. Validate the appns index is indeed valid. Type: fix Change-Id: Ife1b5b9ab0b180ececa74008d2ef92045a9e8b58 Signed-off-by: Steven Luong <sluong@cisco.com>
2024-11-07hsa: proxy fix assert placementFlorin Coras1-3/+4
Assert fifo refcnt on the right thread Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: If6edf9969f5c70533a1e9c6358c022c556c4ed81
2024-11-07armada: initial DSA supportDamjan Marion6-85/+441
Type: feature Change-Id: Ic6578e0ded33ca3c6590c8e6127ec11a0f5b3057 Signed-off-by: Damjan Marion <damarion@cisco.com>
2024-11-07dev: secondary interfaces supportDamjan Marion11-183/+765
Type: feature Change-Id: I6cc4340431b8273022955fca1600061a722e3ace Signed-off-by: Damjan Marion <damarion@cisco.com>
2024-11-07crypto-ipsecmb: bump to ipsecmb v2.0Marcel Cornu1-1/+2
Type: feature This patch bumps ipsecmb library version from 1.5 to 2.0 Signed-off-by: Marcel Cornu <marcel.d.cornu@intel.com> Change-Id: Iceb546cbb00cbd92cab7edeb85f9545284fcbd4c
2024-11-07dev: introduce consistent_qp featureMohammed Hawari6-5/+14
For some devices, queues are organized as pairs (rx/tx). In this case, it is desirable that a worker receives packet and send packets for the same pair. This patch enables this by assigning txq to workers first and ending with main. Change-Id: I3de4afbf74a265d5275c6a5d9a905b51dd661b22 Type: feature Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
2024-11-06session: session table holding free appns indexSteven Luong11-27/+503
session table may be shared among multiple appns's. app ns add id blue secret 1 if tap0 app ns add id red secret 1 if tap0 session table holds the last added app_ns's appns_index. If the last app_ns is deleted, session table is not free since there is still an appns which uses the same session table. In that case, session table is holding the free app_ns's appns_index and it can cause problem. The fix is to modify appns_index in session table to hold a vector of appns_index's instead of just the appns_index that was last added. When the app ns is deleted, remove the deleted appns_index from the session table's vector of appns_index's. Type: fix Change-Id: Ied8bc97f185071dc89b9b56656e18efbd2995131 Signed-off-by: Steven Luong <sluong@cisco.com>
2024-11-05svm: mq use poll instead of SO_RCVTIMEOFlorin Coras1-11/+15
setsockopt does not work on eventfds Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I652a2b78160abe1bc15879fd8bc320ba4ef38e63