vpp.git
4 days agosfdp: StateFul Data Plane 69/43869/10
Mohammed Hawari [Thu, 9 Oct 2025 15:22:01 +0000 (17:22 +0200)]
sfdp: StateFul Data Plane

Change-Id: I229548afbae609f8a15047821e811874aa788a53
Type: feature
Signed-off-by: Mohammed Hawari <[email protected]>
5 days agonpol: Network Policies plugin 10/43710/14
Andrew Yourtchenko [Wed, 18 Aug 2021 18:10:22 +0000 (20:10 +0200)]
npol: Network Policies plugin

New plugin that implements Network policies in VPP.

Type: feature

Change-Id: I04449a9b123ae34a35bdd56cfcfe068daef2c253
Signed-off-by: Andrew Yourtchenko <[email protected]>
Signed-off-by: Nathan Skrzypczak <[email protected]>
Signed-off-by: Aloys Augustin <[email protected]>
Signed-off-by: MathiasRaoul <[email protected]>
Signed-off-by: hedi bouattour <[email protected]>
6 days agosession: return err if send dgram fails 10/43910/3
Florin Coras [Sat, 18 Oct 2025 21:47:21 +0000 (17:47 -0400)]
session: return err if send dgram fails

Make sure app_send_dgram_segs_raw returns error if dgram send fails just
like app_send_stream_raw if not byte is enqueued.

Type: improvement

Change-Id: I4366a4718e9fedde87c8e79363bb4a91b5311588
Signed-off-by: Florin Coras <[email protected]>
7 days agosession: improve cli app formatting 08/43908/2
Florin Coras [Sat, 18 Oct 2025 00:02:01 +0000 (20:02 -0400)]
session: improve cli app formatting

- converted some print functions to format functions
- better alignment in verbose mode
- allow app unformat based on name not only index

Type: improvement

Change-Id: I5760ffe141485aa52c6a470f97f78f9b43b4187b
Signed-off-by: Florin Coras <[email protected]>
8 days agovlib: remove unnecessary includes 05/43905/1
Damjan Marion [Fri, 17 Oct 2025 11:45:49 +0000 (13:45 +0200)]
vlib: remove unnecessary includes

Type: improvement
Change-Id: I69ab90978905130fcd781c5dbdb62cc466370122
Signed-off-by: Damjan Marion <[email protected]>
8 days agodpdk: remove not used include bus_driver.h 94/43894/2
Maxim Uvarov [Mon, 13 Oct 2025 12:42:03 +0000 (15:42 +0300)]
dpdk: remove not used include bus_driver.h

bus_driver.h internal dpdk header which is not provided
by dpdk packages by default. This header is not used by
vpp project.

Type: fix
Change-Id: Ic6421696954ce238257a59f0107e12201132aa58
Signed-off-by: Maxim Uvarov <[email protected]>
8 days agosnort: add support for packet injection 64/43764/5
Mohsin Kazmi [Mon, 6 Oct 2025 13:52:30 +0000 (13:52 +0000)]
snort: add support for packet injection

Type: feature

Signed-off-by: Mohsin Kazmi <[email protected]>
Change-Id: Iead600732d7f613d478ebff8c059f8ac9e74344c

8 days agokube-test: use TAG=latest when building master images 67/43767/1
Adrian Villin [Fri, 17 Oct 2025 05:58:57 +0000 (01:58 -0400)]
kube-test: use TAG=latest when building master images

Type: test

Change-Id: I94ba2aa84f8f88e9e724b9c90f1454ac2b5e4439
Signed-off-by: Adrian Villin <[email protected]>
8 days agosession: ct connection frees after notifications 01/43901/3
Florin Coras [Thu, 16 Oct 2025 23:05:13 +0000 (19:05 -0400)]
session: ct connection frees after notifications

Request ct connection frees to be done after app is notified of cleanup.
Allows eventing to glean the connection before cleanup.

Type: improvement

Change-Id: I33a41d01d4f57486eb63f86e5482d1242287fe5d
Signed-off-by: Florin Coras <[email protected]>
9 days agosession: add support for evt filtering 00/43900/3
Florin Coras [Thu, 16 Oct 2025 17:07:56 +0000 (13:07 -0400)]
session: add support for evt filtering

Allow per app listener level filtering of event generation.

Type: improvement

Change-Id: Iae3afb77d624e1e00b27b9b97f58360da876ca71
Signed-off-by: Florin Coras <[email protected]>
9 days agokube-test: bare metal cluster support 15/43615/9
Adrian Villin [Wed, 24 Sep 2025 08:52:08 +0000 (04:52 -0400)]
kube-test: bare metal cluster support

- scripts/quick-import.sh simplifies loading images to nodes
- added NO_REGISTRY option to hopefully avoid issues when
  building docker images
- kube-test differentiates between a KinD and a bare metal cluster
- namespace is deleted at the very end of a test run (REPEAT=N now works)
- added SKIP_CONFIG: when set to true, cluster config won't get updated
- waiting for daemonsets/deployments is now done with WaitGroups

Type: test

Change-Id: Ia02b642062b1ce75d3e4bb2bdb408cd592660f97
Signed-off-by: Adrian Villin <[email protected]>
11 days agosession: add close reason to app eventing 71/43871/12
Florin Coras [Fri, 10 Oct 2025 03:12:30 +0000 (23:12 -0400)]
session: add close reason to app eventing

Type: improvement

Change-Id: Ic03839cb3ed6751d6b1ef1bc27497ff9bcd0464e
Signed-off-by: Florin Coras <[email protected]>
11 days agosession: track transport initiated close 85/43885/11
Florin Coras [Mon, 13 Oct 2025 23:46:48 +0000 (19:46 -0400)]
session: track transport initiated close

Type: improvement

Change-Id: Ie55b1fa37e3d652aa647aeff021fcaace36f5157
Signed-off-by: Florin Coras <[email protected]>
11 days agohttp: add send get and close test 87/43887/2
Florin Coras [Tue, 14 Oct 2025 08:04:43 +0000 (04:04 -0400)]
http: add send get and close test

Attempt to catch potential close/cleanup races with received
data/request.

Type: test

Change-Id: Ic07b034272e11103669d8eb5a2fe56e1af3c0da7
Signed-off-by: Florin Coras <[email protected]>
Signed-off-by: Matus Fabian <[email protected]>
11 days agovppinfra: allow specifying alignment for vm maps 83/43883/7
Damjan Marion [Mon, 13 Oct 2025 15:39:53 +0000 (17:39 +0200)]
vppinfra: allow specifying alignment for vm maps

Type: improvement
Change-Id: Ib732134c67241ab70ff66bad78fc339fe06943b3
Signed-off-by: Damjan Marion <[email protected]>
11 days agosession: track rx ready state as flag 86/43886/3
Florin Coras [Tue, 14 Oct 2025 06:19:01 +0000 (02:19 -0400)]
session: track rx ready state as flag

Instead of checking session state to decide if session layer should
deliver rx notifications to app, on state transition, update rx ready
flag.

This should then avoid generating spurious rx notifications 1) after
session is disconnected by transport and 2) if session is closed prior
to accept with pending rx notification (which 1fce82e allows).

Type: improvement

Change-Id: I2ddd8ae5fe410fdfe4049d09c68cd1fd4dc79b8b
Signed-off-by: Florin Coras <[email protected]>
12 days agovppinfra: forward declare clib_mem_heap_t 79/43879/2
Damjan Marion [Fri, 10 Oct 2025 22:13:55 +0000 (00:13 +0200)]
vppinfra: forward declare clib_mem_heap_t

Change-Id: Ie18a342722401d5b0f0c542110c3ff3d7b1a7e28
Type: improvement
Signed-off-by: Damjan Marion <[email protected]>
12 days agoselog: fix coverity warnings 75/43875/2
Mohammed Hawari [Fri, 10 Oct 2025 08:03:34 +0000 (10:03 +0200)]
selog: fix coverity warnings

Change-Id: I2844a41114c122523619dfe289c14c6bebd97723
Type: fix
Signed-off-by: Mohammed Hawari <[email protected]>
13 days agoquic: failed handshake improvements 66/43866/2
Matus Fabian [Thu, 9 Oct 2025 12:42:22 +0000 (08:42 -0400)]
quic: failed handshake improvements

- notify client app that connect failed
- do not create session for server app

Type: improvement

Change-Id: Id93d1f438ddd656fad2249528981bf9c936eb7a7
Signed-off-by: Matus Fabian <[email protected]>
13 days agoquic: ALPN support 46/43846/6
Matus Fabian [Mon, 6 Oct 2025 17:06:51 +0000 (13:06 -0400)]
quic: ALPN support

App can pass ALPN protocols list via alpn_protos member of
transport_endpt_crypto_cfg_t. For server it should be ordered by
preference. If all set to zeros ALPN negotiation is disabled.
In case that server supports no protocols that client
advertised, then handshake fail.

Type: improvement

Change-Id: I1ca11dd7d4e0dbc83a01da9ded37dd62ebf37023
Signed-off-by: Matus Fabian <[email protected]>
2 weeks agovppinfra: don't use dlmalloc apis outside of mem_dlmalloc.c 76/43876/2
Damjan Marion [Fri, 10 Oct 2025 21:07:31 +0000 (23:07 +0200)]
vppinfra: don't use dlmalloc apis outside of mem_dlmalloc.c

Type: improvement
Change-Id: Iecc397b639352129ba4b908736210eeaf60e5c14
Signed-off-by: Damjan Marion <[email protected]>
2 weeks agoquic: basic state formatting 80/43880/3
Florin Coras [Fri, 10 Oct 2025 22:16:17 +0000 (18:16 -0400)]
quic: basic state formatting

Type: improvement

Change-Id: I10cc94c5d2ea9a883fdcd54dd8f61541acbfb271
Signed-off-by: Florin Coras <[email protected]>
Signed-off-by: Steven Luong <[email protected]>
2 weeks agosession: fix al cleanup if listen fails 78/43878/4
Florin Coras [Fri, 10 Oct 2025 21:54:24 +0000 (17:54 -0400)]
session: fix al cleanup if listen fails

Type: fix

Change-Id: I3707a853e33ab611bca9c02ebbddad204cdb0425
Signed-off-by: Florin Coras <[email protected]>
Signed-off-by: Steven Luong <[email protected]>
2 weeks agoquic: cleanup listener if crypto init fails 77/43877/3
Florin Coras [Fri, 10 Oct 2025 21:41:51 +0000 (17:41 -0400)]
quic: cleanup listener if crypto init fails

Type: fix

Change-Id: I4d266c5c40a1cc6b1a52840a5576ef1806c9594a
Signed-off-by: Florin Coras <[email protected]>
Signed-off-by: Steven Luong <[email protected]>
2 weeks agopg: set frame level sw/hw interface indicies correctly 81/43881/3
Dave Barach [Sat, 11 Oct 2025 12:26:28 +0000 (08:26 -0400)]
pg: set frame level sw/hw interface indicies correctly

"packet-generator new stream-name { ... interface loop0 ... }" wasn't
setting the ethernet frame sw/hw_if_index fields from the
stream. Packets always appeared to originate in one of the pg-XXX
interfaces, yielding dst MAC address drops.

Type: fix

Change-Id: I26e3021bb8c068e74dfa8b314b7b9a3a8b0dc65a
Signed-off-by: Dave Barach <[email protected]>
2 weeks agosession: deliver rx ntfs if closed before established 72/43872/2
Florin Coras [Fri, 10 Oct 2025 06:56:53 +0000 (23:56 -0700)]
session: deliver rx ntfs if closed before established

Type: improvement

Change-Id: I696f925011d7994c63921174c3c61af6e78189bd
Signed-off-by: Florin Coras <[email protected]>
2 weeks agovppinfra: introduce bihash_template_inlines.h 68/43868/4
Mohammed Hawari [Thu, 9 Oct 2025 14:04:05 +0000 (16:04 +0200)]
vppinfra: introduce bihash_template_inlines.h

This change refactor some of the inlines and static functions of
bihash_template.c out in bihash_template_inlines.h to allow the use of
these functions without including bihash_template.c (which can cause
symbol redefinition issues)

Change-Id: Ib465b7b5be0ce4cfc2f75c496d0dd27fedc79cf8
Type: refactor
Signed-off-by: Mohammed Hawari <[email protected]>
2 weeks agovppinfra: name the unused u32 in pool header 63/43863/3
Florin Coras [Thu, 9 Oct 2025 01:20:26 +0000 (21:20 -0400)]
vppinfra: name the unused u32 in pool header

Allow pool consumers to potentially use the unused u32 in pool_header_t.

Type: improvement

Change-Id: Ie5cc65fff4a41b0a3fa232bf4040e59d8354eae8
Signed-off-by: Florin Coras <[email protected]>
2 weeks agobuild: update platform cn913x compile flags 42/43842/2
Damjan Marion [Mon, 6 Oct 2025 15:21:10 +0000 (17:21 +0200)]
build: update platform cn913x compile flags

Type: improvement
Change-Id: I37da13f9c390acd035f0724820a71296e957c095
Signed-off-by: Damjan Marion <[email protected]>
2 weeks agoselog: selog client lib 59/43859/7
Mohammed Hawari [Tue, 7 Oct 2025 15:55:48 +0000 (17:55 +0200)]
selog: selog client lib

Change-Id: I4a81981dc52ed5c1acab9afd858990baebad1cc9
Type: feature
Signed-off-by: Mohammed Hawari <[email protected]>
2 weeks agoselog: introduce the Shared Elog plugin 58/43858/6
Mohammed Hawari [Tue, 7 Oct 2025 14:48:25 +0000 (16:48 +0200)]
selog: introduce the Shared Elog plugin

This plugin relies on the binary API and SSVM to expose the elog_main
in shared memory

Change-Id: Id6ac41ae5bd2935406f92d27969e7d129c0f2a4e
Type: feature
Signed-off-by: Mohammed Hawari <[email protected]>
2 weeks agovlib: expose function to switch elog_main 57/43857/4
Mohammed Hawari [Tue, 7 Oct 2025 13:40:46 +0000 (15:40 +0200)]
vlib: expose function to switch elog_main

Change-Id: I37041e40fe26863a2ae71105851d39b7f0363230
Type: feature
Signed-off-by: Mohammed Hawari <[email protected]>
2 weeks agohs-test: revert "hs-test: run iperf server as daemon" 66/43766/2
Adrian Villin [Wed, 8 Oct 2025 15:13:45 +0000 (11:13 -0400)]
hs-test: revert "hs-test: run iperf server as daemon"

LdpIperfUdpReorderTest times out.
This reverts commit 9eabaece3d6a709ed55c695ad04623c4e1c8bf80.

Type: test

Change-Id: I9ae95357f91f2cbf8ce96fb42388c6da5bd3d8b9
Signed-off-by: Adrian Villin <[email protected]>
2 weeks agoip: remove hotwired udp-lookup next node 40/43840/4
Maxime Peim [Mon, 6 Oct 2025 13:00:52 +0000 (15:00 +0200)]
ip: remove hotwired udp-lookup next node

udp-lookup nodes can be registered as any other nodes.

Type: refactor
Change-Id: I556f9cd1128c4d5d7b7c7ac11642f34bc89fd37f
Signed-off-by: Maxime Peim <[email protected]>
2 weeks agosession: make alpn more generic for transports 61/43861/2
Matus Fabian [Wed, 8 Oct 2025 10:00:02 +0000 (06:00 -0400)]
session: make alpn more generic for transports

- move all type definitions from tls_types to transport types
- move hash table for alpn proto reverse lookup to transport_main
- add get_alpn_selected to transport_proto_vft_t
- add transport_get_alpn_selected as common function for
  negotiated alpn proto retrieval

Type: refactor

Change-Id: I8bde0844a6263f6ba023837b405c5b66c4781955
Signed-off-by: Matus Fabian <[email protected]>
2 weeks agovppinfra: add CLOEXEC flag to memfd create calls 35/43835/3
Paul Ponchon [Fri, 3 Oct 2025 14:23:10 +0000 (16:23 +0200)]
vppinfra: add CLOEXEC flag to memfd create calls

This commit adds a MFD_CLOEXEC flag to avoid memory leaks through child process
when VPP crashes.

Type: fix
Change-Id: Icd155102884f6e96bbe62149cc07f7cbfca77854
Signed-off-by: Paul Ponchon <[email protected]>
2 weeks agovlib: move vlib_global_main.elog_main to the heap 56/43856/2
Mohammed Hawari [Tue, 7 Oct 2025 13:25:53 +0000 (15:25 +0200)]
vlib: move vlib_global_main.elog_main to the heap

Change-Id: Ie35a21e69f43c2cadefbc767e1100798c6f0f7fb
Type: refactor
Signed-off-by: Mohammed Hawari <[email protected]>
2 weeks agovlib: only access vgm elog_main through accessor 55/43855/2
Mohammed Hawari [Tue, 7 Oct 2025 13:11:53 +0000 (15:11 +0200)]
vlib: only access vgm elog_main through accessor

Change-Id: I5ac1bcff59780d8d27bff5b097677f9385378f83
Type: refactor
Signed-off-by: Mohammed Hawari <[email protected]>
2 weeks agosession: move tls_alpn_proto_t to transport_types 45/43845/3
Matus Fabian [Mon, 6 Oct 2025 17:03:14 +0000 (13:03 -0400)]
session: move tls_alpn_proto_t to transport_types

Type: refactor

Change-Id: I0a314ba5111f6c706296d4f949f8b107492e188a
Signed-off-by: Matus Fabian <[email protected]>
2 weeks agohs-test: run iperf server as daemon 65/43765/2
Adrian Villin [Tue, 7 Oct 2025 13:09:41 +0000 (09:09 -0400)]
hs-test: run iperf server as daemon

Type: test

Change-Id: I325accfa89a6ae7cf69b29cd9a471fc859696999
Signed-off-by: Adrian Villin <[email protected]>
2 weeks agovcl: handle incomplete dgram read 50/43850/2
Florin Coras [Tue, 7 Oct 2025 06:48:19 +0000 (23:48 -0700)]
vcl: handle incomplete dgram read

Type: improvement

Change-Id: I06e2c61376630e9c969986fa31cc6a17798b8614
Signed-off-by: Florin Coras <[email protected]>
2 weeks agobuild: update vpp-opt-deps to openssl 3.6.0 47/43847/2
Dave Wallace [Mon, 6 Oct 2025 17:54:43 +0000 (13:54 -0400)]
build: update vpp-opt-deps to openssl 3.6.0

Type: improvement

Change-Id: I6b7e06a6766e2fb71637d2c471c3cf2a93664c07
Signed-off-by: Dave Wallace <[email protected]>
2 weeks agoarmada: add swtich to force DSA parsing on or off 43/43843/2
Damjan Marion [Mon, 6 Oct 2025 15:06:02 +0000 (17:06 +0200)]
armada: add swtich to force DSA parsing on or off

Type: improvement
Change-Id: I5eaa8e1d2f6b3ca45ead106cdbc1db580ceb4f41
Signed-off-by: Damjan Marion <[email protected]>
2 weeks agokube-test: fix cluster setup 63/43763/4
Adrian Villin [Mon, 6 Oct 2025 11:13:58 +0000 (13:13 +0200)]
kube-test: fix cluster setup

- temporarily disabled some things for master cluster

Type: test

Change-Id: I5919703001f3d29982607092f2ef4f95b1350833
Signed-off-by: Adrian Villin <[email protected]>
2 weeks agovppinfra: export elog_event_type_register 38/43838/2
Mohammed Hawari [Mon, 6 Oct 2025 08:45:03 +0000 (10:45 +0200)]
vppinfra: export elog_event_type_register

Signed-off-by: Mohammed Hawari <[email protected]>
Type: improvement
Change-Id: Ib1301c323b59fdc517fea42c4c3bdc886d30a015

2 weeks agoip:fix pmtu next node index errror, it should use own value 94/42594/4
guangming.zhang [Tue, 1 Apr 2025 05:33:46 +0000 (05:33 +0000)]
ip:fix pmtu next node index errror, it should use own value

Type:fix
Change-Id: I5313f2ee28db47f120d0077f097bab7226819092
Signed-off-by: guangming.zhang <[email protected]>
2 weeks agosession: add udp start ts to eventing 37/43837/3
Florin Coras [Sat, 4 Oct 2025 02:54:56 +0000 (22:54 -0400)]
session: add udp start ts to eventing

Type: improvement

Change-Id: Ia58359460bae71585012a21f42bcf31b0b2ea14d
Signed-off-by: Florin Coras <[email protected]>
3 weeks agohsa: improve vcl test udp throughput 36/43836/2
Florin Coras [Sat, 4 Oct 2025 02:40:18 +0000 (22:40 -0400)]
hsa: improve vcl test udp throughput

Send more than 1 dgram before calling select to avoid syscall
(epoll_wait) overhead.

Type: improvement

Change-Id: I0acb8f1927c12ef2e4c599f0faac7c143c7e54b7
Signed-off-by: Florin Coras <[email protected]>
3 weeks agosession: refactoring application_local.c 38/43138/20
Steven Luong [Tue, 10 Jun 2025 21:18:19 +0000 (14:18 -0700)]
session: refactoring application_local.c

Moved segment management code to segment_manager.c and rename functions to sm_custom.
Specifically,

ct_session_dealloc_fifos -> sm_custom_segment_dealloc_fifos
ct_lookup_free_segment   -> sm_lookup_free_custom_segment
ct_alloc_segment         -> sm_custom_alloc_segment
ct_init_accepted_session -> sm_custom_segment_alloc_fifos

Unified segment_manager_alloc_fifos and segment_manager_dealloc_fifos with
custom segment. Only exposed segment_manager_alloc/dealloc_fifos as public APIs.

Make use of session_transport_delete_notify instead of custom cleanup.

Type: improvement

Change-Id: Ibd0eaef92e3ebb8da536c5190bcd004571a35fc1
Signed-off-by: Steven Luong <[email protected]>
3 weeks agoquic: fix quicly plugin to use vpp crypto engine. 82/43782/12
Dave Wallace [Sat, 27 Sep 2025 02:22:00 +0000 (22:22 -0400)]
quic: fix quicly plugin to use vpp crypto engine.

- Make picotls the default crypto engine
- Improve debug output
- Fix vpp native crypto engine issues introduced
  during quic engine api & quic_quicly plugin
  development
- Convert c++ style comments to c-style
- Refactor 'quic set crypto api' command to
  remove quicly engine specific terminology
  and make it work properly.

Type: fix

Change-Id: I6b60b7b51e8b666fc075373d432b1031b8e5d9e3
Signed-off-by: Dave Wallace <[email protected]>
3 weeks agoige: native driver for Intel Gigabit Adapters (i211, i225, i226) 81/41081/16
Damjan Marion [Thu, 2 Oct 2025 12:01:39 +0000 (14:01 +0200)]
ige: native driver for Intel Gigabit Adapters (i211, i225, i226)

Type: feature
Change-Id: I79bd1111fdfc777843de917ed061c8e818e20d2e
Signed-off-by: Damjan Marion <[email protected]>
3 weeks agointerface: interface monitor CLI displays incorrect rate statistics 13/43613/5
jinshaohui [Mon, 22 Sep 2025 12:07:21 +0000 (20:07 +0800)]
interface: interface monitor CLI displays incorrect rate statistics

   Fix interface rate monitoring discrepancy caused by
sw_if_index/hw_if_index mismatch in sub-interface scenarios

Type: fix

Change-Id: Ie6ea16b607da686e318473de05d5818fd7216ce0
Signed-off-by: jinshaohui <[email protected]>
3 weeks agovppinfra api: remove vppinfra api dependency 25/43825/2
Florin Coras [Fri, 3 Oct 2025 01:47:56 +0000 (21:47 -0400)]
vppinfra api: remove vppinfra api dependency

vppinfra should not dependend on api generated files. Move
jsonformat.[ch] to vlibapi.

Type: refactor

Change-Id: Ia8b46fd73e95eb90c86a0b3402b3a391ba0f4bcd
Signed-off-by: Florin Coras <[email protected]>
3 weeks agohttp: http/3 framing layer 21/43821/4
Matus Fabian [Wed, 1 Oct 2025 16:40:29 +0000 (12:40 -0400)]
http: http/3 framing layer

DATA, HEADERS, SETTINGS and GOAWAY frames parsing and serailizing

Type: feature

Change-Id: Id6e8ea3fe010292c73b4604496f8394c1ddba2c7
Signed-off-by: Matus Fabian <[email protected]>
3 weeks agointerface: add cli config option for fq nelts 12/43712/3
Florin Coras [Wed, 17 Sep 2025 18:05:57 +0000 (14:05 -0400)]
interface: add cli config option for fq nelts

Allow configuration of frame queue nelts instead of the default 64

Type: improvement
Change-Id: Id2e2fe2d8f4d44800120114eb7f922a24d87b170
Signed-off-by: Florin Coras <[email protected]>
3 weeks agoip: move address related functions to types 22/43822/3
Florin Coras [Thu, 2 Oct 2025 06:23:08 +0000 (02:23 -0400)]
ip: move address related functions to types

Move functions that do basic operations on ip4/6/46 addresses from ip.h
to ip_types.h, to ease consumption / minimize dependencies, especially
on ip.h which pulls in the whole ip layer.

Type: refactor

Change-Id: I92be1010337c65bdb132b32880633d519cf56fc8
Signed-off-by: Florin Coras <[email protected]>
3 weeks agodev: minor fixes and improvements 23/43823/2
Damjan Marion [Thu, 2 Oct 2025 12:03:08 +0000 (14:03 +0200)]
dev: minor fixes and improvements

Change-Id: Id38f58ec37768be00cbb106ca697ca61186111e6
Type: improvement
Signed-off-by: Damjan Marion <[email protected]>
3 weeks agohttp: qpack_encode_method fix 20/43820/2
Matus Fabian [Wed, 1 Oct 2025 16:13:26 +0000 (12:13 -0400)]
http: qpack_encode_method fix

missing break found by coverity

Type:fix

Change-Id: Ib63d9466c9282eebd0270a2cf0fb0dfe0fef6ae9
Signed-off-by: Matus Fabian <[email protected]>
3 weeks agovcl: add option to build vcl wihout bapi support 19/43819/3
Florin Coras [Wed, 1 Oct 2025 03:01:29 +0000 (23:01 -0400)]
vcl: add option to build vcl wihout bapi support

Add compile time option to disable building vcl bapi infrastructure. For
now, the build is still enabled and the code is tested, but BAPI support
is deprecated and will be removed in time.

Type: improvement

Change-Id: I8d04b0496b53025637e3339cac600d2637f282a8
Signed-off-by: Florin Coras <[email protected]>
3 weeks agoip: ip6 frags should have as much space for headers as original 55/43755/3
Florin Coras [Fri, 26 Sep 2025 00:25:45 +0000 (20:25 -0400)]
ip: ip6 frags should have as much space for headers as original

Type: improvement

Change-Id: I10c924a391379151a09e2b81b364a4d796f751ec
Signed-off-by: Florin Coras <[email protected]>
3 weeks agosnort: add verbosity to show desc freelist 62/43762/2
Mohsin Kazmi [Tue, 30 Sep 2025 15:22:06 +0000 (15:22 +0000)]
snort: add verbosity to show desc freelist

Type: improvement

Signed-off-by: Mohsin Kazmi <[email protected]>
Change-Id: Ifeaefb24a4970a617d35c38cbdbd27ab00186ff5

3 weeks agosnort: fix the cli help 05/43605/2
Mohsin Kazmi [Tue, 16 Sep 2025 16:23:16 +0000 (16:23 +0000)]
snort: fix the cli help

Type: fix

Signed-off-by: Mohsin Kazmi <[email protected]>
Change-Id: Iea94466dddfe71489ee8dd586ea205d47e1fb4eb

3 weeks agoocteon: add switch_header_type argument 58/43758/12
Yoann Desmouceaux [Fri, 26 Sep 2025 10:22:38 +0000 (03:22 -0700)]
octeon: add switch_header_type argument

This commit adds a new argument, switch_header_type, to the octeon port
config, which can be used to tell the NPC about the type of underlying
switch header (edsa, etc), so that it can properly skip it when
performing RSS computations.

Type: improvement

Change-Id: I80f05ea07f5c466bb13b30c2d353b9d0876ad497
Signed-off-by: Yoann Desmouceaux <[email protected]>
Signed-off-by: Damjan Marion <[email protected]>
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
3 weeks agodev: fix typos 17/43817/2
Damjan Marion [Tue, 30 Sep 2025 12:09:28 +0000 (14:09 +0200)]
dev: fix typos

Type: fix
Change-Id: I26a7799762907ac72f47ba2f07b1ace403c34d1f
Signed-off-by: Damjan Marion <[email protected]>
3 weeks agohttp: QPACK encoding request 16/43816/2
Matus Fabian [Tue, 30 Sep 2025 10:02:20 +0000 (06:02 -0400)]
http: QPACK encoding request

Type: feature

Change-Id: Ic823d9db4f594b66fff14aefd5658350d5621fda
Signed-off-by: Matus Fabian <[email protected]>
3 weeks agohttp: QPACK encoding response 92/43792/3
Matus Fabian [Mon, 29 Sep 2025 16:05:07 +0000 (12:05 -0400)]
http: QPACK encoding response

Type: feature

Change-Id: I238227966b9bb1056f371241b5d8e0667993a967
Signed-off-by: Matus Fabian <[email protected]>
3 weeks agohttp: QPACK header encoding w/o dynamic table 80/43780/6
Matus Fabian [Fri, 26 Sep 2025 15:59:29 +0000 (11:59 -0400)]
http: QPACK header encoding w/o dynamic table

Type: feature

Change-Id: I10eeb9b7b5a5e8fc8733ea33463cffaece7bd162
Signed-off-by: Matus Fabian <[email protected]>
3 weeks agosnort: add support for daq-vpp msg dump 61/43761/2
Mohsin Kazmi [Tue, 30 Sep 2025 12:15:35 +0000 (12:15 +0000)]
snort: add support for daq-vpp msg dump

Type: feature

To enable msg debugging:
   --daq-var debug-msg

Signed-off-by: Mohsin Kazmi <[email protected]>
Change-Id: Ie2acd4aa763837c46d1908915ccf941743bf5b38

3 weeks agosession: add option to not dump segments in cores 81/43781/3
Florin Coras [Sat, 27 Sep 2025 00:59:57 +0000 (20:59 -0400)]
session: add option to not dump segments in cores

Type: improvement

Change-Id: Icdddfe2d610945e329ef86ec1244c3b53f227ace
Signed-off-by: Florin Coras <[email protected]>
3 weeks agosession: app socket api as default instead of bapi 94/43794/4
Florin Coras [Tue, 30 Sep 2025 05:24:02 +0000 (01:24 -0400)]
session: app socket api as default instead of bapi

Default to using app socket api instead of binary api for external
application attachment. It is more secure as the binary api socket no
longer needs to be exposed to apps to be able to attach.

Moved all python tests to app socket api and added a new one for basic
testing of bapi.

Type: improvement

Change-Id: Ib8c71e648871cd56492cb7bfb28997ebd117e009
Signed-off-by: Florin Coras <[email protected]>
3 weeks agodev: add enum arg type 90/43790/4
Damjan Marion [Mon, 29 Sep 2025 12:50:49 +0000 (14:50 +0200)]
dev: add enum arg type

Type: improvement
Change-Id: Iafae917a52b848f146f8a9651e26812702501751
Signed-off-by: Damjan Marion <[email protected]>
3 weeks agohsa: remove sapi apps support for vpe api 93/43793/1
Florin Coras [Mon, 29 Sep 2025 22:12:20 +0000 (18:12 -0400)]
hsa: remove sapi apps support for vpe api

Type: improvement

Change-Id: I8f14db9ab7b65d2e55237bf19ec660490677c1bd
Signed-off-by: Florin Coras <[email protected]>
3 weeks agodev: add option to specify device-id(s) in "show device" 91/43791/2
Damjan Marion [Mon, 29 Sep 2025 15:03:57 +0000 (17:03 +0200)]
dev: add option to specify device-id(s) in "show device"

Type: improvement
Change-Id: Id0caddd67997fadb86ec493c01da7966146266c3
Signed-off-by: Damjan Marion <[email protected]>
3 weeks agohttp: QPACK decoding request and response 53/43753/3
Matus Fabian [Thu, 25 Sep 2025 15:14:30 +0000 (11:14 -0400)]
http: QPACK decoding request and response

Type: feature

Change-Id: Ica48ee1bf432a88529c41b166f5a883e2a432677
Signed-off-by: Matus Fabian <[email protected]>
3 weeks agohttp: move generic functions to hpack_inlines.h 51/43751/4
Matus Fabian [Thu, 25 Sep 2025 10:08:56 +0000 (06:08 -0400)]
http: move generic functions to hpack_inlines.h

Type: refactor

Change-Id: Ia7ce7b7651098a5e25e3adadaa854529008ccef6
Signed-off-by: Matus Fabian <[email protected]>
3 weeks agohttp: QPACK header decoding w/o dynamic table 51/43651/5
Matus Fabian [Tue, 2 Sep 2025 15:27:00 +0000 (11:27 -0400)]
http: QPACK header decoding w/o dynamic table

Type: feature

Change-Id: Iee49328d21f4c2ab0f384de9864be6d2f65f50eb
Signed-off-by: Matus Fabian <[email protected]>
3 weeks agohs-test: add suite labels and label filtering 59/43759/3
Adrian Villin [Fri, 26 Sep 2025 14:09:30 +0000 (10:09 -0400)]
hs-test: add suite labels and label filtering

- https://onsi.github.io/ginkgo/#spec-labels

Type: test

Change-Id: I7ebb703d52d6e65efb7a24cd3abc949a749b26c8
Signed-off-by: Adrian Villin <[email protected]>
3 weeks agodev: remove duplicate cli 88/43788/2
Damjan Marion [Mon, 29 Sep 2025 11:58:49 +0000 (13:58 +0200)]
dev: remove duplicate cli

Type: fix
Change-Id: I40c3536892d41a068dd2c2e4f7a80ae9cc5c9767
Signed-off-by: Damjan Marion <[email protected]>
3 weeks agobuild: add keyword none to VPP_PLUGINS= 87/43787/1
Damjan Marion [Mon, 29 Sep 2025 11:38:14 +0000 (13:38 +0200)]
build: add keyword none to VPP_PLUGINS=

Type: improvement
Change-Id: I5301e4df91f2486446acb4a6049170357b51cf5d
Signed-off-by: Damjan Marion <[email protected]>
4 weeks agovlib: native fuse filesystem implementation 84/43684/15
Damjan Marion [Fri, 26 Sep 2025 13:13:45 +0000 (15:13 +0200)]
vlib: native fuse filesystem implementation

Type: feature
Change-Id: I2445b30ec570fe608a4b60128a5e5bde7d4c96ee
Signed-off-by: Damjan Marion <[email protected]>
4 weeks agomisc: include hs_apps in cov reports 78/43778/3
Semir Sionek [Fri, 26 Sep 2025 09:42:14 +0000 (09:42 +0000)]
misc: include hs_apps in cov reports

Type: make
Change-Id: Iceeb1ff03da4d12e3d24fb6ceea5044448d807d5
Signed-off-by: Semir Sionek <[email protected]>
4 weeks agostats: histogram, gauge and ring buffer types 71/43471/11
Ole Troan [Wed, 23 Jul 2025 10:46:49 +0000 (12:46 +0200)]
stats: histogram, gauge and ring buffer types

A new log2 histogram type with prometheus exporter support.
min_exp can be set in the first element to adjust the bins.

The ring buffer is intended for exporting records to a client side
reader. If the reader cannot keep up the writer will overwrite oldest
entry.

Added a new gauge type, which is like scalar index, but being
explicit allows the prometheus exported to set type corretly.

Type: improvement
Change-Id: Ibe1244f28e01eee8d61a3ca6edb6fd1801f1c942
Signed-off-by: Ole Troan <[email protected]>
Change-Id: I1a6046c6962d67db8c510a571e9414723acbbd7e
Signed-off-by: Ole Troan <[email protected]>
4 weeks agoip: frags should have as much space for headers as original 54/43754/2
Florin Coras [Thu, 25 Sep 2025 17:52:21 +0000 (13:52 -0400)]
ip: frags should have as much space for headers as original

Type: improvement

Change-Id: Ic8ef26f588a7c161abbe63b3887a76faa32872de
Signed-off-by: Florin Coras <[email protected]>
4 weeks agohs-test: flaky Http2ContinuationTxTest fix 46/43746/2
Matus Fabian [Wed, 24 Sep 2025 10:37:06 +0000 (06:37 -0400)]
hs-test: flaky Http2ContinuationTxTest fix

curl container output get rarely corrupted for unknown reason

Type: test

Change-Id: I3c832e1bfddffe590b3b3667065c28d4ded8183e
Signed-off-by: Matus Fabian <[email protected]>
4 weeks agohsa: http connect proxy client multiworker support 16/43616/24
Matus Fabian [Wed, 20 Aug 2025 16:18:46 +0000 (12:18 -0400)]
hsa: http connect proxy client multiworker support

Type: improvement

Change-Id: I24e80476136712ee8dd4c8c4b3cd7e5c017acc80
Signed-off-by: Matus Fabian <[email protected]>
4 weeks agohsa: http connect proxy client 90/43490/56
Matus Fabian [Mon, 28 Jul 2025 16:44:13 +0000 (12:44 -0400)]
hsa: http connect proxy client

Type: feature

Change-Id: Ibe6c01378688b0b47ef26149663b3de1aa02a083
Signed-off-by: Matus Fabian <[email protected]>
4 weeks agohttp: h2 fix app closed tunnel 40/43740/2
Matus Fabian [Tue, 23 Sep 2025 13:55:07 +0000 (09:55 -0400)]
http: h2 fix app closed tunnel

do not change stream state if there is more data to send when app
closed tunnel

Type: fix

Change-Id: I41a39b10ceeabc02d6f23a6bdf8c51b421cffb61
Signed-off-by: Matus Fabian <[email protected]>
4 weeks agohttp: add stream reset countres to the stats 32/43732/3
Matus Fabian [Mon, 22 Sep 2025 15:18:25 +0000 (11:18 -0400)]
http: add stream reset countres to the stats

Type: improvement

Change-Id: Id255a0e03f127576abcdc7a0e025c9f3c3eb6981
Signed-off-by: Matus Fabian <[email protected]>
4 weeks agolinux-cp: fix multicast route setup with lcp-sync 41/43741/2
Matthew Smith [Mon, 22 Sep 2025 13:32:29 +0000 (08:32 -0500)]
linux-cp: fix multicast route setup with lcp-sync

Type: fix
Fixes: 344dab5a22e1

Code which tries to avoid removing multicast routes prematurely or
adding them multiple times causes problems when lcp-sync is enabled. At
the time the decision is made whether this is the first interface
address added, multiple addresses may already configured on the VPP
interface. This causes the route to not be added.

Retain the check which avoids premature removal and remove the one
which tries to avoid adding the route multiple times. Adding the route
more than once is innocuous.

Signed-off-by: Matthew Smith <[email protected]>
Change-Id: I2a29f87db5ba97e847a6e29ad2283386b1f1dc7b

4 weeks agocrypto-native: respect platform flags if platform build 50/43750/2
Damjan Marion [Thu, 25 Sep 2025 09:23:18 +0000 (11:23 +0200)]
crypto-native: respect platform flags if platform build

Type: improvement
Change-Id: I79200230c6ebfba988b5f36baa98ef976c9ba58f
Signed-off-by: Damjan Marion <[email protected]>
4 weeks agobuild: change cpu flags for octeon10 platform 49/43749/1
Damjan Marion [Thu, 25 Sep 2025 08:42:19 +0000 (10:42 +0200)]
build: change cpu flags for octeon10 platform

Type: improvement
Change-Id: Ieb28e07aa6159d5cd670e816cae0d0b3599c417e
Signed-off-by: Damjan Marion <[email protected]>
4 weeks agohsa: include rtt & jitter measurements in echo client periodic reports 69/43669/13
Semir Sionek [Mon, 8 Sep 2025 12:18:49 +0000 (12:18 +0000)]
hsa: include rtt & jitter measurements in echo client periodic reports

Periodic reports in echo client now include RTT measurements by default
in TCP & UDP echo-bytes runs. They can be swapped for basic jitter
measurements with report-jitter.

Type: improvement

Change-Id: I8ee0b17b49ed24799adb95ac7a3bbad383e339e1
Signed-off-by: Semir Sionek <[email protected]>
4 weeks agomisc: Initial 26.02-rc0 commit 56/43756/1 v26.02-rc0
Andrew Yourtchenko [Wed, 24 Sep 2025 12:09:17 +0000 (14:09 +0200)]
misc: Initial 26.02-rc0 commit

Type: docs
Change-Id: If76365a42efd88ac49af02fb4c86d62c4bafe24b
Signed-off-by: Andrew Yourtchenko <[email protected]>
4 weeks agodhcp: fix lease renewal for non-default fibs 43/43743/4
Florin Coras [Tue, 23 Sep 2025 19:32:11 +0000 (15:32 -0400)]
dhcp: fix lease renewal for non-default fibs

Type: fix

Change-Id: Ic6f02e47cd7f83d3ac0f273b9bff5c6c1d8d5a43
Signed-off-by: Florin Coras <[email protected]>
Signed-off-by: Steven Luong <[email protected]>
4 weeks agohsa: adjust echo client reporting for udp runs 39/43739/2
Semir Sionek [Tue, 23 Sep 2025 12:13:07 +0000 (12:13 +0000)]
hsa: adjust echo client reporting for udp runs

Do not print handshake times for UDP, include total dgram
sent/received/loss percentage statistics.

Type: improvement
Change-Id: I67df73d56b2971c8fddd757fceef76c0f208aed4
Signed-off-by: Semir Sionek <[email protected]>
4 weeks agokube-test: fix and update image tags 14/43614/1
Adrian Villin [Tue, 23 Sep 2025 08:52:27 +0000 (04:52 -0400)]
kube-test: fix and update image tags

Type: test

Change-Id: I6514cad1349c65a4ae79e657a3d64d380ce1c1e4
Signed-off-by: Adrian Villin <[email protected]>
4 weeks agohsa: proxy active_open_rx_callback fix 31/43731/3
Matus Fabian [Mon, 22 Sep 2025 12:32:37 +0000 (08:32 -0400)]
hsa: proxy active_open_rx_callback fix

Do not program tx evt on passive open when session is closed

Type: fix

Change-Id: Iddf1e40689caf87e1846534c58b0d42f07ca046e
Signed-off-by: Matus Fabian <[email protected]>
4 weeks agohsa: remove unused test_send_buffer from echo client 28/43728/2
Semir Sionek [Mon, 22 Sep 2025 10:05:35 +0000 (10:05 +0000)]
hsa: remove unused test_send_buffer from echo client

test_send_buffer was originally supposed to be used for assembling
dgrams with included data buffer offsets. As we decided on using
segments, this is not needed.

Type: fix
Change-Id: I3cdbfc077aefeecc44615cb93f7d9f3274b6b5fb
Signed-off-by: Semir Sionek <[email protected]>
4 weeks agodev: add ability for process node to wait for device config 25/43725/3
Damjan Marion [Fri, 19 Sep 2025 08:36:57 +0000 (10:36 +0200)]
dev: add ability for process node to wait for device config

This also reverts commit f36243c which was causing issues with queue
setup.

Change-Id: I5997d226c4bbf8c58d9ad538fa59563ea4fe2f69
Type: fix
Fixes: f36243c
Signed-off-by: Damjan Marion <[email protected]>
4 weeks agosnort: add support for DIOCTL_GET_PRIV_DATA_LEN 09/43609/2
Mohsin Kazmi [Fri, 19 Sep 2025 16:07:56 +0000 (16:07 +0000)]
snort: add support for DIOCTL_GET_PRIV_DATA_LEN

Type: improvement

This patch implements support for retrieving private data length via ioctl.
The private data pointer is set in the message header,
and when Snort processes the packet, it can request the length
of this private data through the ioctl interface.

Signed-off-by: Mohsin Kazmi <[email protected]>
Change-Id: I02a831557b349bab7c9c8fe2e00cd8b085d3e5f7