vpp.git
3 months agohs-test: shortened interface names to avoid character limit 87/39987/4
adrianvillin [Tue, 13 Feb 2024 08:26:25 +0000 (03:26 -0500)]
hs-test: shortened interface names to avoid character limit

Type: test

Change-Id: I09df597ccb8a3c4af47b8a36010afb81df533236
Signed-off-by: adrianvillin <avillin@cisco.com>
3 months agotls: mark ho done atomically after ctx init 33/40333/3
Florin Coras [Tue, 13 Feb 2024 20:37:20 +0000 (15:37 -0500)]
tls: mark ho done atomically after ctx init

Make sure ctx is initialized before ho is marked as done.

Type: fix

Change-Id: If0525a9890a56e289e2ab006c669a9d64dc6505d
Signed-off-by: Florin Coras <fcoras@cisco.com>
3 months agosession: postpone ct cleanup if rx evt pending 37/40337/3
Florin Coras [Thu, 15 Feb 2024 00:14:46 +0000 (16:14 -0800)]
session: postpone ct cleanup if rx evt pending

Type: fix

Change-Id: I8cfaa62abd38d5356263b0ffd428638d1a027617
Signed-off-by: Florin Coras <fcoras@cisco.com>
3 months agobuild: add fib configuring option 22/40322/2
Benoît Ganne [Thu, 8 Feb 2024 16:06:22 +0000 (17:06 +0100)]
build: add fib configuring option

Allow to select 8-8-8-8 or 16-8-8 mtrie FIB implementation.

Type: improvement

Change-Id: I2f4aec8bfec987d3f3d9f9cc5a16fabf4b6cc2ac
Signed-off-by: Benoît Ganne <bganne@cisco.com>
3 months agohs-test: improved logging 86/39986/5
adrianvillin [Mon, 12 Feb 2024 07:44:53 +0000 (02:44 -0500)]
hs-test: improved logging

- improved readability of some error messages
- printing container logs to stdout on test failure (last 20 lines)

Type: test

Change-Id: Idbb358bdd89aa7b1a6bdc9d96bf029d4c299ce64
Signed-off-by: adrianvillin <avillin@cisco.com>
3 months agotests: refactor virtual interface tests 83/40283/5
Naveen Joy [Wed, 31 Jan 2024 16:46:18 +0000 (08:46 -0800)]
tests: refactor virtual interface tests

Split virtual interface tests in VPP into smaller and modular
tests for testing various interface types and features.

Type: test

Change-Id: Ic38af88379f75eee3090679d411edbdc8fd5d2e5
Signed-off-by: Naveen Joy <najoy@cisco.com>
3 months agotls: fix compilation error 35/40335/2
Niyaz Murshed [Wed, 14 Feb 2024 00:12:32 +0000 (00:12 +0000)]
tls: fix compilation error

After changes done in https://gerrit.fd.io/r/c/vpp/+/40281 ,
mbedtls plugin is failing to build if enabled.

Discussion https://lists.fd.io/g/vpp-dev/topic/104344802#24060

Type: fix
Signed-off-by: Niyaz Murshed <niyaz.murshed@arm.com>
Change-Id: Iee58b69301ac64f058bca0a7f7a0dedd2def4b35

3 months agoikev2: dump state and profile name in CLI and API 57/40257/11
Denys Haryachyy [Wed, 24 Jan 2024 14:31:47 +0000 (16:31 +0200)]
ikev2: dump state and profile name in CLI and API

Type: improvement

Change-Id: Ide4b45da99e3a67376281f6438997f3148be08e5
Signed-off-by: Denys Haryachyy <garyachy@gmail.com>
3 months agovcl: fix epollet test for unhandled evts 28/40328/3
Florin Coras [Tue, 13 Feb 2024 03:33:41 +0000 (22:33 -0500)]
vcl: fix epollet test for unhandled evts

Argument to vcl_epoll_ctl_add_unhandled_event is often the result of an
and between events and EPOLLET which is larger than u8

Type: fix

Change-Id: I8c98f557fa1db9f3eb79c90ecdd60ac9366d4d40
Signed-off-by: Florin Coras <fcoras@cisco.com>
3 months agosvm: Add FreeBSD specific signal handling path 74/40274/2
Tom Jones [Fri, 26 Jan 2024 17:44:33 +0000 (17:44 +0000)]
svm: Add FreeBSD specific signal handling path

FreeBSD's siginfo_t doesn't have the ptr value used on linux to encode a
token. Fow now recover the code from siginfo_t and leave the opaque
value as 0.

Type: improvement
Change-Id: Ic6ef96f018b326b99d68534a4488cfc49fdf16e1
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agovppinfra: Put clib_perf* behind Linux checks and provide stubs for FreeBSD 51/40251/3
Tom Jones [Thu, 25 Jan 2024 10:28:16 +0000 (10:28 +0000)]
vppinfra: Put clib_perf* behind Linux checks and provide stubs for FreeBSD

As a placeholder stub out clib_perf functions on FreeBSD, the interface
for performance counters on FreeBSD is different and will require its
own implementation.

Type: improvement
Change-Id: I61511ebe5ee1fd6fe93d3179c7843c811f47a846
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agovppinfra: Add netlink header on FreeBSD 66/40266/2
Tom Jones [Fri, 26 Jan 2024 14:58:18 +0000 (14:58 +0000)]
vppinfra: Add netlink header on FreeBSD

FreeBSD has support netlink since 13.2, but keeps its header in a
slightly different place. Correctly include netlink/netlink.h for
FreeBSD.

Type: improvement
Change-Id: Iec78ca72db74ea7f9c874e7039c7d17b6321f9dc
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agovppinfra: Protect Linux specific features behind CLIB_LINUX 65/40265/2
Tom Jones [Fri, 26 Jan 2024 14:54:57 +0000 (14:54 +0000)]
vppinfra: Protect Linux specific features behind CLIB_LINUX

Place Linux specific features behind CLIB_LINUX. The previous #ifdef
calls would still pass even if CLIB_LINUX is set to 0 in clib.h, instead
use #if.

Type: improvement
Change-Id: Ibe4424eee4bc0065f54764b017b9a56a3e854380
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agobuild: Limit external libraries on FreeBSD 47/40247/2
Tom Jones [Wed, 24 Jan 2024 10:46:44 +0000 (10:46 +0000)]
build: Limit external libraries on FreeBSD

Limit the libraries we build on FreeBSD. This change intends to get us
closer to building on FreeBSD, DPDK will require a larger set of changes
so remove it until those changes are ready to integrate.

Type: improvement
Change-Id: I0f672a2b5bc30f2228020049fa71a81a2569ef54
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agosvm: Include stdint on FreeBSD 72/40272/2
Tom Jones [Fri, 26 Jan 2024 17:32:02 +0000 (17:32 +0000)]
svm: Include stdint on FreeBSD

On FreeBSD we need to include stdint.h to get __WORDSIZE.

Type: improvement
Change-Id: I784aa0856fd8298f33016b7ccedecfa3672d5429
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agovppinfra: Make program counter printing more portable 68/40268/2
Tom Jones [Fri, 26 Jan 2024 15:16:57 +0000 (15:16 +0000)]
vppinfra: Make program counter printing more portable

Finding the program counter in the ucontext struct is platform and
architecture specific, place the Linux checks inside an #ifdef and add a
look up for the FreeBSD amd64 specific naming.

Type: improvement
Change-Id: I42fcef5f20227c23d84acee336e37c4870146bb4
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agovnet: Don't use __unused for struct padding 61/40261/2
Tom Jones [Fri, 26 Jan 2024 13:26:28 +0000 (13:26 +0000)]
vnet: Don't use __unused for struct padding

__unused is a clang keyword, this struct member will trip the build when
using clang. Instead call the unused padding 'pad' which should be clear
to the purpose if not the usage.

Type: improvement
Change-Id: I0abae34841651be1ef6b7d94864f0dc8185f0733
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agovppinfra: Add a stubbed out test_perf function for FreeBSD 69/40269/2
Tom Jones [Fri, 26 Jan 2024 15:20:02 +0000 (15:20 +0000)]
vppinfra: Add a stubbed out test_perf function for FreeBSD

Type: improvement
Change-Id: If136e0854dbaecfa62fc009ca2b0b94e8d9a56f2
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agovppinfra: MAP_HUGETLB isn't available on FreeBSD 64/40264/2
Tom Jones [Fri, 26 Jan 2024 14:15:54 +0000 (14:15 +0000)]
vppinfra: MAP_HUGETLB isn't available on FreeBSD

Don't use the MAP_HUGETLB mmap flag on FreeBSD as it isn't available on
the platform.

Type: improvement
Change-Id: Ie2046601c693f9ef12cf8113d6dbd87c322f1cf0
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agovppinfra: Only prealloc hugepages on Linux 73/40273/2
Tom Jones [Fri, 26 Jan 2024 17:34:51 +0000 (17:34 +0000)]
vppinfra: Only prealloc hugepages on Linux

FreeBSD doesn't support sysfs or preallocating hugepages directly.  In
lieu of refactoring clib_sysfs calls place this one behind an #ifdef
linux.

Type: improvement
Change-Id: I4079ca70175e4cec44d913db2b0407a3ca6306c9
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agovppinfra: Don't build perfmon on FreeBSD 63/40263/3
Tom Jones [Fri, 26 Jan 2024 14:13:39 +0000 (14:13 +0000)]
vppinfra: Don't build perfmon on FreeBSD

FreeBSD has platform specific APIs for interfacing with performance
counters. Until we bring in FreeBSD support, don't build perfmon on
platforms which aren't linux.

Type: improvement
Change-Id: Iabc418922c0d2e851c6098508761135f53433ae8
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agovppinfra: Place SIGPWR behind a linux define 67/40267/2
Tom Jones [Fri, 26 Jan 2024 15:00:31 +0000 (15:00 +0000)]
vppinfra: Place SIGPWR behind a linux define

The SIGPWR signal is specific to Linux, place it behind a Linux flag to
help the build on FreeBSD.

Type: improvement
Change-Id: Ie36c2ceb201afff98e92bbe64595c3953b11c457
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agofib: contention with DP on deleting a route 27/40327/1
Steven Luong [Tue, 13 Feb 2024 00:47:22 +0000 (16:47 -0800)]
fib: contention with DP on deleting a route

Add vlib_worker_wait_one_loop prior to invoking dpo_reset
upon uninstalling a fib entry to avoid contention with DP.

Type: fix

Change-Id: If2a6c4cb9b5629dd61e506ab9f9c3e6aef121b45
Signed-off-by: Steven Luong <sluong@cisco.com>
3 months agoaf_packet : fix crash on interface creation 50/40250/2
hsandid [Wed, 24 Jan 2024 12:58:03 +0000 (13:58 +0100)]
af_packet : fix crash on interface creation

Type: fix

Attempting to create a host-interface with an invalid af_packet name
causes a crash, as we attempt to read the contents of a null ptr.

Change-Id: Ia31ae21684c2b66baa1ceaadf29e19fae33c4ed4
Signed-off-by: hsandid <halsandi@cisco.com>
3 months agobuffers: bring back cache occupancy improvement 91/40291/3
Vratko Polak [Tue, 6 Feb 2024 11:45:59 +0000 (12:45 +0100)]
buffers: bring back cache occupancy improvement

The improvement was removed in 40129,
causing 5-40% regressions in AVF tests.

There is a memory-speed trade-off,
this change prefers speed over memory efficiency.

Ideally, the choice should be configurable,
but that is not easy to achieve, considering
how early is vlib_buffer_main_init called.

Type: fix
Fixes: 038dad7ef29b0b724071edb5f8cc7a9845584454

Change-Id: I4746f3634abe6d233c9d092a372de05b3d1ae4b6
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 months agoip_session_redirect: export symbols 21/40321/2
Benoît Ganne [Thu, 8 Feb 2024 16:08:28 +0000 (17:08 +0100)]
ip_session_redirect: export symbols

Add/del functions can be used from external modules.

Type: improvement

Change-Id: I267bcfacd58970bcacae13744d8acc690b87d2fc
Signed-off-by: Benoît Ganne <bganne@cisco.com>
3 months agoikev2: accept rekey request for IKE SA 35/36935/3
Atzm Watanabe [Thu, 18 Aug 2022 08:57:53 +0000 (17:57 +0900)]
ikev2: accept rekey request for IKE SA

RFC 7296 describes the way to rekey IKE SAs: to rekey an IKE SA,
establish a new equivalent IKE SA with the peer to whom the old
IKE SA is shared using a CREATE_CHILD_SA within the existing IKE
SA.  An IKE SA so created inherits all of the original IKE SA's
Child SAs, and the new IKE SA is used for all control messages
needed to maintain those Child SAs.

Type: improvement
Signed-off-by: Atzm Watanabe <atzmism@gmail.com>
Change-Id: Icdf43b67c38bf183913a28a08a85236ba16343af

3 months agoudp: add cli to dump transport ports 95/40295/2
Florin Coras [Wed, 7 Feb 2024 00:31:50 +0000 (16:31 -0800)]
udp: add cli to dump transport ports

show udp transport ports

Dumps list of ports registered by udp transport, as opposed to udp
local, and their refcount.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: If3cbe51a7176cb89fa38b524defffbbd76af8f58

3 months agosession: guard session lookup table allocs 86/40286/2
Florin Coras [Fri, 2 Feb 2024 21:01:07 +0000 (13:01 -0800)]
session: guard session lookup table allocs

Session lookup tables could be allocated from workers, e.g., connects
are done from first worker. Make sure consumers are not affected by
stopping workers.

Type: fix

Change-Id: I63b53c58b41ce91b08f50a2325c69c9f9fd25ed3
Signed-off-by: Florin Coras <fcoras@cisco.com>
3 months agovlib: flush rpcs on worker sync 85/40285/2
Florin Coras [Fri, 2 Feb 2024 05:13:10 +0000 (21:13 -0800)]
vlib: flush rpcs on worker sync

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I89624254649089e497d119eb6cee2cecf3dc11f3

3 months agovlib api: move wrkr rpc flushing to vlib 84/40284/4
Florin Coras [Fri, 2 Feb 2024 04:46:15 +0000 (20:46 -0800)]
vlib api: move wrkr rpc flushing to vlib

Move vlib worker rpc flushing to main worker from memclnt api into vlib.
RPCs are no longer delivered via binary api queues

Type: refactor

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I5b8761a57d1f4a1f2220e860cfb2e6b980f46f6d

3 months agotls: set app closed flag in framework 82/40282/3
Florin Coras [Thu, 1 Feb 2024 00:18:17 +0000 (16:18 -0800)]
tls: set app closed flag in framework

Set the flag in tls framework as opposed to tls engines. This is similar
to passive close.

Type: improvement

Change-Id: I0c2a774b1ef9d7ec6ba74daf1678ea449815184f
Signed-off-by: Florin Coras <fcoras@cisco.com>
3 months agotls: convert ctx fields to connection flags 81/40281/2
Florin Coras [Wed, 31 Jan 2024 21:45:39 +0000 (13:45 -0800)]
tls: convert ctx fields to connection flags

Type: refactor

Change-Id: I527bbc1cf2e7b6d06fd0c88b7563fb59ed28bc40
Signed-off-by: Florin Coras <fcoras@cisco.com>
3 months agolinux-cp: add add_del_v3 and get_v2 methods 77/40277/2
Anton Nikolaev [Tue, 30 Jan 2024 11:54:00 +0000 (11:54 +0000)]
linux-cp: add add_del_v3 and get_v2 methods

Added vl_api_lcp_itf_pair_add_del_v3_t_handler method, it can return
vif_index in reply. Also added vl_api_lcp_itf_pair_get_v2_t_handler
methods, this method is able to dump only one lcp pair or dump all
lcp pairs via stream_msg.

Type: improvement
Change-Id: I1d25344ee57f8fac8b857bb3a9a03116230b4d2c
Signed-off-by: Anton Nikolaev <anikolaev@netgate.com>
3 months agoapi: provide api definition over api 45/40245/7
Ole Troan [Tue, 23 Jan 2024 17:56:23 +0000 (18:56 +0100)]
api: provide api definition over api

This patch allows a client to bootstrap itself by downloading the
JSON API definitions over the API itself.

This patch enables it for Python (probably need a dynamic language).
Call VPPApiClient with the new bootstrapapi=True parameter.

Example (Python):

from vpp_papi import VPPApiClient
vpp = VPPApiClient(bootstrapapi=True)
rv = vpp.connect("foobar")
assert rv == 0
print(f'SHOW VERSION: {vpp.api.show_version()}')
vpp.disconnect()

Type: feature
Change-Id: Id903fdccc82b2e22aa1994331d2c150253f2ccae
Signed-off-by: Ole Troan <otroan@employees.org>
3 months agohs-test: update docs on debugging 53/40253/2
Filip Tehlar [Wed, 24 Jan 2024 14:11:27 +0000 (15:11 +0100)]
hs-test: update docs on debugging

Type: docs

Change-Id: I3bd89feb53a35532c79283bcdac2c87635c60920
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
3 months agohs-test: use relative paths for docker volumes 49/40249/3
Filip Tehlar [Wed, 24 Jan 2024 10:59:44 +0000 (11:59 +0100)]
hs-test: use relative paths for docker volumes

Type: test

Change-Id: I9d5c15662e50ceea08d2ccc653db36c5e3df869e
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
3 months agoip: don't export useless error counters for ip6 rewrite 53/40153/3
Arthur de Kerhor [Mon, 8 Jan 2024 18:30:57 +0000 (19:30 +0100)]
ip: don't export useless error counters for ip6 rewrite

the error node is set to ip6_input in the inline funcition
associated with ip6_rewrite. Thus, error counters defined
for node ip6 rewrite are never used.

Type: fix
Change-Id: Id6bef633928b0fff9069498c2e39e9f5bea2cf9b
Signed-off-by: Arthur de Kerhor <arthurdekerhor@gmail.com>
3 months agohs-test: updated golang and packages 82/39982/2
adrianvillin [Wed, 24 Jan 2024 06:45:59 +0000 (01:45 -0500)]
hs-test: updated golang and packages

ioutil.ReadFile is deprecated, replaced with os.ReadFile

Type: test

Change-Id: I9f8075796d05d47ea4dddd7e986026a267a7fe0c
Signed-off-by: adrianvillin <avillin@cisco.com>
3 months agoudp: update rx sw_if_index to ip-local selected one 44/40244/2
Florin Coras [Tue, 23 Jan 2024 17:40:45 +0000 (09:40 -0800)]
udp: update rx sw_if_index to ip-local selected one

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0afd1b9ddbc17825aab3bfa3e5f9c6c0fbc561ca

3 months agomisc: Initial 24.06-rc0 commit 83/39983/1 v24.06-rc0
Andrew Yourtchenko [Wed, 24 Jan 2024 12:27:20 +0000 (12:27 +0000)]
misc: Initial 24.06-rc0 commit

Type: docs
Change-Id: Ia459d5ba6f7da3081192c6aba156e66fb2d6377c
Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
3 months agovppinfra: fix clib_array_mask_u32 OOB reads 51/40151/5
Dmitry Valter [Thu, 18 Jan 2024 09:09:12 +0000 (09:09 +0000)]
vppinfra: fix clib_array_mask_u32 OOB reads

Handle non-even n_elts for the larger array instead of reading past
the source buffer.

Type: fix
Fixes: f62ed3f9c1ec3e8db36f63d6a54f46b7bea43723
Signed-off-by: Dmitry Valter <d-valter@yandex-team.com>
Change-Id: Ic1708a3f33fe71ca752345b5c77b6ae7a2d42bcd

3 months agotls: fix ho leak on tcp connect return 35/40235/5
Florin Coras [Tue, 23 Jan 2024 02:27:43 +0000 (18:27 -0800)]
tls: fix ho leak on tcp connect return

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I40345d635b8067dcffbbdd39d0a5b0c0934a6d54

3 months agopapi: support old style of providing apidir 31/40231/2
Vratko Polak [Mon, 22 Jan 2024 13:56:02 +0000 (14:56 +0100)]
papi: support old style of providing apidir

77caeb1b193404e76beb27a1aa81321e8eb1cf1f has changed the behavior
in an incompatible way, breaking users (including CSIT).

The new behavior is more pythonic,
but the old behavior has to be supported
at least one release after publicly deprecating it.

Type: fix

Change-Id: I9dfdd2229065010216e49db80b14b856c545965c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
3 months agotls: overlap parent opaque with listener ctx 36/40236/3
Florin Coras [Tue, 23 Jan 2024 02:38:08 +0000 (18:38 -0800)]
tls: overlap parent opaque with listener ctx

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0a0d0b8721f5a15da47c7ac0e58cd50e159b2f54

3 months agotls: set flag whenever app session is freed 34/40234/3
Florin Coras [Tue, 23 Jan 2024 02:06:41 +0000 (18:06 -0800)]
tls: set flag whenever app session is freed

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I3d44ff851da00573343e15712284af3b9c3912e3

3 months agosession: flag instead of state for filtering ntf 33/40233/1
Florin Coras [Tue, 23 Jan 2024 01:04:36 +0000 (17:04 -0800)]
session: flag instead of state for filtering ntf

Avoid situations when notifications are delayed for long enough for
transports to start closing/cleaning up.

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Id35b0099adb5242108154a5e19d5ee15e6ca0058

3 months agobuild: Explicitly use gmake 16/40216/3
Tom Jones [Thu, 18 Jan 2024 10:48:17 +0000 (10:48 +0000)]
build: Explicitly use gmake

VPP requires GNU Make to build, on GNU systems (such as Debian), GNU
Make is installed as 'make', typically with a symlink from 'gmake'.

On other systems (such as FreeBSD), 'make' is a BSD Make derriviative
and GNU Make is installed a 'gmake'.

Use $(MAKE) variable for make calls from within Makefiles.  This
variable is set to the path of the calling make program, i.e.,
/usr/local/bin/gmake on a bsd system.

This is the recommended way to call make from Makefiles in the GNU Make
documentation.

Type: improvement
Change-Id: Id9162a34a0f8358f22090718087918dae31c0fce
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agobuffers: add compile-time option to set buffer alignment 19/40219/2
Damjan Marion [Fri, 19 Jan 2024 20:19:57 +0000 (21:19 +0100)]
buffers: add compile-time option to set buffer alignment

Type: improvement
Change-Id: I88c4c45bed0bdd8686e17e4f77a7d32a08c995aa
Signed-off-by: Damjan Marion <damarion@cisco.com>
3 months agobuild: disable plugins which require openssl if openssl is not available 20/40220/1
Damjan Marion [Fri, 19 Jan 2024 20:55:03 +0000 (21:55 +0100)]
build: disable plugins which require openssl if openssl is not available

Type: improvement
Change-Id: I4591fcb31dd28d1771b3d6e5afdaa14f29efe6ef
Signed-off-by: Damjan Marion <damarion@cisco.com>
3 months agobuild: fix default platform 18/40218/2
Benoît Ganne [Fri, 19 Jan 2024 16:43:44 +0000 (17:43 +0100)]
build: fix default platform

When unsetting VPP_PLATFORM in cmake, it unmasks the cached value
instead, misleading the platform selection logic in src/cmake/cpu.cmake

Type: fix
Fixes: 01fe7ab88e

Change-Id: I676cd0af9ba28150f8ac07724c03df8ef24b640f
Signed-off-by: Benoît Ganne <bganne@cisco.com>
3 months agohs-test: change convention for skipping tests 97/40197/3
Filip Tehlar [Mon, 15 Jan 2024 12:11:28 +0000 (13:11 +0100)]
hs-test: change convention for skipping tests

Also re-enable external echo QUIC test.

Type: test

Change-Id: I3973409c31fd7c42b97ac3ceae1a5cbad6f1b2b6
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
3 months agovppinfra: fix test_bihash 47/40147/2
Dmitry Valter [Fri, 5 Jan 2024 14:30:15 +0000 (14:30 +0000)]
vppinfra: fix test_bihash

Correctly wrap data indices in test_bihash.

Type: fix
Signed-off-by: Dmitry Valter <d-valter@yandex-team.com>
Change-Id: I740fa1cf9f8c382c12f01f607095c5995be6845f

3 months agolldp: dump api 93/40193/3
Denys Haryachyy [Fri, 17 Nov 2023 09:57:18 +0000 (11:57 +0200)]
lldp: dump api

Introduce a dump api for LLDP plugin

Type: improvement

Signed-off-by: Stanislav Zaikin <stanislav.zaikin@46labs.com>
Change-Id: If67dedd329cced59227187284646d147ef6ef92c

3 months agovppinfra: fix bracket balance 89/40089/3
Georgy Borodin [Mon, 11 Dec 2023 00:44:42 +0000 (01:44 +0100)]
vppinfra: fix bracket balance

fix bracket balance in pool_put_will_expand

Type: fix
Fixes: 66d4cb5a217d556aa7bd2471f02a39badb6d5cd2
Change-Id: I921366c0898cca39cc728b7c7ef4c4c725c6b87d
Signed-off-by: Georgy Borodin <bor1-go@yandex-team.ru>
3 months agovppinfra: fix vec_prepend use-after-free 48/40148/6
Dmitry Valter [Fri, 5 Jan 2024 14:28:08 +0000 (14:28 +0000)]
vppinfra: fix vec_prepend use-after-free

Don't access free'd memory in vec_prepend.
Don't allow prepend when v1 == v2 as it also causes a use-after-free.
Found via ASAN.

Type: fix
Signed-off-by: Dmitry Valter <d-valter@yandex-team.com>
Change-Id: I21f8422c007d07d40d237e873b84c042be1fe8e8

3 months agomemif: use VPP cacheline size for memif when compiling within VPP 80/39980/4
Mohsin Kazmi [Wed, 17 Jan 2024 12:00:16 +0000 (12:00 +0000)]
memif: use VPP cacheline size for memif when compiling within VPP

Type: make

memif.h file is independent code which can be used outside of
VPP. Hence it uses its own cacheline size MACRO. This patch
sets the value of MEMIF_CACHELINE_SIZE in the cmake file for
memif plugin to VPP_CACHE_LINE_SIZE.

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I8185e78897f4571f1a0430dd7e758816e127444c

3 months agobuild: Explicitly use bash for shell scripts 14/40214/2
Tom Jones [Thu, 18 Jan 2024 14:51:44 +0000 (14:51 +0000)]
build: Explicitly use bash for shell scripts

VPP requires bash for all shell scripts. Align shebang lines in build
and test scripts to look up the location of bash rather than hard coding
'/bin/bash'.

Look up the location of bash for makefiles.

Type: improvement
Change-Id: I23b705d81d60389fa8af61c680cf0abd74f0ea24
Signed-off-by: Tom Jones <thj@freebsd.org>
3 months agoaf_xdp: Backport xdp-tools fix transposed calloc() arguments 13/40213/6
nucleo [Thu, 18 Jan 2024 14:48:35 +0000 (16:48 +0200)]
af_xdp: Backport xdp-tools fix transposed calloc() arguments

Fixes compilation error with GCC 14

'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument

Type: fix

Change-Id: Ie328ecc711976547df2cffe17325b786bc7a8849
Signed-off-by: nucleo <alekcejk@googlemail.com>
4 months agotests: preload api files 71/39871/11
Maxime Peim [Tue, 14 Nov 2023 14:26:41 +0000 (15:26 +0100)]
tests: preload api files

When sanity test is not done, API files are not loaded until the
first test case is run. Hence, it is not possible to use enums, etc.
outside of a test class.
By preloading API files before running any tests, it prevents its
issue.

Type: fix
Change-Id: I8730150374e6c5f8d6933ec037811372ac2a8da0
Signed-off-by: Maxime Peim <mpeim@cisco.com>
4 months agohs-test: use specific port for http3 test 07/40207/2
Filip Tehlar [Wed, 17 Jan 2024 20:45:28 +0000 (21:45 +0100)]
hs-test: use specific port for http3 test

curl sometimes uses 2 different source ports during the test.

Type: test

Change-Id: Ib27e9d22a9cc951f4729f4bd0ae99d80bf8d938b
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
4 months agoocteon: native driver for Marvell Octeon SoC 04/39804/41
Damjan Marion [Mon, 23 Oct 2023 16:36:18 +0000 (18:36 +0200)]
octeon: native driver for Marvell Octeon SoC

Type: feature
Change-Id: I6898625c4e8854f777407dac3159e4c639a54860
Signed-off-by: Monendra Singh Kushwaha <kmonendra@marvell.com>
Signed-off-by: Damjan Marion <damarion@cisco.com>
4 months agovppinfra: change fchmod to umask for unix socket 62/39862/3
Georgy Borodin [Fri, 10 Nov 2023 15:31:09 +0000 (16:31 +0100)]
vppinfra: change fchmod to umask for unix socket

Setting g+w permission for unix sockets didn't work. There were
two problems:
1. new flag local_only wasn't set for all AF_UNIX sockets;
2. fchmod is not a good choice for sockets.

fchmod was replaced with couple of umasks, and local_only with
socket type check.

Type: fix
Fixes: 085757bb4930511928daa97f972cdca021e7a813
Change-Id: I8dc0fceb110a36bfa234f552bbdf182e09e55e27
Signed-off-by: Georgy Borodin <bor1-go@yandex-team.ru>
4 months agoaf_packet: set next0 for AF_PACKET_IF_MODE_ETHERNET mode 19/40119/2
Artem Glazychev [Tue, 19 Dec 2023 07:31:48 +0000 (14:31 +0700)]
af_packet: set next0 for AF_PACKET_IF_MODE_ETHERNET mode

Normally af_packet sets next0 = next_index on each cycle. It works for the most cases.
But if vlib_validate_buffer_enqueue_x1() changes the next_index (from NEXT_ETHERNET to NEXT_DROP for example)
then the following next0 will have the wrong value, and the correct packet will be dropped.

AF_PACKET_IF_MODE_IP handles this case, but AF_PACKET_IF_MODE_ETHERNET doesn't.

Type: fix

Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
Change-Id: Ic742043e8b10a2abe56b314bb584277151a9c5eb

4 months agobuild: add vapi scripts to VPP_HOST_TOOLS_ONLY 86/40186/5
Guillaume Solignac [Thu, 11 Jan 2024 12:39:11 +0000 (13:39 +0100)]
build: add vapi scripts to VPP_HOST_TOOLS_ONLY

vapi generators were missing from the VPP_HOST_TOOLS_ONLY, which
prevents building an out-of-tree plugin with API files. We now
install them.

Type: improvement
Signed-off-by: Guillaume Solignac <gsoligna@cisco.com>
Change-Id: Ie613c8f64034e933124325242f2f8b3ac3955878

4 months agovnet: fix log_debug message format 55/40155/3
Georgy Borodin [Mon, 8 Jan 2024 21:00:59 +0000 (22:00 +0100)]
vnet: fix log_debug message format

debug+asan build will fail on initialisation when loglevel==debug

Type: fix
Fixes: 1cd0e5dd533f4209dde453eaa43215e52cd42985
Change-Id: I2005ebf9b95ec3b753c4e6d29337be460c77ffed
Signed-off-by: Georgy Borodin <bor1-go@yandex-team.ru>
4 months agovppinfra: fix memcpy test buffer size 52/40152/2
Dmitry Valter [Fri, 5 Jan 2024 17:02:55 +0000 (17:02 +0000)]
vppinfra: fix memcpy test buffer size

Fix dst buffer size in memcpy_x86_64 test.

Type: fix
Signed-off-by: Dmitry Valter <d-valter@yandex-team.com>
Change-Id: I2b4502a62d9346d729b83522f4ea01c98a5b961c

4 months agodpdk: add ID for QAT 4xxx series VF support 00/40200/2
Kai Ji [Mon, 15 Jan 2024 16:44:37 +0000 (16:44 +0000)]
dpdk: add ID for QAT 4xxx series VF support

Type: feature

Enable use of 4th gen QAT series devices.

Change-Id: I890c1f1d305ff9b996322c29e9510cfe89d88d97
Signed-off-by: Kai Ji <kai.ji@intel.com>
4 months agodpdk: fix log_debug message format 54/40154/3
Georgy Borodin [Mon, 8 Jan 2024 20:34:24 +0000 (21:34 +0100)]
dpdk: fix log_debug message format

debug+asan build will fail on initialisation when log level==debug

Type: fix
Fixes: 549838c81bd0d995f2b8569955afc33132582c77
Change-Id: Ic64b376727d49f89790fb29bd03a0a2520625cdc
Signed-off-by: Georgy Borodin <bor1-go@yandex-team.ru>
4 months agovlib: remove unused code 90/40190/2
Damjan Marion [Fri, 12 Jan 2024 17:50:55 +0000 (17:50 +0000)]
vlib: remove unused code

Type: improvement
Change-Id: I2c54cb3eb41ed35f114eca75fb6e2be3eb3f4ca1
Signed-off-by: Damjan Marion <damarion@cisco.com>
4 months agovppinfra: enable AES tests on ARM 98/40198/3
Damjan Marion [Mon, 15 Jan 2024 10:37:33 +0000 (11:37 +0100)]
vppinfra: enable AES tests on ARM

Type: improvement
Change-Id: I30f3b2924ab219a8bace87f358b1b823e8bc83bb
Signed-off-by: Damjan Marion <damarion@cisco.com>
4 months agobuild: Provide clang-14 for Debian12 94/40194/3
Pim van Pelt [Mon, 15 Jan 2024 10:06:19 +0000 (11:06 +0100)]
build: Provide clang-14 for Debian12

checkstyle.sh assumes clang-format-11 but allows it to be overridden.
Debian12 ships with a minimal version of clang-14, so set the correct
version for checkstyle.

Before:
$ make checkstyle
extras/scripts/checkstyle.sh: line 41: --version: command not found
make: *** [Makefile:720: checkstyle] Error 127

After:
$ make checkstyle
Debian clang-format version 14.0.6
*******************************************************************
* CHECKSTYLE SUCCESSFULLY COMPLETED
*******************************************************************

Type: make
Fixes: 712fc0308981c61444e593d6bcc2ad62102c726d
Change-Id: I0c58456477011397115810dab825865b5850d10d
Signed-off-by: pim@ipng.nl
4 months agostats: Add optional labels to prometheus metrics 99/40199/4
Pim van Pelt [Mon, 15 Jan 2024 13:46:00 +0000 (14:46 +0100)]
stats: Add optional labels to prometheus metrics

* Refactor the existing prometheus exporter to function print_metric_v1()
* Add a 'v2' flag which instead uses metric names with labels, example:
  nodes_clocks{node="ip4-lookup",index="0",thread="4"} 30198798628761
  nodes_vectors{node="ip4-lookup",index="0",thread="4"} 298176625181
  nodes_calls{node="ip4-lookup",index="0",thread="4"} 119789874274
  nodes_suspends{node="ip4-lookup",index="0",thread="4"} 0

  interfaces_rx_packets{interface="tap0",index="0",thread="1"} 79582338270
  interfaces_rx_bytes{interface="tap0",index="0",thread="1"} 16265349667188
* For stat names that we don't know, print their v1 equivalent, which
  keeps backwards compatibility.

Details in https://ipng.ch/s/articles/2023/04/09/vpp-stats.html

Type: improvement
Signed-off-by: pim@ipng.nl
Change-Id: I53ed3ede8cc7853eb46c354834d89eb788ece3b1

4 months agosession: avoid spurious disconnect and reset ntfs 80/40180/2
Florin Coras [Thu, 11 Jan 2024 16:56:04 +0000 (11:56 -0500)]
session: avoid spurious disconnect and reset ntfs

Type: fix

Change-Id: Icdc9d1c8b7b29827ce17920dae64a365bb8a4e40
Signed-off-by: Florin Coras <fcoras@cisco.com>
4 months agodevices: add support to check host interface offload capabilities 78/39778/9
Mohsin Kazmi [Tue, 31 Oct 2023 12:29:04 +0000 (12:29 +0000)]
devices: add support to check host interface offload capabilities

Type: improvement

This patch implements support to check the host interface offload
capabilities.

NOTE: this check is only done once when interface is being created.
Any changes to the cap of host interface after that will not reflect
changes to af_packet interface in VPP.

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: Ibc9953131f64f3fb3e601d34036b9f453913692a

4 months agobuild: Add Debian12 environment 92/40192/2
Pim van Pelt [Sun, 14 Jan 2024 20:02:41 +0000 (21:02 +0100)]
build: Add Debian12 environment

Add clang-14 and libffi8 which ship with Debian Bookworm. The project
compiles cleanly with these versions.

Type: make
Change-Id: I17350aae30cec72987792d54d88231b3221b56b9
Signed-off-by: pim@ipng.nl
4 months agosession: fix app wrk free leak 91/40191/2
Florin Coras [Fri, 12 Jan 2024 18:10:17 +0000 (13:10 -0500)]
session: fix app wrk free leak

Type: fix

Change-Id: I9c48b163f174b824df1a76e75c272dc985386bf2
Signed-off-by: Florin Coras <fcoras@cisco.com>
4 months agocrypto-native: add AES-CTR 81/40181/5
Damjan Marion [Thu, 11 Jan 2024 17:37:46 +0000 (17:37 +0000)]
crypto-native: add AES-CTR

Type: feature
Change-Id: Iab84226043d8042a99a507767b75e9d4a89cc5c6
Signed-off-by: Damjan Marion <damarion@cisco.com>
4 months agovppinfra: native AES-CTR implementation 76/40176/8
Damjan Marion [Mon, 8 Jan 2024 19:05:40 +0000 (19:05 +0000)]
vppinfra: native AES-CTR implementation

Type: feature
Change-Id: I7ef3277edaeb266fbd3c8c9355d4443002ed2311
Signed-off-by: Damjan Marion <damarion@cisco.com>
4 months agohttp: fix memory leak 85/40185/1
Filip Tehlar [Fri, 12 Jan 2024 10:18:57 +0000 (11:18 +0100)]
http: fix memory leak

Type: fix

Change-Id: I36905132a42d23e719bf0e82eeafa48f60f4887a
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
4 months agolibmemif: fix segfault and buffer overflow in examples 66/39266/4
Tianyu Li [Wed, 12 Jul 2023 05:51:42 +0000 (05:51 +0000)]
libmemif: fix segfault and buffer overflow in examples

- Fix buffer overflow caused by strncpy(dst, src, strlen(src)),
use sized buffer to ensure overflow safe.

- Fix test_app getopt usage

 When use example/icmp_responder in slave mode
- Fix segfault when buffer size is not specified
- Fix wrong packet send out.

Type: fix
Signed-off-by: Tianyu Li <tianyu.li@arm.com>
Change-Id: I5ed47fd8e630420d7ae0203a2605d2b9abd33d2a

4 months agolibmemif: fix for memif_init_queues slot math 77/40077/6
mbly [Wed, 6 Dec 2023 20:22:14 +0000 (12:22 -0800)]
libmemif: fix for memif_init_queues slot math

Increase slot variable to u32 to address combinations of num-queues and queue-size that cause slot variable to wrap when declared as u16, e.g. num-queues > 8 && queue-size is 2^12

Type: fix
Change-Id: I5bd6198d60395156a06f1a280ea2594824ceaa9d
Signed-off-by: mbly <mbly@ciena.com>
4 months agolibmemif: Fix for memif_buffer_alloc rewind logic 65/40065/10
mbly [Tue, 5 Dec 2023 17:36:49 +0000 (09:36 -0800)]
libmemif: Fix for memif_buffer_alloc rewind logic

Rewind logic was not supporting count = 1, where size was > memif_buffer_size and a rewind is required.
Fixed slot-->next_buf bug for !master as well.

Type: fix
Change-Id: I65cf0d3d0c105f37125412a613e5ff8c5da9a3a2
Signed-off-by: mbly <mbly@ciena.com>
4 months agolibmemif: added tests 53/37953/9
Daniel Béreš [Thu, 19 Jan 2023 09:19:27 +0000 (10:19 +0100)]
libmemif: added tests

This patch provides unit tests for libmemif written in Unity

Type: test

Signed-off-by: Daniel Béreš <dberes@cisco.com>
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I19116def6e6d28efd5f460c93911245474a11321

4 months agohs-test: add more asserts 79/40179/2
Filip Tehlar [Thu, 11 Jan 2024 16:17:33 +0000 (17:17 +0100)]
hs-test: add more asserts

Type: test

Change-Id: Ia285ff39d9b19464ea086ec847ceaf52c6c0195c
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
4 months agocrypto: align host and VPP IPsec-mb lib 76/39976/16
Ranjan Raj [Mon, 20 Nov 2023 07:04:24 +0000 (07:04 +0000)]
crypto: align host and VPP IPsec-mb lib

Ensure alignment between the Intel IPsec-mb library on the
host and VPP targets.If the version of Intel ipsec-mb on the
host is misaligned with the targets,terminate the compilation
process to prevent potential library linkage issues.

Type: fix

Change-Id: I38864115d59ae09fb5556ad4a29e884ebace8155
Signed-off-by: Ranjan Raj <ranjanx.raj@intel.com>
4 months agohs-test: add tls proxy test 26/40026/5
Filip Tehlar [Wed, 29 Nov 2023 06:40:18 +0000 (07:40 +0100)]
hs-test: add tls proxy test

Type: test

Change-Id: I8f3f4c464907356bb1990ea53f0f46befc057acf
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
4 months agohs-test: retry command on test setup failure 70/40070/2
Filip Tehlar [Wed, 6 Dec 2023 10:35:11 +0000 (11:35 +0100)]
hs-test: retry command on test setup failure

Type: test

Change-Id: Iad744c4b3f79820e8bd0dd2ef9f18e4f7718e845
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
4 months agolinux-cp: fix route prefix construction 42/40142/4
Alexander Skorichenko [Tue, 26 Dec 2023 15:27:10 +0000 (16:27 +0100)]
linux-cp: fix route prefix construction

Prevent comparison ops for uninitialized IPv6 prefix bytes.

Type: fix

Change-Id: I440fea7f0725769406ad348eb3402a98c593dc3c
Signed-off-by: Alexander Skorichenko <askorichenko@netgate.com>
4 months agolinux-cp: Fix looping netlink messages 22/39622/9
Pim van Pelt [Fri, 6 Oct 2023 09:26:33 +0000 (11:26 +0200)]
linux-cp: Fix looping netlink messages

Signal when consuming a batch of netlink messages, in order to inhibit
lcp_sync from generating new netlink messages. This avoids link up/down
state changess from triggering an infinite loop.
Do this in the regular case of nl_route_process_msgs()
and in the special case of re-synchronizing in lcp_nl_recv_dump_replies().
Type: fix
Change-Id: I419d3f9aa350c119b3778b644c65165cb4cc1bef
Signed-off-by: Pim van Pelt <pim@ipng.nl>
4 months agourpf: add interface dump to API 86/40086/6
Pim van Pelt [Sun, 10 Dec 2023 20:07:38 +0000 (21:07 +0100)]
urpf: add interface dump to API

Add an urpf_interface_dump() API call, with optional sw_if_index.
If either a mode or a table is specified in any given interface
address family and direction, return it in a list, otherwise omit
it.

TESTED:
create loopback interface instance 0
create loopback interface instance 1
create loopback interface instance 2
create loopback interface instance 3
ip6 table add 8298
set urpf ip4 rx loose loop1
set urpf ip6 tx off loop2 table 8298

API call urpf_interface_dump(sw_if_index=~1) returns:
[
urpf_interface_details(_0=658, context=2, sw_if_index=2, is_rx=True, mode=<vl_api_urpf_mode_t.URPF_API_MODE_LOOSE: 1>, af=<vl_api_address_family_t.ADDRESS_IP4: 0>, table_id=0),
urpf_interface_details(_0=658, context=2, sw_if_index=3, is_rx=False, mode=<vl_api_urpf_mode_t.URPF_API_MODE_OFF: 0>, af=<vl_api_address_family_t.ADDRESS_IP6: 1>, table_id=8298)
]

Type: improvement
Change-Id: I1ded5c445dc07dab73ea41b817b5827b72ca79d4
Signed-off-by: pim@ipng.nl
4 months agosession: make app listener pool global 39/40139/15
Florin Coras [Fri, 22 Dec 2023 03:41:12 +0000 (19:41 -0800)]
session: make app listener pool global

One less pointer chase when accepting sessions.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I20dbb21d15d4a703f76e3b12f04a6f5b5d2a3cd8

4 months agosession: support for cl port reuse 91/40091/22
Florin Coras [Tue, 12 Dec 2023 00:04:57 +0000 (16:04 -0800)]
session: support for cl port reuse

Adds support for connectionless listener port reuse. Until now, cl
listeners had fifos allocated to them and therefore only one app worker
could ever listen, i.e., a session cannot have multiple fifos.

To circumvent the limitation, this separates the fifos from the listener
by allocating new cl sessions for each app worker that reuses the app
listener. Flows are hashed to app worker cl sessions but, for now, this
is not a consistent/fixed hash.

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ic6533cd47f2765903669f88c288bd592fb17a19e

4 months agosession: avoid spurious closed notifications 96/40096/4
Florin Coras [Tue, 12 Dec 2023 22:01:43 +0000 (14:01 -0800)]
session: avoid spurious closed notifications

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ia98556e7ae61547cf153c78ec085cd4248bee74a

4 months agolibmemif: add name to maintainer file 78/39978/1
Mohsin Kazmi [Mon, 8 Jan 2024 13:45:52 +0000 (13:45 +0000)]
libmemif: add name to maintainer file

Type: docs

Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Change-Id: I994d843a035e6afc4b72d06745d2be74cd81cd3a

4 months agoflowprobe: fix calling vlib_time_now() from worker threads 43/40143/2
Alexander Chernavin [Wed, 27 Dec 2023 11:17:23 +0000 (11:17 +0000)]
flowprobe: fix calling vlib_time_now() from worker threads

Currently, when flowprobe_export_send() calls vlib_time_now(), a pointer
to the main thread's vlib_main_t is always passed (the one cached in
flow_report_main). However, that code can also be executed from a worker
thread. And passing a pointer to the main thread's vlib_main_t to
vlib_time_now() from a worker thread may cause time synchronization
issues. Also, running a debug binary will cause an assertion failure in
vlib_time_now() in this case.

With this fix, flowprobe_export_send() passes the pointer to the current
thread's vlib_main_t to vlib_time_how().

This doesn't allow to remove @tag_fixme_vpp_workers from the unit tests
yet as they will be failing for other multi-worker related problems.

Type: fix
Change-Id: Ia35e3a4176777b88cf8ca8af8af7c42c495cbc6a
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
4 months agohttp: unify client/server state machines 10/37610/8
Filip Tehlar [Mon, 30 Oct 2023 07:21:36 +0000 (08:21 +0100)]
http: unify client/server state machines

Type: improvement

Change-Id: I57a816fbed8b681dec201edc8d5950a34a555a2b
Signed-off-by: Filip Tehlar <ftehlar@cisco.com>
4 months agodocs: minor updates to the lxc container test writeup 46/40146/2
Dave Barach [Fri, 29 Dec 2023 16:15:34 +0000 (11:15 -0500)]
docs: minor updates to the lxc container test writeup

Fix minor differences between Ubuntu 18.04 LTS and Ubuntu 22.04 LTS when
using the scheme to test new code.

Type: docs

Change-Id: I5810b6f3d76d8d98fa764b61828b1ca32507bd91
Signed-off-by: Dave Barach <dave@barachs.net>
4 months agosession: add flag to track cless sessions 35/40135/7
Florin Coras [Thu, 21 Dec 2023 21:50:53 +0000 (13:50 -0800)]
session: add flag to track cless sessions

Type: improvement

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I0bb6aba26f1cd974d6bb3b5fe6234aacfee0d30c

4 months agohs-test: more proxy vars for docker builds 40/40140/2
Florin Coras [Sat, 23 Dec 2023 00:58:26 +0000 (19:58 -0500)]
hs-test: more proxy vars for docker builds

Type: improvement

Change-Id: Ica9d87abde7a1dc0b4007911a7e0abab46dfb75d
Signed-off-by: Florin Coras <fcoras@cisco.com>