Adrian Villin [Mon, 8 Sep 2025 14:29:39 +0000 (16:29 +0200)]
hs-test: move hs-test to vpp/test-c
- separated cluster tests from hs-test and moved them into
test-c/kube-test
- cleaned up kube-test and hs-test
- kube-test setup-cluster.sh improvements
- Makefile in extras/hs-test is temporary
- kube-test stability improvements
Type: test
Change-Id: Iee9fc732ccd303d4b4635d329f673c03f95a4dd4
Signed-off-by: Adrian Villin <[email protected]>
Matus Fabian [Mon, 15 Sep 2025 20:06:17 +0000 (16:06 -0400)]
http: notify app on app_worker_init_connected err
Type: fix
Change-Id: I5096d3869134af4f696b2ee9be605a9d049202d4
Signed-off-by: Matus Fabian <[email protected]>
Damjan Marion [Mon, 15 Sep 2025 20:30:41 +0000 (22:30 +0200)]
build: bump cmake to 3.19
Type: improvement
Change-Id: I8b509b3eb03b4df2972e73aeec4771190652171b
Signed-off-by: Damjan Marion <[email protected]>
Damjan Marion [Mon, 15 Sep 2025 17:36:24 +0000 (19:36 +0200)]
octeon: add support for changing RSS key
Change-Id: I855c394262b275d1f98d9bce1a3cd4a2411d88f7
Type: improvement
Signed-off-by: Damjan Marion <[email protected]>
Damjan Marion [Mon, 15 Sep 2025 17:35:48 +0000 (19:35 +0200)]
dev: add support for changing RSS key
Type: improvement
Change-Id: I40350be4c362d20f60b94c82faf564f06d8e86f6
Signed-off-by: Damjan Marion <[email protected]>
Matus Fabian [Mon, 8 Sep 2025 23:07:33 +0000 (19:07 -0400)]
hsa: proxy don't send tx event when fifo is empty
Type: improvement
Change-Id: Ic0a37de2c9f9e0b4e60cdd0740eb4ffcede23629
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Mon, 8 Sep 2025 17:14:40 +0000 (13:14 -0400)]
hsa: proxy http can be closed on ao connected err
Type: fix
Change-Id: I0e42a40a33056c00ca7b7a01acd4c73072734eb2
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Mon, 8 Sep 2025 17:08:51 +0000 (13:08 -0400)]
http: add half-close support for h2 tcp tunnels
Proxy app can now handle TCP connection close better.
Type: improvement
Change-Id: I8d0cbf0c8dbc97aac4b8d860e67c4a325f316213
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Sun, 7 Sep 2025 20:25:40 +0000 (16:25 -0400)]
http: add worker counters
Type: improvement
Change-Id: I38c12f53568d41f7eb417d6c08d0c8fef5767597
Signed-off-by: Matus Fabian <[email protected]>
Alexander Maltsev [Wed, 10 Sep 2025 13:57:03 +0000 (18:57 +0500)]
vppinfra: zero-terminate self netns path
Fix tap_create_if sometimes failing to get current netns.
Type: fix
Change-Id: I30f7cd623028da52240d8d29077a01a59cb96f77
Signed-off-by: Alexander Maltsev <[email protected]>
Damjan Marion [Mon, 15 Sep 2025 13:24:08 +0000 (15:24 +0200)]
octeon: add option to specify RSS flowkey bitmap
Type: improvement
Change-Id: I0fa660c96a44ede0fcb435af560544bbc0f8da04
Signed-off-by: Damjan Marion <[email protected]>
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
Damjan Marion [Mon, 15 Sep 2025 12:03:02 +0000 (14:03 +0200)]
octeon: fix issue with RSS and promisc mode
Type: fix
Change-Id: I64c4cb8655ff957940a6d7ec38a82a8bf0dd4053
Signed-off-by: Damjan Marion <[email protected]>
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
Mohsin Kazmi [Mon, 15 Sep 2025 12:54:47 +0000 (12:54 +0000)]
snort: refactor to better align the code
Type: refactor
Signed-off-by: Mohsin Kazmi <[email protected]>
Change-Id: If6c71b96843f082842e1f290885ee0e12384e5d0
Florin Coras [Wed, 10 Sep 2025 03:04:00 +0000 (23:04 -0400)]
session tls: add support for configurable trusted cas
Type: feature
Change-Id: Ic6727d03a369cf09d4397da6bff998d1811a6a61
Signed-off-by: Florin Coras <[email protected]>
Semir Sionek [Tue, 9 Sep 2025 12:47:44 +0000 (12:47 +0000)]
hsa: various echo client fixes
Now last_total variables for datagrams are properly initialized.
Batch size for UDP runs when using throughput limiting now caps at 1460
to avoid splitting datagrams.
Final throughput avg printout is now rounded to the nearest integer.
Type: fix
Change-Id: Ia52687b73bd22ec682a971f9ee902572c9212436
Signed-off-by: Semir Sionek <[email protected]>
Dave Wallace [Fri, 12 Sep 2025 14:39:26 +0000 (10:39 -0400)]
tls: fix memory leak when using test cert
Type: fix
Change-Id: I4bf4c6c37f9ee6e262730c372f16fbc086a2d13c
Signed-off-by: Dave Wallace <[email protected]>
Florin Coras [Thu, 11 Sep 2025 20:42:49 +0000 (16:42 -0400)]
hsa: test cl udp vcl events
Validate that rx events are properly propagated for cl udp sessions.
Type: test
Change-Id: Idd5430915d7ba9921d0f5327b1e3f7d3f9ffd333
Signed-off-by: Florin Coras <[email protected]>
Florin Coras [Thu, 11 Sep 2025 16:04:43 +0000 (12:04 -0400)]
session: track app session index for cl sessions
Type: fix
Change-Id: I961d00f40a0facd6db4d4f39177bd22b36ed29f3
Signed-off-by: Florin Coras <[email protected]>
Damjan Marion [Mon, 8 Sep 2025 10:57:56 +0000 (12:57 +0200)]
build: add option to disable building of Python API
Type: improvement
Change-Id: I7fc2946e136373c4deabfd2c4655ed84c94f8c26
Signed-off-by: Damjan Marion <[email protected]>
Adrian Villin [Tue, 9 Sep 2025 07:13:16 +0000 (03:13 -0400)]
hs-test: lower TcpWithLoss perf threshold
Type: test
Change-Id: Icecb4fce52cb8df8a0b252efcbd67df188bee8d1
Signed-off-by: Adrian Villin <[email protected]>
Matus Fabian [Sun, 7 Sep 2025 13:15:44 +0000 (09:15 -0400)]
hsa: proxy session reset improvement
Handle session_reset_callback as session reset to properly propagate
session state between active and passive open sides.
Type: improvement
Change-Id: I34eb80f5a4d7874e6cb0fdc072c6ee5894793b03
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Sun, 7 Sep 2025 13:14:30 +0000 (09:14 -0400)]
http: http/2 tunnel closing improvement
Type: improvement
Change-Id: I8f9520a8a72ff42fb239852fc28b6c1b63ca268b
Signed-off-by: Matus Fabian <[email protected]>
Adrian Villin [Fri, 5 Sep 2025 07:01:45 +0000 (09:01 +0200)]
hs-test: fix KinD cluster setup
Type: test
Change-Id: I00dfe98e2bed81a5db6d50f3244c0b8ab546c356
Signed-off-by: Adrian Villin <[email protected]>
Damjan Marion [Mon, 8 Sep 2025 21:53:27 +0000 (23:53 +0200)]
vlib: add va_list version of vlib_log()
Type: improvement
Change-Id: I94693563aef5dad4fb8a9cb59be63a4cabf8d147
Signed-off-by: Damjan Marion <[email protected]>
Damjan Marion [Tue, 6 May 2025 15:45:16 +0000 (17:45 +0200)]
snort: plugin rework
Changes:
- support for multiple qpairs per thread
- ability for daq to connect to multiple instances
- ability for daq to connect to specific qpairs
- added ownership to each qpair to avoid multiple clients using same one
- enabled packet rewrite
- enqueue and dequeue nodes are decoupled from feature arcs so they
can be used in different datapaths
- feature arc doesn't support multiple-instances anymore, use multiple
qpairs for load-balancing
- per-instance drop decisions based on drop bitmap
sample snort invocation:
snort \
<standard args> \
--max-packet-threads 3 \ # number of threads snort will launch
--daq-dir <daq dir> \ # path to dir with libdaq_bpp.so
--daq vpp \ # enable VPP daq
--daq-var <path> \ # optional, path to snort.sock
--daq-var debug \ # optional, turn on debug prints
-i vpp0:1 \ # attach instance to vpp0 instance qpair 1.0
-i vpp0:1.1 \ # attach instance to vpp0 instance qpair 1.1
-i vpp0:2.0,2.1,0 \ # attach instance to vpp0 instance qpairs 2.0, 2.1 and 0.0
qpair is identified as x.y where x is thread_id and y is queue_id, .y
part can be ommited if queue_id is 0.
Type: feature
Change-Id: I4f65b9a12ec71b115b9cb2da814c7918ddf6191d
Signed-off-by: Damjan Marion <[email protected]>
Signed-off-by: Mohsin Kazmi <[email protected]>
Adrian Villin [Fri, 22 Aug 2025 12:20:17 +0000 (14:20 +0200)]
hs-test: KinD LargeMTU suite
- added large mtu iperf test
- improvements to setup-cluster script
Type: test
Change-Id: I4e2eb455b944d6b539e8627cf0f161cf182b960c
Signed-off-by: Adrian Villin <[email protected]>
Florin Coras [Thu, 28 Aug 2025 16:42:43 +0000 (12:42 -0400)]
tls: cert validation config
Type: improvement
Change-Id: I7d626ed57bbdcb7810c99a1fe0f617fde0ac014f
Signed-off-by: Florin Coras <[email protected]>
Артем Глазычев [Tue, 26 Aug 2025 12:04:58 +0000 (15:04 +0300)]
linux-cp: don't drain nl-messages during processing
When we process the incoming netlink message queue and have NEW_LINK for a VLAN interface, we call lcp_itf_pair_add.
Internally, drain is called, which corrupts the original vector (probably due to reallocation)
Type: fix
Change-Id: I0487bfb2939a04d8d3c156725086fedd6e9c72c7
Signed-off-by: Artem Glazychev <[email protected]>
Damjan Marion [Wed, 23 Jul 2025 12:42:33 +0000 (12:42 +0000)]
dev: add option to assign one rx and one tx queue per thread
queue 0 -> main
queue 1 -> thread 1 (worker 0)
queue 2 -> thread 2 (worker 1)
etc...
example startup.conf entry:
devices {
dev pci/0002:04:00.0 {
port 0 {
name eth2
flags queue-per-thread
}
}
}
Type: improvement
Change-Id: Ia1c216905c5e4368a0e2e47688fd87348be20106
Signed-off-by: Damjan Marion <[email protected]>
Semir Sionek [Wed, 20 Aug 2025 14:16:29 +0000 (14:16 +0000)]
hsa: add periodic reports to builtin echo client
report-interval now enables periodic reports, which display TX/RX stats,
as well as throughput and sent/recv datagrams if running over UDP.
It also features a -total variant, which displays same data, but as
totals counted from test start time.
Type: improvement
Change-Id: I28dd1a0c8bfbcaf2882a102433ce4acf28b3d6ef
Signed-off-by: Semir Sionek <[email protected]>
Semir Sionek [Mon, 1 Sep 2025 13:45:08 +0000 (13:45 +0000)]
session: fix app_send_dgram_segs enqueueing n-1 segments
Type: fix
Change-Id: Iad1c4d967a10e2b5a2e951b119ff4b89716c3d50
Signed-off-by: Semir Sionek <[email protected]>
Matus Fabian [Wed, 27 Aug 2025 20:38:39 +0000 (16:38 -0400)]
http: http2_conn_connect_stream_callback fix
pass correct opaque to app_worker_connect_notify on max streams hit
Type: fix
Change-Id: Ib320eddc90eb30a60914c7769faef779f6911a3f
Signed-off-by: Matus Fabian <[email protected]>
Florin Coras [Wed, 20 Aug 2025 17:33:24 +0000 (13:33 -0400)]
hsi: support to intercept all proto traffic
Type: improvement
Change-Id: Ieebc0a8383f8c86756e4bd36501c2faa9df87a98
Signed-off-by: Florin Coras <[email protected]>
Florin Coras [Fri, 22 Aug 2025 14:49:05 +0000 (10:49 -0400)]
udp: add input nolookup node
Feature parity with tcp. Useful when other nodes like hsi do the udp
session lookup before sending to udp.
Type: feature
Change-Id: Ib5f39a86cb316d326f0e19f7426b3b97c1bdecf7
Signed-off-by: Florin Coras <[email protected]>
Hadi Rayan Al-Sandid [Thu, 14 Aug 2025 19:13:09 +0000 (21:13 +0200)]
ip: 'format_ip6_header' - re-enable recurse into next proto layer
Type: improvement
Change-Id: I4d04466a9a6e94b460fb3c29543435dd9bceab99
Signed-off-by: Hadi Rayan Al-Sandid <[email protected]>
Hadi Rayan Al-Sandid [Fri, 1 Aug 2025 10:34:11 +0000 (12:34 +0200)]
ip: reassembly - enable registering custom next nodes for v6
This function adds the ability to register next
nodes for the custom ip6 full-reassembly node,
similarly to custom v4.
Type: improvement
Change-Id: I65fd323192db0b96bb7ca301f8c890a4683f48fe
Signed-off-by: Hadi Rayan Al-Sandid <[email protected]>
Benoît Ganne [Wed, 20 Aug 2025 08:13:52 +0000 (10:13 +0200)]
vnet: fix set interfaces rx-placement cli
- unformat() parses 32-bit integers whereas clib_thread_t is a 16-bit
integers, yielding stack overflow
- no need to pass thread_index when parsing main
- validate thread_index otherwise ~0 + 1 arithmetic done in
set_hw_interface_rx_placement() selects main thread by default
Type: fix
Fixes:
fc7b794758fbdd9bcae337e90255c1fc1e548808
Change-Id: I36dcba977573a32f6f91e6c5470966f35cce30ed
Signed-off-by: Benoît Ganne <[email protected]>
Jay Wang [Mon, 20 May 2024 14:30:22 +0000 (14:30 +0000)]
vppinfra: add ARM neoverse-v2 support
It is recommended to use -mcpu instead of -march or -mtune on Grace
because the -mcpu flag specifies both the appropriate architecture and
the tuning strategy[1].
Type: improvement
[1] https://github.com/NVIDIA/grace-cpu-benchmarking-guide/blob/main/src/developer/languages/c-c++.md#recommended-compiler-flags
Signed-off-by: Jay Wang <[email protected]>
Change-Id: I09b52e605f218e633c4b59519038646ac6eec870
Maxime Peim [Wed, 13 Aug 2025 15:30:16 +0000 (17:30 +0200)]
vlib: add possibility to disable pager
For the current running cli process, it can be useful to be able to
disable the pager in case of long running command (e.g. ping).
For a small window, the pager will prompt and hide the results of the
command.
Type: improvement
Change-Id: I8fdde7f581683a8d9fd702a744fb95b5c58e14ff
Signed-off-by: Maxime Peim <[email protected]>
Hadi Rayan Al-Sandid [Fri, 1 Aug 2025 12:00:04 +0000 (14:00 +0200)]
vnet: install full reassembly headers
Type: improvement
Change-Id: I7185f5f7ca2287bc194d06faf259c09c1bf19140
Signed-off-by: Hadi Rayan Al-Sandid <[email protected]>
Pim van Pelt [Wed, 13 Aug 2025 22:02:34 +0000 (00:02 +0200)]
vnet: add SFF8472 and SFF8636 diagnostics
Using device-class.eeprom_read_function, extract the type of
EEPROM, and create a parser for SFF8472 (SFP+/SFP/SFP28) and
SFF8636 (QSFP+/QSFP28/QSFP-DD) to show module diagnostics.
When available, read EEPROM page A2h and report on DDM values:
show int transceiver <itf> eeprom
show int transceiver <itf> module [verbose]
show int transceiver <itf> diag [verbose]
Type: improvement
Change-Id: Iae41b9753f31bc1a8d32b2c42d396cd743864147
Signed-off-by: [email protected]
Monendra Singh Kushwaha [Thu, 21 Aug 2025 07:29:43 +0000 (07:29 +0000)]
octeon: add L4 checksum flags
This patch adds L4 checksum related flags in vlib buffer.
Type: feature
Change-Id: Ic01940e7191b2f97f4cadb19a15b4575977aa2e3
Signed-off-by: Monendra Singh Kushwaha <[email protected]>
Artem Glazychev [Mon, 18 Aug 2025 04:18:05 +0000 (11:18 +0700)]
fib: change the order of adding interface routes
The order in which fib_table_entry is added affects the update of adjacency. If you assign a /31 address to the interface, an ARP request is sent to the peer with the source address from the glean adjacency, which is incorrect before adding the local address route.
Steps to reproduce the problem:
create tap
set interface state tap0 up
set interface ip address tap0 192.168.100.1/31
In this case, ARP-Request was sent with an incorrect sender IP:
Sender IP Address: 192.168.100.0
Target IP Address: 192.168.100.0
Type: fix
Change-Id: I8712bcf9fd0cb96788fe4a6c4b4827af774c0ab9
Signed-off-by: Artem Glazychev <[email protected]>
Changbin Park [Wed, 23 Jul 2025 05:39:58 +0000 (14:39 +0900)]
tcp: handle SYN while CLOSED state
Existing code handled SYN packets in TIME_WAIT state already. And,
according to the comment it should handle for CLOSED state as well.
But, it only checks for the TIME_WAIT state.
docs: Handle SYN packets in the CLOSED state as well
Issue: https://github.com/FDio/vpp/issues/3617
Type: fix
Signed-off-by: Changbin Park <[email protected]>
Change-Id: I478e3560ed509fb282d6cdb4a16b6f4663effb31
Konstantin Kogdenko [Sat, 23 Aug 2025 09:09:04 +0000 (12:09 +0300)]
vhost: move tracing out of processing loop
Before this fix vlib_trace_buffer was being called on not fully
initialized vlib_buffer_t (current_length == 0).
This caused trace filter functions to work incorrectly.
Type: fix
Change-Id: Ia8974af90ce91022ce1436ab54ab630bacce5bcf
Signed-off-by: Konstantin Kogdenko <[email protected]>
Adrian Villin [Wed, 27 Aug 2025 10:39:53 +0000 (12:39 +0200)]
hs-test: parse bytes/sec in TcpWithLoss tests
Type: test
Change-Id: I29ff3caa6a1f573a7e285c17416a24a74f4767f7
Signed-off-by: Adrian Villin <[email protected]>
Matus Fabian [Mon, 25 Aug 2025 17:05:02 +0000 (13:05 -0400)]
http: http2_format_req print stream state
instead of connection state
Type: improvement
Change-Id: Iaf03a3cb3f78b05d3002f0edee753797c213e651
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Mon, 25 Aug 2025 20:42:13 +0000 (16:42 -0400)]
http: http2_app_close_callback free req when done
Type: fix
Change-Id: I1bb8730cc4f6e759eebec37ef7c887b7e20faf3a
Signed-off-by: Matus Fabian <[email protected]>
Florin Coras [Mon, 25 Aug 2025 14:39:27 +0000 (10:39 -0400)]
hsa: fix echo server rx callback crash
Handle rx after close.
Type: fix
Change-Id: I9507857ba8903b674e249797d2837981382b4aec
Signed-off-by: Florin Coras <[email protected]>
Florin Coras [Mon, 25 Aug 2025 13:11:19 +0000 (09:11 -0400)]
session: fix app listener free if listen returns
If listen fails, regrab app listener in case transports reallocated the
app listener pool.
Type: fix
Change-Id: Ifeb512ececacd9bd8f201eac2e08ab4ee6f1cdd5
Signed-off-by: Florin Coras <[email protected]>
Florin Coras [Mon, 25 Aug 2025 12:54:58 +0000 (08:54 -0400)]
hsa: fix test client args check to allow default port
Type: fix
Change-Id: Ic81370ba1c4cb83793b29fc9478eee8537136aa7
Signed-off-by: Florin Coras <[email protected]>
Adrian Villin [Wed, 20 Aug 2025 10:46:12 +0000 (12:46 +0200)]
hs-test: monitor performance of some loss tests
+ updated asserts
Type: test
Change-Id: I4aec44dde3e6c0472fca9fe6a7f80c068070f92e
Signed-off-by: Adrian Villin <[email protected]>
Matus Fabian [Sun, 24 Aug 2025 16:01:19 +0000 (12:01 -0400)]
http: remove assert in http2_req_state_tunnel_tx
proxy app can send new payload before we were able to send previous
Type: fix
Change-Id: I7d0c2605da38e7495e3e26705f58a5370d1e296f
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Fri, 22 Aug 2025 13:13:59 +0000 (09:13 -0400)]
hs-test: fix core file detection
Type: test
Change-Id: I7d6c494d66a053124d176a261b65dabe1a125215
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Sun, 24 Aug 2025 14:36:15 +0000 (10:36 -0400)]
hs-test: limit wget retries in setup scripts
by default wget do 20 retries, we want ti fails fast if internet
connectivity is broken
Type: test
Change-Id: Ia7222c8ac6f7b5571dc1c29949aa2b8de2786afe
Signed-off-by: Matus Fabian <[email protected]>
Florin Coras [Wed, 20 Aug 2025 09:05:41 +0000 (05:05 -0400)]
tls: avoid reallocating default ssl ctx for clients
Type: improvement
Change-Id: I8933478342789034509f6b8dd141baf706970082
Signed-off-by: Florin Coras <[email protected]>
Aritra Basu [Thu, 21 Aug 2025 22:32:49 +0000 (15:32 -0700)]
vnet: fix negative table-id
Type: fix
Change-Id: Ic29bdd854b2b218d2b56446cd58ea185d4e485ae
Signed-off-by: Aritra Basu <[email protected]>
Matus Fabian [Wed, 20 Aug 2025 12:49:45 +0000 (08:49 -0400)]
http: h2 client multiplexing fix
do not try to cleanup ho in http_conn_established when called from
http2_conn_connect_stream_callback
Type: fix
Change-Id: I91422297b69cfef82b622113e194596205b44075
Signed-off-by: Matus Fabian <[email protected]>
Adrian Villin [Fri, 15 Aug 2025 12:52:53 +0000 (14:52 +0200)]
hs-test: iperf improvements
- added AssertIperfMinTransfer to KindIperfVclTest
- fixed 'make cleanup-perf'
Type: test
Change-Id: I50f7d837b1d4d842cb7464a5ee08cbecdea7adcd
Signed-off-by: Adrian Villin <[email protected]>
Semir Sionek [Mon, 18 Aug 2025 13:07:11 +0000 (13:07 +0000)]
hsa: fix typo in vcl_test_client arg check
Type: fix
Change-Id: Ifd0ef3dfcfc2cfd1bc13f2a1727c5f4a36d4a746
Signed-off-by: Semir Sionek <[email protected]>
Matus Fabian [Mon, 18 Aug 2025 11:49:59 +0000 (07:49 -0400)]
http: h2 tunnel dispatch add as dequeue notify
Type: fix
Change-Id: I7845a4dee6b6931defc83ab6052a64f913321349
Signed-off-by: Matus Fabian <[email protected]>
Florin Coras [Mon, 18 Aug 2025 09:17:19 +0000 (05:17 -0400)]
vcl: ldp infra for get/set SO_COOKIE
Stub infrastructure for storing and retrieving SO_COOKIE. Not storing
the actual cookie to avoid increasing vcl session size.
Type: improvement
Change-Id: Ibdcb31eb33ceab9a0250eae94694ba69e4ecf502
Signed-off-by: Florin Coras <[email protected]>
Florin Coras [Mon, 18 Aug 2025 08:40:51 +0000 (04:40 -0400)]
session udp: fix cl hash computation
Type: fix
Change-Id: I5da034ad860a4f7cf7578f7026566a27e1a43960
Signed-off-by: Florin Coras <[email protected]>
Matus Fabian [Mon, 18 Aug 2025 09:07:57 +0000 (05:07 -0400)]
hs-test: NginxHttp3Test add worker crash check
Type: test
Change-Id: Ic214c4af369c93e88b03405f1961dd24f15a873b
Signed-off-by: Matus Fabian <[email protected]>
kejan [Mon, 18 Aug 2025 08:23:41 +0000 (10:23 +0200)]
rpm-packaging: add vcl client and server to vpp binaries (rpm)
This fixes:
Installed (but unpackaged) file(s) found:
/usr/bin/vcl_test_client
/usr/bin/vcl_test_server
Type: fix
Change-Id: Ibe515751f718c56b1fb932ac7132edc34cfe791c
Signed-off-by: kejan <[email protected]>
Matus Fabian [Mon, 18 Aug 2025 08:41:47 +0000 (04:41 -0400)]
hs-test: turn off quic_retry in nginx config
otherwise NginxHttp3Test fail from time to time because quic
connection between curl and nginx is closed during handshake
Type: test
Change-Id: Ia74fad1a357a10532857f3568e8104ed352c58c7
Signed-off-by: Matus Fabian <[email protected]>
Florin Coras [Sat, 16 Aug 2025 12:23:49 +0000 (08:23 -0400)]
vcl: fix read ready for cl udp
On fork, cl listeners are not ready, i.e., listen and fifos are
pending, so read ready crashes.
Type: fix
Change-Id: I965bbd7f72706831767615564a88f5dbad38b11e
Signed-off-by: Florin Coras <[email protected]>
Pim van Pelt [Thu, 14 Aug 2025 16:56:57 +0000 (18:56 +0200)]
vnet: add eeprom_read_function
Introduce a device-class function to read EEPROM from interfaces.
Implement it for the DPDK plugin.
Type: improvement
Change-Id: I8723937a5618fada2d87d7bded33bf9fc85836f3
Signed-off-by: [email protected]
Florin Coras [Fri, 15 Aug 2025 13:09:28 +0000 (09:09 -0400)]
hs-test: bump nginx version to 1.28
Type: test
Change-Id: I37aafefa2290af48607779a5cb0036c92f67b2b5
Signed-off-by: Florin Coras <[email protected]>
Matus Fabian [Fri, 15 Aug 2025 09:34:21 +0000 (05:34 -0400)]
hs-test: bump curl version to 8.15.0
http/3 (quic) works better
Type: test
Change-Id: I1196ec70b0c07b01f13b3230664136935e06e0ac
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Fri, 15 Aug 2025 08:52:56 +0000 (04:52 -0400)]
http: http2_sched_dispatch_tunnel fix
Type: fix
Change-Id: I06f0da0d9805014b21c67da6113f2fc1d91a5408
Signed-off-by: Matus Fabian <[email protected]>
Adrian Villin [Fri, 15 Aug 2025 07:10:23 +0000 (09:10 +0200)]
hs-test: KindIperfVclTest fix
- fixed test failure when pods take slightly longer to deploy
Type: fix
Change-Id: I76c93213563a38b0165720986def9b60c4b671ac
Signed-off-by: Adrian Villin <[email protected]>
Adrian Villin [Wed, 13 Aug 2025 15:44:07 +0000 (17:44 +0200)]
hs-test: remove non-root user build enforcement
Type: improvement
Change-Id: I2e85eeea0d65c7a369a0ca7be3e5508d3a2cf90a
Signed-off-by: Adrian Villin <[email protected]>
Matus Fabian [Thu, 14 Aug 2025 19:27:07 +0000 (15:27 -0400)]
http: h2 fix handling of incomplete frame headers
Type: fix
Change-Id: I47155fd7d453b0e9bdcf39f5bc14139323a9a42e
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Thu, 14 Aug 2025 10:09:01 +0000 (06:09 -0400)]
http: h2 connect-udp dgram mode flow control fix
keep some space for dgram headers
Type: fix
Change-Id: I91002022cf0a9878d23c4e98dfcfbb6089073cb7
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Wed, 13 Aug 2025 17:10:00 +0000 (13:10 -0400)]
http: h2 client conn error handling fix
Notify only parent app session in case of http/2 connection error.
Type: fix
Change-Id: Ia02fe8863cd88df8a8dc7361655322c1335bbbd3
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Wed, 13 Aug 2025 14:10:08 +0000 (10:10 -0400)]
http: req_state_udp_tunnel_tx fix
Type: fix
Change-Id: Ibf7afb69ba709dd28254807a34644ecc5bf892e8
Signed-off-by: Matus Fabian <[email protected]>
Adrian Villin [Wed, 13 Aug 2025 11:44:57 +0000 (13:44 +0200)]
hs-test: fix envsubst not working
Type: fix
Change-Id: Iffb2a77ebd49d9d4784be80757c5a97a6ad98bb3
Signed-off-by: Adrian Villin <[email protected]>
Adrian Villin [Thu, 7 Aug 2025 09:06:13 +0000 (11:06 +0200)]
hs-test: KinD cluster setup improvements
- script cleanup
- clarified Makefile build-msg
- release-cluster: versions can be specified
- master-cluster: local repo gets properly reset to its
original state, fixed rebuild-master-cluster
Type: improvement
Change-Id: I81f813d2cd0227eaac3b996590152ba7e1173e38
Signed-off-by: Adrian Villin <[email protected]>
Vladimir Zhigulin [Fri, 4 Jul 2025 08:31:44 +0000 (10:31 +0200)]
af_xdp: fix missing recvmsg argument
Because of missing argument syscall was failing
before reaching xdp system what could result in
degrated performance
Type: fix
Change-Id: I0ae1ce1bacf68457a02a31b3508e9c5100a754e6
Signed-off-by: Vladimir Zhigulin <[email protected]>
Matus Fabian [Mon, 11 Aug 2025 09:27:24 +0000 (05:27 -0400)]
http: zero hdr.gso_size in udp_tunnel_rx
Type: fix
Change-Id: I78fb6263af14b37e2aee42386850f23bbacf40fb
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Mon, 11 Aug 2025 09:43:05 +0000 (05:43 -0400)]
srtp: zero hdr.gso_size in srtp_ctx_read
Type: fix
Change-Id: I895b5f35b451c80c2ff2f3d7e7710e67aa546742
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Mon, 11 Aug 2025 09:38:52 +0000 (05:38 -0400)]
hsa: echo client zero hdr.gso_size
Type: fix
Change-Id: I0efff82f942bf63af5bbad1d713c0a5ff90f00a2
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Mon, 11 Aug 2025 09:50:51 +0000 (05:50 -0400)]
tls: zero hdr.gso_size in openssl_ctx_read_dtls
Type: fix
Change-Id: I621c846b3d2f3803c2799240f00b36979017bbec
Signed-off-by: Matus Fabian <[email protected]>
Florin Coras [Sun, 3 Aug 2025 23:11:03 +0000 (19:11 -0400)]
tls: fix coverity warning
Type: fix
Change-Id: I97e08e93b02271599e52462ab83767168a2eb1cb
Signed-off-by: Florin Coras <[email protected]>
Semir Sionek [Fri, 1 Aug 2025 12:16:52 +0000 (12:16 +0000)]
session: restore cl session dscp support
Included dscp in session_listen messages and propagated it up to the
listener struct, which is used for connection info in cl sessions.
Additionally, included a switch in vcl_test_cl_udp allowing to select
dscp values for the session.
Type: fix
Change-Id: I6dffe12b66b25617dc9e3b6d4008f1097ff150cf
Signed-off-by: Semir Sionek <[email protected]>
Semir Sionek [Thu, 7 Aug 2025 15:15:36 +0000 (15:15 +0000)]
hsa: fix potential udp echo server test-bytes int overflow
Make sure that when running echo server over UDP with test-bytes
enabled, we're getting at least the buffer offset and some data.
Type: fix
Fixes:
84d52285afd1b478d616026a3d63a714abb29f13
Change-Id: I9375e00a76caa9d043f0b5531169fb6f2ca07db7
Signed-off-by: Semir Sionek <[email protected]>
Florin Coras [Fri, 8 Aug 2025 23:57:23 +0000 (19:57 -0400)]
virtio: fix cli parser
Fixes:
84f09f4
Type: fix
Change-Id: If1d42dc7899cf87f016b12dc0eabff944ff20bea
Signed-off-by: Florin Coras <[email protected]>
Mohsin Kazmi [Mon, 28 Apr 2025 17:17:24 +0000 (17:17 +0000)]
gso: add support for ipip tso for phyiscal interfaces
Type: improvement
This patch also improves software GSO handling for
tunnel interfaces.
Signed-off-by: Mohsin Kazmi <[email protected]>
Change-Id: I210bf74a65feef0bb39b5925bf8632ef4d627eb5
Dave Wallace [Wed, 6 Aug 2025 15:46:00 +0000 (11:46 -0400)]
tests: add vpp-opt-deps to vpp LD_LIBRARY_PATH
- When vpp-opt-deps is installed, add it to LD_LIBRARY_PATH
when invoking vpp for 'make test' and 'make run' targets
overriding the dynamically linked distro library version.
Type: test
Change-Id: Id2feb74b7232cca1c1870599c4b3d409e2d0aa59
Signed-off-by: Dave Wallace <[email protected]>
Matus Fabian [Thu, 7 Aug 2025 13:52:35 +0000 (09:52 -0400)]
session: session_cb_vft add proxy_write_early_data
Allow zc proxy app write data to fifo before UDP transport on accepted
connection.
Type: feature
Change-Id: I93657de68d344f5d2d327dd4e36cc331043fdf98
Signed-off-by: Matus Fabian <[email protected]>
Shubing Guo [Tue, 1 Jul 2025 02:36:50 +0000 (10:36 +0800)]
vppinfra: fix cpu time on riscv
Starting with Linux 6.6 [1], RDCYCLE is a privileged instruction on
RISC-V and can't be used directly from userland.Use RDTIME instead,
which while less accurate has the advantage of being synchronized
between CPU (and thus monotonic) and of constant frequency.
Type: fix
Change-Id: I53ab9cd1d0fcdd8f0e88d189840ba1d3b5ddd67a
Signed-off-by: Shubing Guo <[email protected]>
Adrian Villin [Mon, 4 Aug 2025 12:02:56 +0000 (14:02 +0200)]
hs-test: load k8s pod definitions from a file
- improved pod teardown, fixed obtaining IP addresses from pods
- added contexts for better goroutine management
Type: improvement
Change-Id: Iab8bd76598465c44626188d47b57d561469e279b
Signed-off-by: Adrian Villin <[email protected]>
Hadi Rayan Al-Sandid [Tue, 10 Dec 2024 10:05:26 +0000 (11:05 +0100)]
api: fix crash in pcap capture api
pcap api cleanup can cause crash if invalid sw_if_index
is provided. This fix is similar to https://gerrit.fd.io/r/c/vpp/+/41936
, which only fixed the invalid filename use-case.
Type: fix
Change-Id: I34ce178a4cb7fc92b4e4bb399a3fabd4efc85159
Signed-off-by: Hadi Rayan Al-Sandid <[email protected]>
Semir Sionek [Wed, 16 Jul 2025 12:54:25 +0000 (12:54 +0000)]
hsa: show tx/rx stats for UDP on timeout and fix test-bytes for UDP
We shouldn't assume that all the dgrams will be transported between
server and client.
This patch addresses this issue in two places:
1. Now if we hit the timeout on UDP client rx (not all bytes
transported), instead of an error - we display tx/rx byte stats.
2. For test-bytes mode, we now include a 4 byte buffer offset with each
dgram to check against for data corruption. Previous solution was
based on the assumption that data will arrive in sequence, which is
just not the case for UDP.
Type: fix
Change-Id: I1a2ac8afe4180830b32f4ea67b4b477f167e0800
Signed-off-by: Semir Sionek <[email protected]>
Matus Fabian [Tue, 5 Aug 2025 19:40:55 +0000 (15:40 -0400)]
http: h2 client connect-udp fix
Type: fix
Change-Id: I1ce22f70ecd609368ebaee351cbe1d260a6c2536
Signed-off-by: Matus Fabian <[email protected]>
Matus Fabian [Tue, 5 Aug 2025 14:58:02 +0000 (10:58 -0400)]
http: h2 client tunnel fix
Type: fix
Change-Id: I7e86578c0430bc90cdff4668f8469a303d0bbc7e
Signed-off-by: Matus Fabian <[email protected]>
Semir Sionek [Tue, 22 Jul 2025 13:47:30 +0000 (13:47 +0000)]
session: enable sending segmented dgrams
Split app_send_dgram_raw_gso into app_send_dgram_segs_raw and app_gen_dgram_header. The former sends out previously prepared segmented dgram, while the latter fills in the header in a prepared segment array.
Additionally, app_send_dgram_segs was introduced as an easier API for sending out segmented data.
Type: improvement
Change-Id: I3afdd9b974a7dbf936b7b7c07873ac72262525d9
Signed-off-by: Semir Sionek <[email protected]>
Steven Luong [Wed, 9 Jul 2025 22:59:59 +0000 (15:59 -0700)]
af_xdp: processing free buffer
af_xdp does not support big packets and they got dropped.
When that happens, we need to bump up the buffer pointer
and decrement packet count prior to going back to the
while loop.
Type: fix
Change-Id: I4722b15eb7ba5467f37e52ab532998c35caa3e2e
Signed-off-by: Steven Luong <[email protected]>
Steven Luong [Wed, 23 Jul 2025 16:18:23 +0000 (09:18 -0700)]
af_xdp: bump xdp-tools to 1.5.5
Type: feature
Change-Id: Ia6d32305045f51b859c4b888f5912f8d4cbbd766
Signed-off-by: Steven Luong <[email protected]>