Re: [ovs-dev] [PATCH branch-3.2 0/2] Release patches for v3.2.3.

2024-06-07 Thread Eelco Chaudron
On 7 Jun 2024, at 16:01, Ilya Maximets wrote: > We didn't make a stable release for a while. It's definitely time > to make one. ACK on the series, changes look good. Acked-by: Eelco Chaudron > Ilya Maximets (2): > Set release date for 3.2.3. > Prepare for 3

Re: [ovs-dev] [PATCH branch-3.3 0/2] Release patches for v3.3.1.

2024-06-07 Thread Eelco Chaudron
On 7 Jun 2024, at 16:01, Ilya Maximets wrote: > We didn't make a stable release for a while. It's definitely time > to make one. ACK on the series, changes look good. Acked-by: Eelco Chaudron > Ilya Maximets (2): > Set release date for 3.3.1. > Prepare for 3

Re: [ovs-dev] [PATCH branch-3.1 0/2] Release patches for v3.1.5.

2024-06-07 Thread Eelco Chaudron
On 7 Jun 2024, at 16:01, Ilya Maximets wrote: > We didn't make a stable release for a while. It's definitely time > to make one. ACK on the series, changes look good. Acked-by: Eelco Chaudron > Ilya Maximets (2): > Set release date for 3.1.5. > Prepare for 3

Re: [ovs-dev] [PATCH branch-3.0 0/2] Release patches for v3.0.7.

2024-06-07 Thread Eelco Chaudron
On 7 Jun 2024, at 16:01, Ilya Maximets wrote: > We didn't make a stable release for a while. It's definitely time > to make one. ACK on the series, changes look good. Acked-by: Eelco Chaudron > Ilya Maximets (2): > Set release date for 3.0.7. > Prepare for 3

Re: [ovs-dev] [PATCH branch-2.17 0/2] Release patches for v2.17.10.

2024-06-07 Thread Eelco Chaudron
On 7 Jun 2024, at 16:01, Ilya Maximets wrote: > We didn't make a stable release for a while. It's definitely time > to make one. ACK on the series, changes look good. Acked-by: Eelco Chaudron > Ilya Maximets (2): > Set release date for 2.17.10. > Prepare for 2.1

Re: [ovs-dev] [PATCH v2] checkpatch: Extend and move extra_keywords list to file.

2024-06-07 Thread Eelco Chaudron
On 7 Jun 2024, at 15:46, Mike Pattrick wrote: > On Fri, Jun 7, 2024 at 2:35 AM Eelco Chaudron wrote: >> >> >> >> On 6 Jun 2024, at 3:07, Mike Pattrick wrote: >> >>> This patch extends the extra_keywords list from 324 to 747 keywords and >>>

Re: [ovs-dev] [PATCH 2/2] ci: Restore vhost-user unit tests in check-dpdk.

2024-06-07 Thread Eelco Chaudron
Update to use v23.11.") > Signed-off-by: David Marchand Thanks David for looking into this. Ran some tests in my environment and all is fine. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH 1/2] system-dpdk: Fix socket conflict when starting testpmd.

2024-06-07 Thread Eelco Chaudron
a dedicated directory. > > Reported-at: > https://mail.openvswitch.org/pipermail/ovs-dev/2024-June/414545.html > Fixes: c488f28a0eaf ("system-dpdk: Don't require hugetlbfs.") > Signed-off-by: David Marchand Thanks David for looking into this. Ran

Re: [ovs-dev] [PATCH] python: ovs: flow: Fix nested check_pkt_len acts.

2024-06-07 Thread Eelco Chaudron
to me. Guess only a fixes tag is missing as Ilya already mentioned. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v2] checkpatch: Don't warn on pointer to pointer.

2024-06-07 Thread Eelco Chaudron
> patch contains a simple list of pointers, e.g: "char **errrp"). > > Fix the regexp to allow more than one consecutive "+" characters. > > Signed-off-by: Adrian Moreno Thanks for fixing this Adrian. Acked-by: Eelco Chaudron ___

Re: [ovs-dev] [PATCH v2] system-dpdk: Tolerate new warnings 23.11.1/24.03.

2024-06-07 Thread Eelco Chaudron
On 6 Jun 2024, at 9:32, christian.ehrha...@canonical.com wrote: > From: Christian Ehrhardt > > DPDK fixed counting of telemetry clients in 24.03 [1] which was also > backported to 23.11.1 [2]. Due to that the dpdk related openvswitch > tests now fail in the following cases: > 4: OVS-DPDK -

Re: [ovs-dev] [PATCH v2] checkpatch: Extend and move extra_keywords list to file.

2024-06-07 Thread Eelco Chaudron
On 6 Jun 2024, at 3:07, Mike Pattrick wrote: > This patch extends the extra_keywords list from 324 to 747 keywords and > moves this list to a separate file. The methodology used to create this > list was running the spell checker on a large volume of historical > patches and selecting any

Re: [ovs-dev] [PATCH 3/3] nsh: Add support to compose-packet and use it in system tests.

2024-06-05 Thread Eelco Chaudron
extensively. > > Signed-off-by: Ilya Maximets Thanks for cleaning this up! This patch looks good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH 2/3] tests: Convert ND, MPLS and CT sendpkt tests to compose-packet.

2024-06-05 Thread Eelco Chaudron
4_join > extensively. > > Signed-off-by: Ilya Maximets Thanks for cleaning this up! This patch looks good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH 1/3] tests: sendpkt: Allow different input formats.

2024-06-05 Thread Eelco Chaudron
as pure hex strings provided by ovs-ofctl compose-packet > and ovs-pcap. > > Signed-off-by: Ilya Maximets Thanks for cleaning this up! This patch looks good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https:/

Re: [ovs-dev] [PATCH v2] netdev-tc-offloads: Don't offload header modification on ip fragments.

2024-06-04 Thread Eelco Chaudron
On 4 Jun 2024, at 13:52, Ilya Maximets wrote: > On 6/4/24 13:42, Eelco Chaudron wrote: >> >> >> On 1 Jun 2024, at 0:08, Ilya Maximets wrote: >> >>> On 5/7/24 15:52, Eelco Chaudron wrote: >>>> While offloading header modifications to TC, OVS is

Re: [ovs-dev] [PATCH v2] netdev-tc-offloads: Don't offload header modification on ip fragments.

2024-06-04 Thread Eelco Chaudron
On 1 Jun 2024, at 0:08, Ilya Maximets wrote: > On 5/7/24 15:52, Eelco Chaudron wrote: >> While offloading header modifications to TC, OVS is using {TCA_PEDIT} + >> {TCA_CSUM} combination as that it the only way to represent header >> rewrite. However, {TCA_CSUM} is u

Re: [ovs-dev] [PATCH 1/1] ofproto-dpif-upcall: Avoid stale ukeys leaks.

2024-06-03 Thread Eelco Chaudron
On 3 Jun 2024, at 10:07, Roi Dayan wrote: > On 03/06/2024 10:18, Roi Dayan wrote: >> >> >> On 30/05/2024 18:48, Eelco Chaudron wrote: >>> >>> >>> On 23 May 2024, at 12:46, Roi Dayan via dev wrote: >>> >>>> It is observed in

Re: [ovs-dev] [PATCH v3 0/8] Coverity fixes.

2024-06-03 Thread Eelco Chaudron
On 29 May 2024, at 12:53, Eelco Chaudron wrote: > This series addresses several high-priority Coverity issues. > > Delta from v2 -> v3: > - Cleaned up error message on patch 8. > > Delta from v1 -> v2: > - Add cover letter. > - Split first patch and update commit

Re: [ovs-dev] [PATCH] tests: Fix non-portable plus match in python vlog test.

2024-06-03 Thread Eelco Chaudron
It doesn't do > much for us as we would remove the same lines either way. > > This change makes CirruCI green again. > > Fixes: 9185793e7543 ("tests: Fix compatibility issue with Python 3.13 in > vlog.at.") > Signed-off-by: Ilya Maximets The change looks good

Re: [ovs-dev] [PATCH v3 8/8] netdev-linux: Fix uninitialized gso_type case.

2024-06-03 Thread Eelco Chaudron
On 31 May 2024, at 13:37, Ilya Maximets wrote: > On 5/29/24 12:53, Eelco Chaudron wrote: >> This patch fixes an uninitialized gso_type case in >> netdev_linux_prepend_vnet_hdr() by returning an error. >> >> Fixes: 3337e6d91c5b ("userspace: Enable L4 checksum of

Re: [ovs-dev] [v4] odp-execute: Fix AVX checksum calculation.

2024-05-30 Thread Eelco Chaudron
his > commit also adds a unit test to check the checksum carry-bits > issue with actions autovalidator enabled. > > Signed-off-by: Emma Finn > Reported-by: Eelco Chaudron Thanks Emma and others for the feedback on the patch. It has been applied

Re: [ovs-dev] [PATCH 1/1] ofproto-dpif-upcall: Avoid stale ukeys leaks.

2024-05-30 Thread Eelco Chaudron
On 23 May 2024, at 12:46, Roi Dayan via dev wrote: > It is observed in some environments that there are much more ukeys than > actual DP flows. For example: > > $ ovs-appctl upcall/show > system@ovs-system: > flows : (current 7) (avg 6) (max 117) (limit 2125) > offloaded flows : 525 > dump

Re: [ovs-dev] [v4] odp-execute: Fix AVX checksum calculation.

2024-05-30 Thread Eelco Chaudron
On 30 May 2024, at 15:28, Eelco Chaudron wrote: > On 30 May 2024, at 14:46, Finn, Emma wrote: > >>> -Original Message- >>> From: Eelco Chaudron >>> Sent: Wednesday, May 29, 2024 3:23 PM >>> To: Finn, Emma >>> Cc: Ilya Maxime

Re: [ovs-dev] [v4] odp-execute: Fix AVX checksum calculation.

2024-05-30 Thread Eelco Chaudron
On 30 May 2024, at 14:46, Finn, Emma wrote: >> -Original Message- >> From: Eelco Chaudron >> Sent: Wednesday, May 29, 2024 3:23 PM >> To: Finn, Emma >> Cc: Ilya Maximets ; ovs-dev@openvswitch.org; Van >> Haaren, Harry >> Subject: Re: [v4]

Re: [ovs-dev] [PATCH v2] dpdk: Use DPDK 23.11.1 release.

2024-05-30 Thread Eelco Chaudron
On 28 May 2024, at 11:25, Kevin Traynor wrote: > Update the CI and docs to use DPDK 23.11.1. > > Signed-off-by: Kevin Traynor Thanks Kevin, changes look good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.

Re: [ovs-dev] [PATCH v2 branch-3.3] dpdk: Use DPDK 23.11.1 release for OVS 3.3.

2024-05-30 Thread Eelco Chaudron
On 28 May 2024, at 11:25, Kevin Traynor wrote: > Update the CI and docs to use DPDK 23.11.1. > > Signed-off-by: Kevin Traynor Thanks Kevin, changes look good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.

Re: [ovs-dev] [PATCH v2 branch-3.2] dpdk: Use DPDK 22.11.5 release for OVS 3.2.

2024-05-30 Thread Eelco Chaudron
On 28 May 2024, at 11:25, Kevin Traynor wrote: > Update the CI and docs to use DPDK 22.11.5. > > Signed-off-by: Kevin Traynor Thanks Kevin, changes look good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.

Re: [ovs-dev] [PATCH v2 branch-3.1] dpdk: Use DPDK 22.11.5 release for OVS 3.1.

2024-05-30 Thread Eelco Chaudron
On 28 May 2024, at 11:25, Kevin Traynor wrote: > Update the CI and docs to use DPDK 22.11.5. > > Signed-off-by: Kevin Traynor Thanks Kevin, changes look good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.

Re: [ovs-dev] [PATCH v2 branch-3.0] dpdk: Use DPDK 21.11.7 release for OVS 3.0.

2024-05-30 Thread Eelco Chaudron
On 28 May 2024, at 11:25, Kevin Traynor wrote: > Update the CI and docs to use DPDK 21.11.7. > > Signed-off-by: Kevin Traynor Thanks Kevin, changes look good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.

Re: [ovs-dev] [PATCH v2 branch-2.17] dpdk: Use DPDK 21.11.7 release for OVS 2.17.

2024-05-30 Thread Eelco Chaudron
On 28 May 2024, at 11:25, Kevin Traynor wrote: > Update the CI and docs to use DPDK 21.11.7. > > Signed-off-by: Kevin Traynor Thanks Kevin, changes look good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.

Re: [ovs-dev] [PATCH v3 4/8] sflow: Use uint32_t instead of time_t for tick handling in the poller.

2024-05-30 Thread Eelco Chaudron
On 29 May 2024, at 12:53, Eelco Chaudron wrote: > The sFlow library uses a uint32_t to configure timeout ticks, but > stores this value as a time_t. Although this doesn't cause functional > issues, it wastes space and confuses Coverity, potentially indicating > a Y2K38 problem

Re: [ovs-dev] [PATCH v3 5/8] sflow: Fix check for disabled receive time.

2024-05-30 Thread Eelco Chaudron
On 29 May 2024, at 12:53, Eelco Chaudron wrote: > Changed sFlowRcvrTimeout to a uint32_t to avoid time_t warnings > reported by Coverity. A uint32_t is more than large enough as > this is a (seconds) tick counter and OVS is not even using this. > > Fixes: c72e245a0e2c ("Add

Re: [ovs-dev] [PATCH v3 8/8] netdev-linux: Fix uninitialized gso_type case.

2024-05-30 Thread Eelco Chaudron
On 29 May 2024, at 12:53, Eelco Chaudron wrote: > This patch fixes an uninitialized gso_type case in > netdev_linux_prepend_vnet_hdr() by returning an error. > > Fixes: 3337e6d91c5b ("userspace: Enable L4 checksum offloading by default.") > Signed-off-by: Eelco Chau

Re: [ovs-dev] [v4] odp-execute: Fix AVX checksum calculation.

2024-05-29 Thread Eelco Chaudron
On 29 May 2024, at 14:51, Ilya Maximets wrote: > On 5/29/24 11:01, Eelco Chaudron wrote: >> >> >> On 28 May 2024, at 16:49, Ilya Maximets wrote: >> >>> On 5/28/24 14:36, Eelco Chaudron wrote: >>>> >>>> >>>> On 2

Re: [ovs-dev] [PATCH 1/2] docs: afxdp: Fix CONFIG_HAVE_EBPF_JIT Kconfig option spelling.

2024-05-29 Thread Eelco Chaudron
On 28 May 2024, at 17:44, Ilya Maximets wrote: > On 5/22/24 14:47, Eelco Chaudron wrote: >> >> >> On 21 May 2024, at 17:47, Simon Horman wrote: >> >>> On Tue, May 21, 2024 at 08:35:21AM +0200, Eelco Chaudron wrote: >>>> >>>> >&g

[ovs-dev] [PATCH v3 8/8] netdev-linux: Fix uninitialized gso_type case.

2024-05-29 Thread Eelco Chaudron
This patch fixes an uninitialized gso_type case in netdev_linux_prepend_vnet_hdr() by returning an error. Fixes: 3337e6d91c5b ("userspace: Enable L4 checksum offloading by default.") Signed-off-by: Eelco Chaudron --- lib/netdev-linux.c | 4 1 file changed, 4 insertions(+) diff -

[ovs-dev] [PATCH v3 7/8] db-ctl-base: Initialize the output variable in the ctx structure.

2024-05-29 Thread Eelco Chaudron
ommon database command code into library.") Signed-off-by: Eelco Chaudron --- lib/db-ctl-base.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/db-ctl-base.c b/lib/db-ctl-base.c index 3a8068b12..b3e9b92d1 100644 --- a/lib/db-ctl-base.c +++ b/lib/db-ctl-base.c @@ -2656

[ovs-dev] [PATCH v3 6/8] ofproto-dpif: Define age as time_t in ofproto_unixctl_fdb_add().

2024-05-29 Thread Eelco Chaudron
-by: Paolo Valerio Signed-off-by: Eelco Chaudron --- ofproto/ofproto-dpif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 32d037be6..fcd7cd753 100644 --- a/ofproto/ofproto-dpif.c +++ b/ofproto/ofproto-dpif.c @@ -6097

[ovs-dev] [PATCH v3 5/8] sflow: Fix check for disabled receive time.

2024-05-29 Thread Eelco Chaudron
a Maximets Signed-off-by: Eelco Chaudron -- Note that this checkpatch reports an 'Improper whitespace around control block' error on this patch + some warnings. But I did not want to change the code style in this entire file. --- lib/sflow_api.h | 6 +++--- lib/sflow_receiver.c

[ovs-dev] [PATCH v3 3/8] sflow: Replace libc's random() function with the OVS's random_range().

2024-05-29 Thread Eelco Chaudron
ystem.") Acked-by: Mike Pattrick Signed-off-by: Eelco Chaudron --- lib/sflow_poller.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/sflow_poller.c b/lib/sflow_poller.c index 9e6a487bc..46e40cbd4 100644 --- a/lib/sflow_poller.c +++ b/lib/sflow_poller.c @@

[ovs-dev] [PATCH v3 0/8] Coverity fixes.

2024-05-29 Thread Eelco Chaudron
ndling by returning an error + log message. - Changed sFlowRcvrTimeout to be using uint32_t to avoid TIME_T_MAKE. Eelco Chaudron (8): netdev-linux: Fix possible int overflow in tc_add_matchall_policer(). cfm: Fix possible integer overflow in tc_add_matchall_policer(). sflow: Replace libc's random() fu

[ovs-dev] [PATCH v3 4/8] sflow: Use uint32_t instead of time_t for tick handling in the poller.

2024-05-29 Thread Eelco Chaudron
structures to use uint32_t variables. Fixes: c72e245a0e2c ("Add InMon's sFlow Agent library to the build system.") Acked-by: Mike Pattrick Signed-off-by: Eelco Chaudron --- lib/sflow_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sflow_api.h b/lib/s

[ovs-dev] [PATCH v3 2/8] cfm: Fix possible integer overflow in tc_add_matchall_policer().

2024-05-29 Thread Eelco Chaudron
Fix unintentional integer overflow reported by Coverity by adding the LL suffix to the numerical literals used in the multiplication. Fixes: 5767a79a4059 ("cfm: Require ccm received in demand mode.") Acked-by: Mike Pattrick Signed-off-by: Eelco Chaudron --- lib/cfm.c | 2 +- 1 file

[ovs-dev] [PATCH v3 1/8] netdev-linux: Fix possible int overflow in tc_add_matchall_policer().

2024-05-29 Thread Eelco Chaudron
Fix unintentional integer overflow reported by Coverity by adding the ULL suffix to the numerical literals used in the multiplications. Fixes: ed2300cca0d3 ("netdev-linux: Refactor put police action netlink message") Acked-by: Mike Pattrick Signed-off-by: Eelco Chaudron --- lib/netd

Re: [ovs-dev] [PATCH v2 8/8] netdev-linux: Fix uninitialized gso_type case.

2024-05-29 Thread Eelco Chaudron
On 28 May 2024, at 21:30, Ilya Maximets wrote: > On 5/28/24 13:39, Eelco Chaudron wrote: >> This patch fixes an uninitialized gso_type case in >> netdev_linux_prepend_vnet_hdr() by returning an error. >> >> Fixes: 3337e6d91c5b ("userspace: Enable L4 checksum of

Re: [ovs-dev] [v4] odp-execute: Fix AVX checksum calculation.

2024-05-29 Thread Eelco Chaudron
On 28 May 2024, at 16:49, Ilya Maximets wrote: > On 5/28/24 14:36, Eelco Chaudron wrote: >> >> >> On 24 May 2024, at 11:20, Emma Finn wrote: >> >>> The AVX implementation for calcualting checksums was not >>> handling carry-over addition

Re: [ovs-dev] [PATCH v2 6/8] ofproto-dpif: Define age as time_t in ofproto_unixctl_fdb_add().

2024-05-29 Thread Eelco Chaudron
On 28 May 2024, at 19:56, Paolo Valerio wrote: > Eelco Chaudron writes: > >> Fix the warning from Coverity about potential truncation of the >> time_t value when copying to a local variable by changing the >> local variable's type to time_t. >> >> ccc24

Re: [ovs-dev] [v4] odp-execute: Fix AVX checksum calculation.

2024-05-28 Thread Eelco Chaudron
; Signed-off-by: Emma Finn > Reported-by: Eelco Chaudron > --- > lib/odp-execute-avx512.c | 5 > tests/dpif-netdev.at | 64 > 2 files changed, 69 insertions(+) > > diff --git a/lib/odp-execute-avx512.c b/lib/odp-execute-av

[ovs-dev] [PATCH v2 8/8] netdev-linux: Fix uninitialized gso_type case.

2024-05-28 Thread Eelco Chaudron
This patch fixes an uninitialized gso_type case in netdev_linux_prepend_vnet_hdr() by returning an error. Fixes: 3337e6d91c5b ("userspace: Enable L4 checksum offloading by default.") Signed-off-by: Eelco Chaudron --- lib/netdev-linux.c | 5 + 1 file changed, 5 insertions(+)

[ovs-dev] [PATCH v2 7/8] db-ctl-base: Initialize the output variable in the ctx structure.

2024-05-28 Thread Eelco Chaudron
ommon database command code into library.") Signed-off-by: Eelco Chaudron --- lib/db-ctl-base.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/db-ctl-base.c b/lib/db-ctl-base.c index 3a8068b12..b3e9b92d1 100644 --- a/lib/db-ctl-base.c +++ b/lib/db-ctl-base.c @@ -2656

[ovs-dev] [PATCH v2 6/8] ofproto-dpif: Define age as time_t in ofproto_unixctl_fdb_add().

2024-05-28 Thread Eelco Chaudron
Fix the warning from Coverity about potential truncation of the time_t value when copying to a local variable by changing the local variable's type to time_t. ccc24fc88d59 ("ofproto-dpif: APIs and CLI option to add/delete static fdb entry.") Signed-off-by: Eelco Chaudron --- ofpro

[ovs-dev] [PATCH v2 5/8] sflow: Fix check for disabled receive time.

2024-05-28 Thread Eelco Chaudron
Changed sFlowRcvrTimeout to a uint32_t to avoid time_t warnings reported by Coverity. A uint32_t is more than large enough as this is a (seconds) tick counter and OVS is not even using this. Fixes: c72e245a0e2c ("Add InMon's sFlow Agent library to the build system.") Signed-off-by: Eelc

[ovs-dev] [PATCH v2 2/8] cfm: Fix possible integer overflow in tc_add_matchall_policer().

2024-05-28 Thread Eelco Chaudron
Fix unintentional integer overflow reported by Coverity by adding the LL suffix to the numerical literals used in the multiplication. Fixes: 5767a79a4059 ("cfm: Require ccm received in demand mode.") Signed-off-by: Eelco Chaudron --- lib/cfm.c | 2 +- 1 file changed, 1 insertion(+),

[ovs-dev] [PATCH v2 4/8] sflow: Use uint32_t instead of time_t for tick handling in the poller.

2024-05-28 Thread Eelco Chaudron
structures to use uint32_t variables. Fixes: c72e245a0e2c ("Add InMon's sFlow Agent library to the build system.") Signed-off-by: Eelco Chaudron --- lib/sflow_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sflow_api.h b/lib/sflow_api.h index

[ovs-dev] [PATCH v2 3/8] sflow: Replace libc's random() function with the OVS's random_range().

2024-05-28 Thread Eelco Chaudron
ystem.") Signed-off-by: Eelco Chaudron --- lib/sflow_poller.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/sflow_poller.c b/lib/sflow_poller.c index 9e6a487bc..46e40cbd4 100644 --- a/lib/sflow_poller.c +++ b/lib/sflow_poller.c @@ -6,6 +6,7 @@ */ #include &q

[ovs-dev] [PATCH v2 1/8] netdev-linux: Fix possible int overflow in tc_add_matchall_policer().

2024-05-28 Thread Eelco Chaudron
Fix unintentional integer overflow reported by Coverity by adding the ULL suffix to the numerical literals used in the multiplications. Fixes: ed2300cca0d3 ("netdev-linux: Refactor put police action netlink message") Signed-off-by: Eelco Chaudron --- lib/netdev-linux.c | 4 ++-- 1 fi

[ovs-dev] [PATCH v2 0/8] Coverity fixes.

2024-05-28 Thread Eelco Chaudron
out to be using uint32_t to avoid TIME_T_MAKE. Eelco Chaudron (8): netdev-linux: Fix possible int overflow in tc_add_matchall_policer(). cfm: Fix possible integer overflow in tc_add_matchall_policer(). sflow: Replace libc's random() function with the OVS's random_range(). sflow: Use uint32_t inst

Re: [ovs-dev] [PATCH 4/7] sflow: Fix check for disabled receive time.

2024-05-28 Thread Eelco Chaudron
On 28 May 2024, at 1:04, Neil McKee wrote: > Would it help if I set up a separate github project for this sFlow encoding > C code? Then we could make it easier to incorporate in OVS by fixing the > whitespace and indentation issues there, and maybe change all the "time_t" > variables to

Re: [ovs-dev] [PATCH 4/7] sflow: Fix check for disabled receive time.

2024-05-28 Thread Eelco Chaudron
On 27 May 2024, at 16:42, Ilya Maximets wrote: > On 5/27/24 13:01, Eelco Chaudron wrote: >> Instead of casting time_t to uint32_t for the 0x comparison, >> define a TIME_T_MAX and use it for both setting and comparison. >> >> Fixes: c72e245a0e2c ("

Re: [ovs-dev] [PATCH 7/7] netdev-linux: Fix uninitialized gso_type case.

2024-05-28 Thread Eelco Chaudron
On 27 May 2024, at 16:56, Ilya Maximets wrote: > On 5/27/24 13:01, Eelco Chaudron wrote: >> This patch fixes a uninitialized gso_type case in >> netdev_linux_prepend_vnet_hdr(). >> >> Fixes: 3337e6d91c5b ("userspace: Enable L4 checksum offloading by default.&qu

Re: [ovs-dev] [PATCH 6/7] db-ctl-base: Initialize the output variable in the ctx structure.

2024-05-28 Thread Eelco Chaudron
On 27 May 2024, at 16:50, Ilya Maximets wrote: > On 5/27/24 13:01, Eelco Chaudron wrote: >> Coverity was flagged that the uninitialized output variable was used >> in the ctl_context_init_command() function. This patch initializes >> the variable. >> >> Fixes:

Re: [ovs-dev] [PATCH 1/7] Coverity: Fix Coverity `Unintentional integer overflow` reports.

2024-05-28 Thread Eelco Chaudron
On 27 May 2024, at 16:04, Ilya Maximets wrote: > On 5/27/24 13:01, Eelco Chaudron wrote: >> Fix three Unintentional integer overflow reports by adding the >> ULL/LL suffix to the numerical literals used in the multiplications. >> >> Fixes: 5767a79a4059 ("cfm

[ovs-dev] [PATCH 7/7] netdev-linux: Fix uninitialized gso_type case.

2024-05-27 Thread Eelco Chaudron
This patch fixes a uninitialized gso_type case in netdev_linux_prepend_vnet_hdr(). Fixes: 3337e6d91c5b ("userspace: Enable L4 checksum offloading by default.") Signed-off-by: Eelco Chaudron --- lib/netdev-linux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/

[ovs-dev] [PATCH 6/7] db-ctl-base: Initialize the output variable in the ctx structure.

2024-05-27 Thread Eelco Chaudron
Coverity was flagged that the uninitialized output variable was used in the ctl_context_init_command() function. This patch initializes the variable. Fixes: 07ff77ccb82a ("db-ctl-base: Make common database command code into library.") Signed-off-by: Eelco Chaudron --- lib/db-ctl-

[ovs-dev] [PATCH 5/7] ofproto-dpif: Define age as time_t in ofproto_unixctl_fdb_add().

2024-05-27 Thread Eelco Chaudron
Fix the warning from Coverity about potential truncation of the time_t value when copying to a local variable by changing the local variable's type to time_t. ccc24fc88d59 ("ofproto-dpif: APIs and CLI option to add/delete static fdb entry.") Signed-off-by: Eelco Chaudron --- ofpro

[ovs-dev] [PATCH 4/7] sflow: Fix check for disabled receive time.

2024-05-27 Thread Eelco Chaudron
Instead of casting time_t to uint32_t for the 0x comparison, define a TIME_T_MAX and use it for both setting and comparison. Fixes: c72e245a0e2c ("Add InMon's sFlow Agent library to the build system.") Signed-off-by: Eelco Chaudron -- Note that this checkpatch reports an

[ovs-dev] [PATCH 3/7] sflow: Use uint32_t instead of time_t for tick handling in the poller.

2024-05-27 Thread Eelco Chaudron
structures to use uint32_t variables. Fixes: c72e245a0e2c ("Add InMon's sFlow Agent library to the build system.") Signed-off-by: Eelco Chaudron --- lib/sflow_api.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sflow_api.h b/lib/sflow_api.h index

[ovs-dev] [PATCH 2/7] sflow: Replace libc's random() function with the OVS's random_range().

2024-05-27 Thread Eelco Chaudron
ystem.") Signed-off-by: Eelco Chaudron --- lib/sflow_poller.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/sflow_poller.c b/lib/sflow_poller.c index 9e6a487bc..46e40cbd4 100644 --- a/lib/sflow_poller.c +++ b/lib/sflow_poller.c @@ -6,6 +6,7 @@ */ #include &q

[ovs-dev] [PATCH 1/7] Coverity: Fix Coverity `Unintentional integer overflow` reports.

2024-05-27 Thread Eelco Chaudron
ge") Signed-off-by: Eelco Chaudron --- lib/cfm.c | 2 +- lib/netdev-linux.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cfm.c b/lib/cfm.c index c3742f3de..7eb080157 100644 --- a/lib/cfm.c +++ b/lib/cfm.c @@ -863,7 +863,7 @@ cfm_process_heartbeat(struct cf

Re: [ovs-dev] [v3] odp-execute: Fix AVX checksum calculation.

2024-05-23 Thread Eelco Chaudron
gt; This commit also adds a unit test to fuzz test the actions > autovalidator. > > Signed-off-by: Emma Finn > Reported-by: Eelco Chaudron > --- > lib/odp-execute-avx512.c | 5 + > tests/dpif-netdev.at | 26 ++ > 2 files changed, 31 inserti

Re: [ovs-dev] [RFC 00/11] Add psample support to NXAST_SAMPLE action.

2024-05-22 Thread Eelco Chaudron
On 22 May 2024, at 0:11, Ilya Maximets wrote: > On 5/16/24 19:03, Adrian Moreno wrote: >> >> >> On 4/24/24 9:53 PM, Adrian Moreno wrote: >>> This is the userspace counterpart of the work being done in the kernel >>> [1]. Sending it as RFC to get some early feedback on the overall >>> solution.

Re: [ovs-dev] [PATCH 1/2] docs: afxdp: Fix CONFIG_HAVE_EBPF_JIT Kconfig option spelling.

2024-05-22 Thread Eelco Chaudron
On 21 May 2024, at 17:47, Simon Horman wrote: > On Tue, May 21, 2024 at 08:35:21AM +0200, Eelco Chaudron wrote: >> >> >> On 20 May 2024, at 20:13, Simon Horman wrote: >> >>> From: Ville Skyttä >>> >>> Fix CONFIG_HAVE_EBPF_JIT Kconfi

Re: [ovs-dev] [PATCH v3] utilities: Correct deletion reason in flow_reval_monitor.py.

2024-05-21 Thread Eelco Chaudron
On 16 May 2024, at 14:46, Ilya Maximets wrote: > On 5/14/24 15:15, Eelco Chaudron wrote: >> The flow_reval_monitor.py script incorrectly reported the reasons for >> FDR_PURGE and FDR_TOO_EXPENSIVE, as their descriptions were swapped. >> This patch rectifies the ord

Re: [ovs-dev] [PATCH v9 2/2] ofproto-dpif-mirror: Add support for pre-selection filter.

2024-05-21 Thread Eelco Chaudron
On 1 May 2024, at 16:54, Mike Pattrick wrote: > Currently a bridge mirror will collect all packets and tools like > ovs-tcpdump can apply additional filters after they have already been > duplicated by vswitchd. This can result in inefficient collection. > > This patch adds support to apply

Re: [ovs-dev] [PATCH] GitHub: Add Coverity scan as a daily GitHub action.

2024-05-21 Thread Eelco Chaudron
On 21 May 2024, at 0:03, Ilya Maximets wrote: > On 5/1/24 14:33, Eelco Chaudron wrote: >> >> >> On 29 Apr 2024, at 14:59, Ilya Maximets wrote: >> >>> On 4/16/24 09:44, Eelco Chaudron wrote: >>>> This patch adds a daily Coverity run for the OVS ma

Re: [ovs-dev] [PATCH v2 net] openvswitch: Set the skbuff pkt_type for proper pmtud support.

2024-05-21 Thread Eelco Chaudron
FDP-164 > Fixes: 58264848a5a7 ("openvswitch: Add vxlan tunneling support.") > Signed-off-by: Aaron Conole Thanks for the additional comments and detailed commit message. The change looks good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] srv6: Fix misaligned writes to segment list.

2024-05-21 Thread Eelco Chaudron
;odp: Add SRv6 tunnel actions.") > Fixes: 03fc1ad78521 ("userspace: Add SRv6 tunnel support.") > Signed-off-by: Ilya Maximets Thanks for fixing this, looks good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH 2/2] AUTHORS: Add Jun Gu.

2024-05-21 Thread Eelco Chaudron
On 20 May 2024, at 17:39, Simon Horman wrote: > Add Jun Gu to AUTHORS file. > > Signed-off-by: Simon Horman Looks good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/lis

Re: [ovs-dev] [PATCH 1/2] ovs-ctl: Fix typo.

2024-05-21 Thread Eelco Chaudron
On 20 May 2024, at 17:39, Simon Horman wrote: > From: Jun Gu > > Correct spelling of destination in ovs-ctl.in. > > Signed-off-by: Jun Gu > Signed-off-by: Simon Horman > --- Looks good to me. Acked-by: Eelco Chaudron _

Re: [ovs-dev] [PATCH 2/2] AUTHORS: Add Ville Skyttä.

2024-05-21 Thread Eelco Chaudron
On 20 May 2024, at 20:13, Simon Horman wrote: > Add Ville Skyttä to AUTHORS file. > > Signed-off-by: Simon Horman Looks good. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH 1/2] docs: afxdp: Fix CONFIG_HAVE_EBPF_JIT Kconfig option spelling.

2024-05-21 Thread Eelco Chaudron
/tooling? The rest looks good. Acked-by: Eelco Chaudron > Signed-off-by: Simon Horman > --- > Documentation/intro/install/afxdp.rst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/intro/install/afxdp.rst > b/Documentation/intro/

Re: [ovs-dev] [PATCH 2/2] atlocal: Replace deprecated pkg_resources.

2024-05-21 Thread Eelco Chaudron
ackaging' is a common dependency, added to the test > requirements so it will not be missed in CI. > > Signed-off-by: Ilya Maximets Thanks for fixing this. The changes look good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH 1/2] atlocal: Fix setting HAVE_PYTEST on unexpected errors.

2024-05-21 Thread Eelco Chaudron
ests.") > Signed-off-by: Ilya Maximets Thanks for fixing this. The changes looks good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v2] compiler: Fix errors in Clang 17 ubsan checks.

2024-05-17 Thread Eelco Chaudron
macros already check to make sure the function parameter > is the correct size. > > So that check is disabled in the single function that is causing all of > the errors. > > Signed-off-by: Mike Pattrick Thanks for fixing the naming. Acked-by: Eelco Chaudron ___

Re: [ovs-dev] [PATCH v9 2/2] ofproto-dpif-mirror: Add support for pre-selection filter.

2024-05-17 Thread Eelco Chaudron
On 1 May 2024, at 16:54, Mike Pattrick wrote: > Currently a bridge mirror will collect all packets and tools like > ovs-tcpdump can apply additional filters after they have already been > duplicated by vswitchd. This can result in inefficient collection. > > This patch adds support to apply

Re: [ovs-dev] [PATCH v9 1/2] ofproto-dpif-mirror: Reduce number of function parameters.

2024-05-17 Thread Eelco Chaudron
ttrick > Acked-by: Simon Horman > Acked-by: Eelco Chaudron > Signed-off-by: Mike Pattrick > --- Even with the additional changes this patch looks good to me. Acked-by: Eelco Chaudron ___ dev mailing list d...@openvswitch.org https://m

Re: [ovs-dev] [v2] odp-execute: Fix AVX checksum calculation.

2024-05-15 Thread Eelco Chaudron
gt; This commit also adds a unit test to fuzz test the actions > autovalidator. > > Signed-off-by: Emma Finn > Reported-by: Eelco Chaudron Hi Emma, Thanks for also fixing the IPv6 case, however, the test you added does not seem to catch the issue. See notes below. Cheers, Eelc

Re: [ovs-dev] [PATCH v2] table: Fix freeing global variable.

2024-05-15 Thread Eelco Chaudron
) > #10 0xaeb50110 in __libc_start_main (/usr/lib64/libc.so.6+ > 0x2b110) > #11 0x40906c in _start (/usr/local/bin/ovsdb-client+0x40906c) > > Fixes: cb139fa8b3a1 ("table: New function table_format() for formatting a > table as a string.") > Signed

Re: [ovs-dev] [PATCH v2] utilities: Correct deletion reason in flow_reval_monitor.py.

2024-05-14 Thread Eelco Chaudron
On 13 May 2024, at 17:02, Ilya Maximets wrote: > On 5/8/24 11:19, Eelco Chaudron wrote: >> The flow_reval_monitor.py script incorrectly reported the reasons for >> FDR_PURGE and FDR_TOO_EXPENSIVE, as their descriptions were swapped. >> This patch rectifies the order using

[ovs-dev] [PATCH v3] utilities: Correct deletion reason in flow_reval_monitor.py.

2024-05-14 Thread Eelco Chaudron
of the script, with the comments in the code. Fixes: 86b9e653ef22 ("revalidator: Add a USDT probe during flow deletion with purge reason.") Signed-off-by: Eelco Chaudron --- v3: - Renamed ofproto dpif to bridge in delete reasons. - Added comment pointing back to delete reasons in .c. v2: -

Re: [ovs-dev] [RFC 01/11] odp-util: Add support to new psample uAPI.

2024-05-14 Thread Eelco Chaudron
On 14 May 2024, at 14:50, Ilya Maximets wrote: > On 5/14/24 14:43, Eelco Chaudron wrote: >> >> >> On 14 May 2024, at 14:28, Ilya Maximets wrote: >> >>> On 5/14/24 13:27, Eelco Chaudron wrote: >>>> >>>> >>>> On 14 May

Re: [ovs-dev] [RFC 01/11] odp-util: Add support to new psample uAPI.

2024-05-14 Thread Eelco Chaudron
On 14 May 2024, at 14:28, Ilya Maximets wrote: > On 5/14/24 13:27, Eelco Chaudron wrote: >> >> >> On 14 May 2024, at 13:05, Ilya Maximets wrote: >> >>> On 5/14/24 12:14, Adrian Moreno wrote: >>>> >>>> >>>> On 5/14/24 11

Re: [ovs-dev] [RFC 01/11] odp-util: Add support to new psample uAPI.

2024-05-14 Thread Eelco Chaudron
On 14 May 2024, at 13:05, Ilya Maximets wrote: > On 5/14/24 12:14, Adrian Moreno wrote: >> >> >> On 5/14/24 11:09 AM, Ilya Maximets wrote: >>> On 5/14/24 09:39, Adrian Moreno wrote: >>>> >>>> >>>> On 5/10/24 12:45 PM, Adrian M

Re: [ovs-dev] [RFC 08/11] netdev-offload-tc: Add sample support.

2024-05-14 Thread Eelco Chaudron
On 13 May 2024, at 21:59, Adrian Moreno wrote: > On 5/13/24 2:38 PM, Adrian Moreno wrote: >> >> >> On 5/13/24 1:32 PM, Eelco Chaudron wrote: >>> >>> >>> On 13 May 2024, at 10:44, Adrian Moreno wrote: >>> >>>> On 5/10/24 1

Re: [ovs-dev] [RFC 01/11] odp-util: Add support to new psample uAPI.

2024-05-14 Thread Eelco Chaudron
On 13 May 2024, at 14:44, Adrian Moreno wrote: > On 5/13/24 2:38 PM, Ilya Maximets wrote: >> On 5/13/24 09:17, Eelco Chaudron wrote: >>> >>> >>> On 10 May 2024, at 15:06, Ilya Maximets wrote: >>> >>>> On 5/10/24 14:01, Eelco Chaudron

Re: [ovs-dev] [RFC 06/11] utilities: Add ovs-psample.

2024-05-13 Thread Eelco Chaudron
On 13 May 2024, at 14:50, Adrian Moreno wrote: > On 5/13/24 2:48 PM, Ilya Maximets wrote: >> On 5/13/24 13:10, Adrian Moreno wrote: >>> >>> >>> On 5/13/24 12:44 PM, Eelco Chaudron wrote: >>>> >>>> >>>> On 13 May 2024, at 9

Re: [ovs-dev] [RFC 08/11] netdev-offload-tc: Add sample support.

2024-05-13 Thread Eelco Chaudron
On 13 May 2024, at 10:44, Adrian Moreno wrote: > On 5/10/24 12:06 PM, Eelco Chaudron wrote: >> On 24 Apr 2024, at 21:53, Adrian Moreno wrote: >> >>> Offload the sample action if it contains psample information by creating >>> a tc "sample" action with

Re: [ovs-dev] [RFC 06/11] utilities: Add ovs-psample.

2024-05-13 Thread Eelco Chaudron
On 13 May 2024, at 9:01, Adrian Moreno wrote: > On 5/10/24 12:06 PM, Eelco Chaudron wrote: >> On 24 Apr 2024, at 21:53, Adrian Moreno wrote: >> >>> This simple program reads from psample and prints the packets to stdout. >>> It's useful for quickly collectin

Re: [ovs-dev] [RFC 05/11] ofproto_dpif_xlate: Use psample for OFP samples.

2024-05-13 Thread Eelco Chaudron
On 10 May 2024, at 13:15, Adrian Moreno wrote: > On 5/10/24 12:06 PM, Eelco Chaudron wrote: >> On 24 Apr 2024, at 21:53, Adrian Moreno wrote: >> >>> When a OFP_SAMPLE action is xlated and a dpif_psample object has been >>> configured (via Flow_Sample_C

  1   2   3   4   5   6   7   8   9   10   >