aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
16 hourshttp: leave space for msg header on transport methodHEADmasterFlorin Coras1-0/+1
Type: fix Change-Id: I4bcc9c6168c18ccf5701b832c26b16d3bb24bc98 Signed-off-by: Florin Coras <fcoras@cisco.com>
16 hourshttp_static: POST to static files improvementMatus Fabian7-54/+156
Type: improvement Change-Id: I6a6794dee3c9e948227e6c08769d45aa595bfe02 Signed-off-by: Matus Fabian <matfabia@cisco.com>
20 hourstests: fix text cov-postIvan Ivanets1-0/+1
Type: test Need to remove unused html/cmd_line file after genhtml based on jjb/script/publish_cov.sh error about file name patter without extension Change-Id: I607951f8e464bb9e0bb88b4ee84010a5984f082a Signed-off-by: Ivan Ivanets <iivanets@cisco.com>
33 hoursvcl: fix coverity warningsFlorin Coras1-2/+4
Type: fix Change-Id: I41a9332bdd7a34ce30eaa5cd2378990dbe8e31f5 Signed-off-by: Florin Coras <fcoras@cisco.com>
36 hoursdma_intel: fix dsa software fallbackJeff Shaw1-1/+1
When a page fault occurs, and the "block on fault" flag is not set, the DSA device reports the error in the completion descriptor and software should complete the operation in software. This behavior works properly, except the batch was not added to the list of pending batches, so the DSA node failed to completely process the batch. The side effect is the application callback is not called, so buffers are not freed, and the batch is never added back to the freelist, leading to eventual buffer exhaustion, and traffic stopping. The fix is to make sure the batch is added to the list of pending batches so the DSA node completes the batch. This change also removes the line that increments the "submitted" counter as that is only used to count batches that are submitted to hardware. A separate counter, sw_fallback, is used to count batches that are handled in software. Type: fix Change-Id: Ib54e8d77ac02e5dca237bb9348440c3ddaad993b Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
46 hourstests: fix test cov for PG Stream and Session SDLIvan Ivanets3-2/+18
Type: test Localized cli response waiting time configuration only for test_pg_stream and test_session_sdl instead of asfframework conf Change-Id: Iabeccdda97e518662f1243edd91217c02cdc8711 Signed-off-by: Ivan Ivanets <iivanets@cisco.com>
3 daystests: fix test covIvan Ivanets1-0/+2
Type: test Need to add cli response waiting timeout for test cov for test_session_sdl and test_pg_stream. Change-Id: I3eedfdb0de1ca01d9786742986fbcce2487500e3 Signed-off-by: Ivan Ivanets <iivanets@cisco.com>
3 daysvcl: improve vpp detached handling for mq epoll appsFlorin Coras3-0/+58
Apps that rely on epoll and use eventfds for mq signaling can potentially sleep indefinitely if vcl detaches from vpp and no libc fd generates events. To avoid this, at detach time, force creation of a pair of pipes that constantly generates mq_epfd events to force apps, including ldp, to request vppcom epoll_waits which retry attaching to vpp. Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: Ie2ac338cc10721829e6ac525ee7d6b812354e9a3
3 dayshs-test: fix redis test on ubuntu 24.04Florin Coras1-1/+5
Noticed in local runs that after snapshots, vcl crashes due to what appears to be a memory corruption. Given that snapshot are done in a forked child process, probably this is some mishandling of child processes in multi-threaded apps. Disable snapshotting for now. Type: fix Change-Id: Ide2dd3d68911b936742b41992485cc06db737564 Signed-off-by: Florin Coras <fcoras@cisco.com>
3 daysacl: fix an off-by-one error in fa_acl_match_ip6_addr which does masked IPv6 ↵Andrew Yourtchenko1-2/+2
comparison The comparison code for the bit remainder (non-zero part of prefix length modulo 8) was incorrectly looking one byte further than it should. Type: fix Change-Id: Idd27d218e77eff5f368f2ba0a5cefb86ecf605f5 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
3 daysvlib: add new node type - SCHED nodesDamjan Marion9-378/+378
SCHED nodes are new type of nodes, similar to input nodes but they are scheduled to be run from timing wheel. SCHED nodes work both on main and worker threads. Typically SCHED nodes can be scheduled to be run in two ways: - vlib_node_set_interrupt_pending() - from any thread, run ASAP - vlib_node_schedule() - from own thread, afer sepcific interval Type: feature Change-Id: Id29a66532328d9b3c454e65d09495e8fb479cedf Signed-off-by: Damjan Marion <damarion@cisco.com>
4 daysbuild: remove unused packagesDamjan Marion1-14/+5
Type: improvement Change-Id: I324e34198b5332407759f3acff8b185f936d9090 Signed-off-by: Damjan Marion <damarion@cisco.com>
4 dayshs-test: iperf and redis server logsMatus Fabian5-3/+41
send output to a log file for iperf server and redis server Type: test Change-Id: I07a5222e4717eee9cac3aab5c9a1a324d843e3b5 Signed-off-by: Matus Fabian <matfabia@cisco.com>
4 daysmisc: update maintainersJeff Shaw1-22/+21
Update dma_intel, dpdk-cryptodev, idpf, and ipsec maintainers. Also fix whitespace formatting. Type: docs Change-Id: Ic25343164c2fc33010a0d7044dab2e813dc6c7b7 Signed-off-by: Jeff Shaw <jeffrey.b.shaw@intel.com>
5 dayshttp: http/2 core skeletonMatus Fabian4-1/+418
Type: feature Change-Id: Ia6581b685c9dbc89e72bdec320b7f52f6f962542 Signed-off-by: Matus Fabian <matfabia@cisco.com>
5 dayshttp: extendable conn/req ctx and multiplexingMatus Fabian5-363/+631
multiplexing support: - set request index as connection_index in application session - do not allocate app session/http req immediately in http_ts_accept_callback but wait for request/stream opening HTTP version specific data in connection and request ctx: - opaque pointer in http_conn_t - req_pool manged entirely by specific version engine Version specific configuration: - added name to http_engine_vft_t - added unformat_cfg_callback (optional) to http_engine_vft_t Type: improvement Change-Id: Ib43f0489337a222a68b0f81d45cb2e64b2c606c0 Signed-off-by: Matus Fabian <matfabia@cisco.com>
5 daysbuild: fix coverage for various lcov versionsBenoît Ganne1-3/+9
Starting with lcov version 2, we need to add some errors filtering. Unfortunately, those filters are not available with lcov version 1. Type: fix Fixes: 66fcfb845b8e588901b4f663435e9e1b30499467 Change-Id: Ic8f4c55be89dcc59370b5a69ed8e8f39c5647ec8 Signed-off-by: Benoît Ganne <bganne@cisco.com>
9 daystests: allow to define SKIP_TESTS in a similar fashion to TESTAndrew Yourtchenko3-3/+52
This change adds the possibility to specify the tests to skip from the selected set of tests. This allows to construct test sets "everything except foo and bar" that are tedious to make otherwise. Type: improvement Change-Id: I0862031baf22fef926554873a88a068dfc8f0623 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
9 daystests: use vcl_test_client and server for installationIvan Ivanets1-1/+0
Type: test Need to use vcl_test_client and server for deb pkg installation. After that it is possible to use for the new one CSIT testsuit. Change-Id: I5a374e47e9c0d0fa3920f26f6dcc9adfbc05103b Signed-off-by: Ivan Ivanets <iivanets@cisco.com>
10 daysquic: Fix compilation error with CMake 4.0.0nucleo1-0/+16
Fixes quicly compilation error and warning with CMake 4 Compatibility with CMake < 3.5 has been removed from CMake. Compatibility with CMake < 3.10 will be removed from a future version of CMake. Type: fix Change-Id: I810f70459d5ba70f6a8c0ea0d57c77fe20dddb73 Signed-off-by: nucleo <alekcejk@googlemail.com>
12 dayshs-test: lower minimum iperf perf requirementsAdrian Villin3-3/+3
- lowering because of ubuntu 24.04 Type: test Change-Id: I35ec190f10bda0ea0bfe815f00ac147e451b3607 Signed-off-by: Adrian Villin <avillin@cisco.com>
12 daysaf_xdp: Backport Get rid of llc and use clang to build BPF object files directlynucleo1-0/+130
Fixes xdp-tools compilation error with clang 20 error: argument unused during compilation: '-c' [-Werror,-Wunused-command-line-argument] Type: fix Change-Id: I4d37256a722499ec1cbe8fe8e708810a2c8c9d99 Signed-off-by: nucleo <alekcejk@googlemail.com>
12 daysdpdk: rte_eth_tx_prepare need to called before transmiting packetsNicolas PLANEL4-23/+50
By the DPDK documentation rte_eth_tx_prepare() call is required to prepare the NIC and to validate the mbufs. This would fix hardware bad UDP checksum generated by ena driver issue. As performance will be impacted depending on the driver tx_prepare() callback I defined a tx-prepare flag that would be enabled by default on ena driver but could be enabled in the configuration if need for others drivers. Note: This option would normally be exclusive with intel_phdr_cksum as driver's tx_prepare would normally cover this usage. Type: fix Change-Id: Ic7c21682f7bd92b35bd9b1028129709baa2a64d4 Signed-off-by: Nicolas PLANEL <nplanel@cisco.com> Signed-off-by: Nicolas PLANEL <nplanel@gmail.com>
2025-03-14hs-test: added session, tcp, svm unit testsAdrian Villin6-8/+48
- moved HttpUnitTest to unittests_test.go - unit tests will only run on coverage builds - added "SUCCESS" message to some unit tests Type: test Change-Id: I35a0510d0ac2899d85f2aa6875a738b280e9b89c Signed-off-by: Adrian Villin <avillin@cisco.com>
2025-03-14ip: fix ICMP inner payload parsingKlement Sekera20-56/+42
Add a check so that ICMP type is verified to be an error before parsing inner payload. If it's not an error, then the inner payload is not there. Type: fix Fixes: 46d0ff3945 Change-Id: I5c7d8ddacb347ec030784f349064e66d63cd525e Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
2025-03-14hs-test: enable coverage file filtering correctlySemir Sionek2-2/+2
Type: fix Change-Id: Idb14eebb42d31ff3c6ad5cde30fdb2e53d47302b Signed-off-by: Semir Sionek <ssionek@cisco.com>
2025-03-14vcl: fix cl sendto on unbound socketFlorin Coras4-5/+222
Type: fix Change-Id: Ia1e61a7ed633ad9708bd02fbaf4a39fe1a0ca1f3 Signed-off-by: Florin Coras <fcoras@cisco.com>
2025-03-14build: remove the duplicate `make install-dep` in `make pkg-verify`Jay Wang1-1/+1
In Makefile, when a target has multiple prerequisites, the order of execution of prerequisites is not guaranteed. So we might encounter the following `apt-get` lock issue when executing `make pkg-verify` due to the duplicate execution of `make install-dep` command. Reading package lists... E: Could not get lock /var/lib/apt/lists/lock. It is held by process 21872 (apt-get) E: Unable to lock directory /var/lib/apt/lists/ make[1]: *** [Makefile:404: install-dep] Error 100 make[1]: Leaving directory '/builds/software/ias/networking/vpp' make: *** [Makefile:373: /builds/software/ias/networking/vpp/build-root/.deps.ok] Error 2 Type: fix Change-Id: I057cebf5e31c0f3eef42f7ad07c7759a2d8e7f73 Signed-off-by: Jay Wang <jay.wang2@arm.com>
2025-03-13urpf: fix multicast trafficAlexander Skorichenko1-9/+9
Type: fix Change-Id: I937d5d8c89bd1e0cc6ff396df6e81ff96755702c Signed-off-by: Maxim Babichev <maxim@netgate.com> Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
2025-03-13hs-test: ignore some never used code paths for coverage generationSemir Sionek1-0/+11
Type: fix Change-Id: I4318efee62d7fdeb936b00aafd431a4927899f9b Signed-off-by: Semir Sionek <ssionek@cisco.com>
2025-03-11hs-test: shutdown VPP cleanly when finishing a testcaseSemir Sionek5-3/+25
Good practice in general, but especially helpful when SIGKILL'd VPP can't write out coverage data. Type: fix Change-Id: I7e7261b6f2e63fd4a6b24a3832c32800c71493c2 Signed-off-by: Semir Sionek <ssionek@cisco.com>
2025-03-11dpdk: format UDP hw offload info consistentlyNicolas PLANEL1-3/+3
Format the hardware offload info the same way than other protocol to avoid confusion when reading logs, like this : PKT_TX_SCTP_CKSUM (0x0000) SCTP cksum of TX pkt. computed by NIC PKT_TX_TCP_CKSUM (0x0000) TCP cksum of TX pkt. computed by NIC PKT_TX_UDP_CKSUM (0x0000) TX UDP cksum Type: improvement Change-Id: Icd16a484eabe36af4488352312245d638d7dff4b Signed-off-by: Nicolas PLANEL <nplanel@cisco.com> Signed-off-by: Nicolas PLANEL <nplanel@gmail.com>
2025-03-10http: http_transport_connect TLS supportMatus Fabian6-17/+137
enable HTTPS for client apps Type: improvement Change-Id: I2ca8b926771a350863cca81729102faf6ee9c874 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2025-03-10http_static: resize header response buffer if neededSemir Sionek2-23/+81
Type: fix Change-Id: If77469fbdf2b95b0c546a2d1de1cc8663464e1fc Signed-off-by: Semir Sionek <ssionek@cisco.com>
2025-03-10vcl: improve vpp detatch handlingFlorin Coras2-6/+27
Better handling of multi-threaded applications that share sessions. Type: improvement Change-Id: Id69bcb1a4b1d67aab020beefdb2fa196ec2ee108 Signed-off-by: Florin Coras <fcoras@cisco.com>
2025-03-10vcl: remove listen_no_mq from state to flagFlorin Coras4-50/+55
One less state in state machine Type: improvement Change-Id: Ib6445a425b1e2d5a957318a94c3f132cddd8370b Signed-off-by: Florin Coras <fcoras@cisco.com>
2025-03-09session: improve endpoint cfg unit testFlorin Coras3-20/+259
We are currently testing only active open from default to non-default appns. Add connect test from non-default to default appns and make sure transport cleans up ports. Type: improvement Change-Id: Id0f05aa295ac175b549d8035eb530dbb9a15d85d Signed-off-by: Florin Coras <fcoras@cisco.com>
2025-03-06session: fix lcl port allocation with fibFlorin Coras1-0/+1
Type: fix Change-Id: I0b0cc664cec2643a543a39cc7482292604381bf7 Signed-off-by: Florin Coras <fcoras@cisco.com>
2025-03-05http_static: hss_ts_rx_callback fixMatus Fabian1-0/+1
reset hs->data_len before handling new request Type: fix Change-Id: I5b02f8ec418c56e8ec607c5bc5c8716d53e5376f Signed-off-by: Matus Fabian <matfabia@cisco.com>
2025-03-04misc: add and consolidate host stack scriptsFlorin Coras22-1/+381
Move all existing host stack scripts under extras/scripts/host-stack Also add scripts for iperf/vcl performance testing Type: improvement Change-Id: Ia79b6bd061db49f61a0e4c6577cf45afe0323eb1 Signed-off-by: Florin Coras <fcoras@cisco.com>
2025-03-04papi: fix socket api max message id calculationVladislav Grishenko2-2/+4
In case of sparse message ids due fixed offsets, length of the message table is less than max message id, causing "IndexError: list assignment index out of range" exception in _register_function() due "self.id_msgdef[i] = msg". Unlike shmem api, socket api needs to use max id. Type: fix Signed-off-by: Vladislav Grishenko <themiron@yandex-team.ru> Change-Id: Ib777db9dabc3a5a3ff83f07ec211cf2fb3c15cf0 Signed-off-by: Ole Troan <otroan@employees.org>
2025-03-03http: http2 framesMatus Fabian5-0/+882
Type: feature Change-Id: Id2c6f6b5747c1f676048642e277eb66850f728b7 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2025-03-03vppinfra: make verbose format time more verboseFlorin Coras1-2/+9
Dump more cpu and reftime fields in clib time struct. Example: DBGvpp# sh clock verbose Time now 6.890267 cpu time 6.890267 now 22333609568369233 last 22333609568350337 since start 19981775480 reftime 6.890268 now 1740958292.416887 last 1740958285.526620 init 1740958285.526620 error 0.000000, clocks/sec 2900000000.000000, Sun, 02 Mar 2025 23:31:32 GMT Time last barrier release 3.291883104 0: Time now 6.890387 cpu time 6.890387 now 22333609568706225 last 22333609568696497 since start 19982121640 reftime 6.890387 now 1740958292.417007 last 1740958285.526620 init 1740958285.526620 error -.000001, clocks/sec 2900000000.000000 Thread 0 offset 0.000000000 error 0.000000000 1: Time now 5.695180 cpu time 5.695180 now 22333609568926421 last 22333609568920073 since start 16516023212 reftime 5.695181 now 1740958292.417084 last 1740958286.721903 init 1740958286.721903 error -.000001, clocks/sec 2900000000.000000 Thread 1 offset 1.195283275 error -.000000114 Type: improvement Change-Id: I383b9b1a2ef64a731bbc335cd512d565d47f0cd9 Signed-off-by: Florin Coras <fcoras@cisco.com>
2025-03-03session: uri parsing improvementsAdrian Villin4-26/+115
- It is now possible to use "proto://ip4:port/target" or "proto://[ip6]:port/target" format. - Updated http_client and related tests to use the new format Type: improvement Change-Id: Ic6afd8c66eddca2ab1d7afc034e193441c34f8ee Signed-off-by: Adrian Villin <avillin@cisco.com>
2025-03-01session: ignore tx evts for cl sessions with no fifoFlorin Coras1-1/+1
Type: fix Change-Id: I3e484ed3447dde3540c39b2c5c5ce26329c83340 Signed-off-by: Florin Coras <fcoras@cisco.com>
2025-02-28misc: VPP 25.02 Release NotesAndrew Yourtchenko2-0/+624
Type: docs Change-Id: Iff452c28396159f7818e0a294daa0277870077f4 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com> (cherry picked from commit af12ed005d50809e130b93a4d9c934a961081dcf)
2025-02-28docs: Restore and update nat section of progressive tutorialBence Romsics3-0/+160
The NAT section of the Progressive Tutorial was likely accidentally lost in If5b0d07ea90d978c6b1f11210a661876b7929653. This patch restores it. It is also updated to reflect current package and plugin names and cli reference links. Type: docs Change-Id: Ifb6117cd00768fd05dccfa506b4e97c81f9bcf21 Signed-off-by: Bence Romsics <bence.romsics@gmail.com>
2025-02-28http: hpack headers encodingMatus Fabian5-90/+394
1) header encoding without dynamic table 2) serialization of response header block Type: feature Change-Id: I7ec470310e5aec0f8055492e92682261b4af5e81 Signed-off-by: Matus Fabian <matfabia@cisco.com>
2025-02-27hs-test: make docker cache dir multi-user friendlyMatus Fabian1-0/+6
Type: test Change-Id: Ib569a48b61e337e3a1bef5ba5b37d10e3322c44a Signed-off-by: Matus Fabian <matfabia@cisco.com>
2025-02-27hs-test: create docker buildx with proxyMatus Fabian1-1/+1
Type: test Change-Id: If887916bc540a51747e342a76edc2f37d54e6b0f Signed-off-by: Matus Fabian <matfabia@cisco.com>