Re: [ovs-dev] [PATCH] ovsdb: transaction: Remove incorrect transaction abort in pre-commit.

2024-08-08 Thread Ilya Maximets
On 7/24/24 17:28, Mike Pattrick wrote: > On Mon, Jul 22, 2024 at 11:21 AM Ilya Maximets wrote: >> >> Pre-commit must not abort the transaction, otherwise the upper layers >> may crash accessing it. E.g. ovsdb_trigger_try() checks the state of >> the transactio

Re: [ovs-dev] [PATCH ovn] logical-fields: Add missing multicast matches for MLD and IGMP.

2024-08-08 Thread Ilya Maximets
On 8/8/24 20:00, Ilya Maximets wrote: > MLD flows are added to pipelines unconditionally in order to avoid > sending such traffic through conntrack. The problem is that these > matches turn into matches on ip6.dst that end up as exact matches in > datapath flows. This means a separ

[ovs-dev] [PATCH ovn] logical-fields: Add missing multicast matches for MLD and IGMP.

2024-08-08 Thread Ilya Maximets
ticast for some reason, so it didn't cause issues for IPv4 traffic. But let's fix it as well. Tests were using incorrect multicast addresses, fixed now. Fixes: 677a3ba4d66b ("ovn: Add MLD support.") Signed-off-by: Ilya Maximets --- lib/logical-fields.c | 7

Re: [ovs-dev] [PATCH ovn] test: Fix flaky I-P test.

2024-08-08 Thread Ilya Maximets
On 8/8/24 13:53, Ales Musil wrote: > > > On Thu, Aug 8, 2024 at 1:26 PM Ilya Maximets <mailto:i.maxim...@ovn.org>> wrote: > > On 8/8/24 13:18, Ales Musil wrote: > > > > > > On Thu, Aug 8, 2024 at 12:55 PM Ilya Maximets <mailto:i

Re: [ovs-dev] [PATCH ovn] test: Fix flaky I-P test.

2024-08-08 Thread Ilya Maximets
On 8/8/24 13:18, Ales Musil wrote: > > > On Thu, Aug 8, 2024 at 12:55 PM Ilya Maximets <mailto:i.maxim...@ovn.org>> wrote: > > On 8/8/24 12:38, Ales Musil wrote: > > The test was checking if there was any recompute after all operations. > > T

Re: [ovs-dev] [PATCH v3] netdev-dpdk: Fix race condition in mempool information dump.

2024-08-08 Thread Ilya Maximets
On 8/7/24 17:48, Mike Pattrick wrote: > Currently it is possible to call netdev-dpdk/get-mempool-info before a > mempool as been created. This can happen because a device is added to > the netdev_shash before a mempool is allocated for it, which results in > a segmentation fault. > > Now we check

Re: [ovs-dev] [PATCH v2] netdev-native-tnl: Fix inner L2 pad loss causing checksum errors.

2024-08-08 Thread Ilya Maximets
t > +dp_packet_get_total_length(struct dp_packet *p) > +{ > +struct rte_ether_hdr *eth_hdr; > +struct rte_vlan_hdr *vlan_hdr; > +struct rte_ipv4_hdr *ipv4_hdr; > +struct rte_ipv6_hdr *ipv6_hdr; And we should not use DPDK-specific structures and functions is there are gen

Re: [ovs-dev] [PATCH ovn] test: Fix flaky I-P test.

2024-08-08 Thread Ilya Maximets
hile not actually testing anything useful. There could be a few ways to avoid that: 1. Collect recompute stats per failed node, so we can explicitly check for a specific reason. May still be a little flaky though. 2. Add at least one positive check that ensures that log we're looking for

Re: [ovs-dev] [ovs-build] |fail| pw1970261 [ovs-dev, v3, 2/2] tunnel, tests: Add test for mirroring over tunnels.

2024-08-08 Thread Ilya Maximets
i, Michael. Looks like some ports ended up not cleaned up after previous tests. And that breaks tests on new patches. Could you, please, take a look? It seems the last test before failures started was killed with SIGTERM: https://mail.openvswitch.org/pipermail/ovs-build/2024-August/040693.html Thanks. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] OVN technical community meeting - Sep 2nd (Was: Re: OVN technical community meeting - July 29th)

2024-08-07 Thread Ilya Maximets
prefer a different date we can > reconsider this. FWIW, I'll likely be off for two weeks around or starting that date. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] tunnel: Fix the bug in calculating the pop header length.

2024-08-06 Thread Ilya Maximets
icitly instead. Best regards, Ilya Maximets. > Now, hlen is uniformly > modified to packet->l4_ofs, which includes the total length of both > Layer 2 and Layer 3 headers, thereby correctly removing the tunnel > header. > > Signed-off-by: Sunyang Wu > --- > lib/n

Re: [ovs-dev] [PATCH v2] netdev-dpdk: Fix race condition in mempool information dump.

2024-08-06 Thread Ilya Maximets
On 8/6/24 18:55, Mike Pattrick wrote: > On Tue, Aug 6, 2024 at 9:29 AM Ilya Maximets wrote: >> >> On 7/24/24 20:07, Mike Pattrick wrote: >>> Currently it is possible to call netdev-dpdk/get-mempool-info before a >>> mempool as been created. This can happen bec

Re: [ovs-dev] [PATCH v2] netdev-dpdk: Fix race condition in mempool information dump.

2024-08-06 Thread Ilya Maximets
On 7/24/24 20:07, Mike Pattrick wrote: > Currently it is possible to call netdev-dpdk/get-mempool-info before a > mempool as been created. This can happen because a device is added to > the netdev_shash before a mempool is allocated for it, which results in > a segmentation fault. > > Now we check

Re: [ovs-dev] [PATCH v2] tunnel, tests: Add test for mirroring over tunnels.

2024-08-06 Thread Ilya Maximets
On 7/19/24 20:31, Mike Pattrick wrote: > Add a new test for mirroring packets over a tunnel, which isn't covered > by other existing tests. Thanks, Mike. I think it's a good to have a test covering this functionality. See some comments below. Best regards, Ilya Maximets. &g

Re: [ovs-dev] [PATCH ovn v6 5/9] northd: Add ACL Sampling.

2024-08-06 Thread Ilya Maximets
izing this! I'll revert back to 8 bits (255 > values) for the Sample_Collector.ID in v7. I'll post a new version > later today. The math here makes me think that something is terribly wrong with the design of this feature. Can't put a finger on what it is though yet. B

Re: [ovs-dev] [PATCH v1] netdev-native-tnl: Fix inner L2 pad loss causing checksum errors.

2024-08-06 Thread Ilya Maximets
ndeed is not zero. Though it is concerning that we're receiving more reports about hardware switches adding non-zero padding to packets. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v1 1/1] datapath-windows: Merge split dis-continuous net-buf.

2024-08-05 Thread Ilya Maximets
f not, I can consider applying these patches myself, but I'll be fully relying on your testing, which may be OK, since you're the main and possibly the only users of the Windows datapath. But it's still not the best option since we don't have any kind of CI, except for chec

Re: [ovs-dev] [PATCH v1] netdev-native-tnl: Fix inner L2 pad loss causing checksum errors.

2024-08-02 Thread Ilya Maximets
_CHECK([ovs-vsctl set Interface int-br options:ol_tcp_csum=true]) + +dnl Break the IP checksum with --bad-csum and replace the correct TCP +dnl checksum '0xb106' with incorrect '0xabcd'. +bad_packet=$(ovs-ofctl compose-packet --bare --bad-csum 'TCP_PKT' '' \ +| sed 's/b106/abcd/' ) +echo bad_packet: ${bad_packet} +AT_CHECK([ovs-appctl netdev-dummy/receive int-br "${bad_packet}${padding}"]) +OVS_WAIT_UNTIL([test $(ovs-pcap p0.pcap | grep -c "${encap}${packet}$") -eq 3]) + +OVS_VSWITCHD_STOP +AT_CLEANUP --- Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] bond: Fix inaccurate log info in bond_shift_load.

2024-08-02 Thread Ilya Maximets
; > +"from %s to %s (now carrying %"PRIu64"kB and " > +"%"PRIu64"kB load, respectively)", > + bond->name, delta, hash - bond->hash, > +from->name, to->name, > +

Re: [ovs-dev] [PATCH] socket: Increase listen backlog to 128 everywhere.

2024-08-02 Thread Ilya Maximets
On 6/6/24 18:02, Ihar Hrachyshka wrote: > On Thu, Jun 6, 2024 at 11:12 AM Ihar Hrachyshka <mailto:ihrac...@redhat.com>> wrote: > > On Wed, Jun 5, 2024 at 11:17 AM Brian Haley <mailto:haleyb@gmail.com>> wrote: > > Hi Ilya, > >

Re: [ovs-dev] [PATCH ovn v4 5/9] northd: Add ACL Sampling.

2024-08-01 Thread Ilya Maximets
On 8/1/24 15:09, Ilya Maximets wrote: > On 8/1/24 14:26, Dumitru Ceara wrote: >> On 8/1/24 13:58, Ilya Maximets wrote: >>> On 7/31/24 19:38, Dumitru Ceara wrote: >>>> On 7/31/24 18:39, Ilya Maximets wrote: >>>>> On 7/31/24 18:17, Ilya Maximets wrote:

Re: [ovs-dev] [PATCH ovn v4 5/9] northd: Add ACL Sampling.

2024-08-01 Thread Ilya Maximets
On 8/1/24 14:26, Dumitru Ceara wrote: > On 8/1/24 13:58, Ilya Maximets wrote: >> On 7/31/24 19:38, Dumitru Ceara wrote: >>> On 7/31/24 18:39, Ilya Maximets wrote: >>>> On 7/31/24 18:17, Ilya Maximets wrote: >>>>> On 7/31/24 11:05, Du

Re: [ovs-dev] [PATCH ovn v4 5/9] northd: Add ACL Sampling.

2024-08-01 Thread Ilya Maximets
On 8/1/24 13:58, Ilya Maximets wrote: > On 7/31/24 19:38, Dumitru Ceara wrote: >> On 7/31/24 18:39, Ilya Maximets wrote: >>> On 7/31/24 18:17, Ilya Maximets wrote: >>>> On 7/31/24 11:05, Dumitru Ceara wrote: >>>>> From: Adrian Moreno >>>>&

Re: [ovs-dev] [PATCH ovn v4 5/9] northd: Add ACL Sampling.

2024-08-01 Thread Ilya Maximets
On 7/31/24 19:38, Dumitru Ceara wrote: > On 7/31/24 18:39, Ilya Maximets wrote: >> On 7/31/24 18:17, Ilya Maximets wrote: >>> On 7/31/24 11:05, Dumitru Ceara wrote: >>>> From: Adrian Moreno >>>> >>>> Introduce a new table called Sample wh

Re: [ovs-dev] [PATCH ovn v4 5/9] northd: Add ACL Sampling.

2024-07-31 Thread Ilya Maximets
On 7/31/24 18:17, Ilya Maximets wrote: > On 7/31/24 11:05, Dumitru Ceara wrote: >> From: Adrian Moreno >> >> Introduce a new table called Sample where per-flow IPFIX configuration >> can be specified. >> Also, reference rows from such table from the ACL table to e

Re: [ovs-dev] [PATCH ovn v4 5/9] northd: Add ACL Sampling.

2024-07-31 Thread Ilya Maximets
reno > Co-authored-by: Ales Musil > Signed-off-by: Ales Musil > Co-authored-by: Dumitru Ceara > Signed-off-by: Dumitru Ceara > --- > V4: > - added explicit sampling stages > - reduced set_id max supported value I don't get that. Does it end up in the observation domain/point somehow? Or in conntrack mark/label? Sounds strange. If it's only in logical flow and OpenFlow actions, then it shouldn't matter what the ID is. Or am I missing something? Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH ovn v4 3/9] northd: Add Sampling_App table.

2024-07-31 Thread Ilya Maximets
On 7/31/24 17:05, Dumitru Ceara wrote: > On 7/31/24 16:40, Ilya Maximets wrote: >> On 7/31/24 16:17, Dumitru Ceara wrote: >>> On 7/31/24 16:07, Ilya Maximets wrote: >>>> On 7/31/24 16:04, Ilya Maximets wrote: >>>>> On 7/31/24 11:05, Dumitru Ceara wrot

Re: [ovs-dev] [PATCH ovn v4 3/9] northd: Add Sampling_App table.

2024-07-31 Thread Ilya Maximets
On 7/31/24 16:17, Dumitru Ceara wrote: > On 7/31/24 16:07, Ilya Maximets wrote: >> On 7/31/24 16:04, Ilya Maximets wrote: >>> On 7/31/24 11:05, Dumitru Ceara wrote: >>>> This will represent a unified place to store IPFIX observation domain ID >>>>

Re: [ovs-dev] [PATCH ovn v4 3/9] northd: Add Sampling_App table.

2024-07-31 Thread Ilya Maximets
On 7/31/24 16:04, Ilya Maximets wrote: > On 7/31/24 11:05, Dumitru Ceara wrote: >> This will represent a unified place to store IPFIX observation domain ID >> configurations for sampling applications (currently only drop sampling >> is supported as application but following

Re: [ovs-dev] [PATCH ovn v4 3/9] northd: Add Sampling_App table.

2024-07-31 Thread Ilya Maximets
On 7/31/24 11:05, Dumitru Ceara wrote: > This will represent a unified place to store IPFIX observation domain ID > configurations for sampling applications (currently only drop sampling > is supported as application but following commits will add more). > > Acked-by: Mark Michelson > Signed-off-

Re: [ovs-dev] [PATCH ovn v4 9/9] northd: Allow flow simplification for ACL sampling.

2024-07-31 Thread Ilya Maximets
On 7/31/24 15:25, Ales Musil wrote: > > > On Wed, Jul 31, 2024 at 3:03 PM Ilya Maximets <mailto:i.maxim...@ovn.org>> wrote: > > On 7/31/24 11:05, Dumitru Ceara wrote: > > From: Ales Musil mailto:amu...@redhat.com>> > > > > Curren

Re: [ovs-dev] [PATCH ovn v4 9/9] northd: Allow flow simplification for ACL sampling.

2024-07-31 Thread Ilya Maximets
at b/tests/system-ovn.at > index 52b2b84d7b..a9cb54b452 100644 > --- a/tests/system-ovn.at > +++ b/tests/system-ovn.at > @@ -7724,7 +7724,7 @@ NS_CHECK_EXEC([sw0-p3], [ping -q -c 10 -i 0.3 -w 15 > 10.0.0.2 | FORMAT_PING], \ > AT_CHECK([ovs-appctl dpc

Re: [ovs-dev] [PATCH ovn v4 5/9] northd: Add ACL Sampling.

2024-07-31 Thread Ilya Maximets
On 7/31/24 14:40, Dumitru Ceara wrote: > On 7/31/24 14:31, Ilya Maximets wrote: >> On 7/31/24 11:05, Dumitru Ceara wrote: >>> From: Adrian Moreno >>> >>> Introduce a new table called Sample where per-flow IPFIX configuration >>> can be specified. >

Re: [ovs-dev] [PATCH ovn v4 5/9] northd: Add ACL Sampling.

2024-07-31 Thread Ilya Maximets
ected that they're both enabled together. Not a full review, but this is a user-visible behavior, so it should be documented. In the description of both features. Note in a commit message is not enough. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH ovn v4 7/9] features: Add detection for sample with registers.

2024-07-31 Thread Ilya Maximets
On 7/31/24 14:14, Dumitru Ceara wrote: > On 7/31/24 12:45, Ilya Maximets wrote: >> On 7/31/24 12:38, Ilya Maximets wrote: >>> On 7/31/24 11:05, Dumitru Ceara wrote: >>>> From: Ales Musil >>>> >>>> Add detection for sample action that allow

Re: [ovs-dev] [PATCH ovn v4 7/9] features: Add detection for sample with registers.

2024-07-31 Thread Ilya Maximets
On 7/31/24 12:38, Ilya Maximets wrote: > On 7/31/24 11:05, Dumitru Ceara wrote: >> From: Ales Musil >> >> Add detection for sample action that allows to configure >> obs_domain_id and obs_point_id via registers. This feature >> is available only from OvS versi

Re: [ovs-dev] [PATCH ovn v4 7/9] features: Add detection for sample with registers.

2024-07-31 Thread Ilya Maximets
OVS_CT_TUPLE_FLUSH_SUPPORT = (1 << OVS_CT_TUPLE_FLUSH_BIT), > OVS_DP_HASH_L4_SYM_SUPPORT = (1 << OVS_DP_HASH_L4_SYM_BIT), > OVS_DP_GROUP_SUPPORT = (1 << OVS_DP_GROUP_SUPPORT_BIT), > +OVS_DP_SAMPLE_REG_SUPPORT = (1 << OVS_DP_SAMPLE_REG_SUPPORT_BIT), Same here. The 'DP' part makes no sense as this is feature has nothing to do with the datapath implementation. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH ovn v4 6/9] features: Make querying of OpenFlow features more versatile.

2024-07-31 Thread Ilya Maximets
t; +OVS_DP_GROUP_SUPPORT_BIT, Not a full review, but this is not a good name for a feature bit. Unlike meters, support for OF groups has nothing to do with the datapath implementation. DP_GROUP is also confusing as this name overlaps with datapath groups in Sb DB. &#x

Re: [ovs-dev] [PATCH ovn] controller, controller-vtep: Add --unixctl option.

2024-07-30 Thread Ilya Maximets
t;/> >> >> +Other Options >> +> xmlns:xi="http://www.w3.org/2003/XInclude"/> >> + > > This seems weird.. should it actually be part of common.xml? It's a separator between sections, so it shouldn't be part of the section. Our x

Re: [ovs-dev] [PATCH ovn] containers: Cap sphinx at 7 to unblock CI.

2024-07-30 Thread Ilya Maximets
On 7/30/24 02:42, Numan Siddique wrote: > On Mon, Jul 29, 2024 at 6:44 PM Ilya Maximets wrote: >> >> Just released sphinx 8.0 requires Pygments >= 2.17, but it fails to >> build with it in practice. This breaks our CI completely: >> >> Traceback (most recent

[ovs-dev] [PATCH ovn] containers: Cap sphinx at 7 to unblock CI.

2024-07-29 Thread Ilya Maximets
rsion for now to unblock CI. Can be reverted once https://github.com/sphinx-doc/sphinx/issues/12711 is fixed. Signed-off-by: Ilya Maximets --- utilities/containers/py-requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/containers/py-requirements.txt

Re: [ovs-dev] [PATCH ovn 1/2] github: Don't run scheduled workflows on forks.

2024-07-29 Thread Ilya Maximets
On 7/29/24 14:39, Ilya Maximets wrote: > It is annoying to have scheduled workflows running on your own fork, > especially if there are flaky tests or the workflow is broken and > permanently failing for an extended period of time generating an email > for every failure every week.

[ovs-dev] [PATCH ovn 1/2] github: Don't run scheduled workflows on forks.

2024-07-29 Thread Ilya Maximets
r the purpose of testing code before sending patches upstream. Real forks have code changes already, and they are free to modify the workflows if they want the scheduled ones. Signed-off-by: Ilya Maximets --- .github/workflows/containers.yml | 1 + .github/workflows/ovn-fake-mult

[ovs-dev] [PATCH ovn 0/2] github: Fixes for workflows on forks.

2024-07-29 Thread Ilya Maximets
Ilya Maximets (2): github: Don't run scheduled workflows on forks. github: Fix running multi-node tests on forks. .github/workflows/containers.yml | 1 + .github/workflows/ovn-fake-multinode-tests.yml | 8 +--- .github/workflows/ovn-kubernetes.yml | 1 + .g

[ovs-dev] [PATCH ovn 2/2] github: Fix running multi-node tests on forks.

2024-07-29 Thread Ilya Maximets
Forks may not have branch-22.03 in them. Even if they do, the branch may not be up to date. Use the upstream one instead. Signed-off-by: Ilya Maximets --- .github/workflows/ovn-fake-multinode-tests.yml | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github

Re: [ovs-dev] [PATCH] dp-packet: Correct IPv4 checksum calculation.

2024-07-26 Thread Ilya Maximets
alformed header. We may still calculate a wrong checksum if the header is wrong, but within the range, but we can't really do anything about that. Another test for a short packet would be also good to have. > } > > /* Returns 'true' if the packet 'p&#

Re: [ovs-dev] [PATCH ovn] tests: Fix wrong IPv6 notation.

2024-07-25 Thread Ilya Maximets
On 7/25/24 07:28, Ales Musil wrote: > > > On Wed, Jul 24, 2024 at 10:44 PM Ilya Maximets <mailto:i.maxim...@ovn.org>> wrote: > > On 7/24/24 08:23, Ales Musil wrote: > > Fix wrong IPv6 notation which could result in test failures when > > the DNS

Re: [ovs-dev] [PATCH v5 1/3] userspace: Adjust segment size on encapsulation.

2024-07-25 Thread Ilya Maximets
On 7/25/24 00:45, Mike Pattrick wrote: > On Wed, Jul 24, 2024 at 3:56 PM Ilya Maximets wrote: >> >> On 7/12/24 23:30, Mike Pattrick wrote: >>> When prepending a tunnel header to a packet marked for segmentation, we >>> need to adjust the segment size. Failu

Re: [ovs-dev] [PATCH ovn] tests: Fix wrong IPv6 notation.

2024-07-24 Thread Ilya Maximets
sip=ae80::ea2aeafffe2800aa > +sip=ae80::ea2a:eaff:fe28:00aa > test_ipv6 ${i}3 f0:00:00:00:0${i}:${i}3 f0:00:00:00:00:21 $sip $tip > done > Hmm. Does it return the IP address after DNS lookup fails? If not, why the test doesn't fail in this case? Bets regard

Re: [ovs-dev] [PATCH ovn] northd: Update virtual port when updating parent ports.

2024-07-24 Thread Ilya Maximets
uot;), new_nbsp->name)) { > +add_op_to_northd_tracked_ports(&trk_lsps->updated, > + op_v); Is there a chance that these ports end up in both updated and created? Can this cause issues later? Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v5 1/3] userspace: Adjust segment size on encapsulation.

2024-07-24 Thread Ilya Maximets
e already small enough. Or am I missing something? Best regards, Ilya Maximets. > > Fixes: 084c8087292c ("userspace: Support VXLAN and GENEVE TSO.") > Signed-off-by: Mike Pattrick > --- > lib/netdev-native-tnl.c | 11 +++ > 1 file changed, 11 insertions(+

Re: [ovs-dev] [ovs-build] |fail| pw1960612 [ovs-dev, 2/2] Prepare for post-3.4.0 (3.4.90).

2024-07-22 Thread Ilya Maximets
On 7/19/24 14:35, Phelan, Michael wrote: > >> -Original Message- >> From: Ilya Maximets >> Sent: Thursday, July 18, 2024 9:09 PM >> To: Phelan, Michael >> Cc: i.maxim...@ovn.org; ovs-dev >> Subject: Re: [ovs-build] |fail| pw1960612 [ovs-dev,

[ovs-dev] [PATCH] ovsdb: transaction: Remove incorrect transaction abort in pre-commit.

2024-07-22 Thread Ilya Maximets
wever, the code is still wrong and a bit misleading, so should be fixed. Fixes: 53178986d7fc ("ovsdb: Add support for online schema conversion.") Signed-off-by: Ilya Maximets --- ovsdb/transaction.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ovsdb/transaction.c b/ovsdb/transacti

Re: [ovs-dev] [PATCH] netlink-notifier: Silence the UBsan's function pointer mismatch error.

2024-07-19 Thread Ilya Maximets
On 7/18/24 22:45, Mike Pattrick wrote: > On Thu, Jul 18, 2024 at 3:12 PM Ilya Maximets wrote: >> >> There are two types of netlink notifier callbacks: nln_notify_func and >> rtnetlink_notify_func. The rtnetlink_notify_func is only registered >> via rtnetlink_notifi

Re: [ovs-dev] [PATCH ovn] ovn-northd.at: Fix flaky VXLAN mode disabling test.

2024-07-19 Thread Ilya Maximets
On 7/19/24 07:04, Ales Musil wrote: > > > On Thu, Jul 18, 2024 at 9:40 PM Ilya Maximets <mailto:i.maxim...@ovn.org>> wrote: > > This tests constructs a very large operation that frequently takes more > than a second on busy CI systems.  As a result ovn-nbctl

Re: [ovs-dev] [ovs-build] |fail| pw1960612 [ovs-dev, 2/2] Prepare for post-3.4.0 (3.4.90).

2024-07-18 Thread Ilya Maximets
On 7/17/24 17:31, Phelan, Michael wrote: > >> -Original Message- >> From: Ilya Maximets >> Sent: Wednesday, July 17, 2024 10:43 AM >> To: Phelan, Michael >> Cc: i.maxim...@ovn.org; ovs-dev >> Subject: Re: [ovs-build] |fail| pw1960612 [ovs-dev,

[ovs-dev] [PATCH ovn] ovn-northd.at: Fix flaky VXLAN mode disabling test.

2024-07-18 Thread Ilya Maximets
makes the test a bit slower, but much more reliable. Fixes: 7e99500e60bf ("northd: Add support for disabling vxlan mode.") Signed-off-by: Ilya Maximets --- tests/ovn-northd.at | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tests/ovn-northd.at b/tests/ovn

[ovs-dev] [PATCH] netlink-notifier: Silence the UBsan's function pointer mismatch error.

2024-07-18 Thread Ilya Maximets
in _start (vswitchd/ovs-vswitchd+0x42dfd4) Turn off function sanitizing for nln_report() the same as we do for RCU callbacks to avoid runtime errors with UBsan enabled. Reproduced with OVN test suite running multiple tests in parallel. Signed-off-by: Ilya Maximets --- lib/netlink-notifier.c | 2

Re: [ovs-dev] [PATCH v2] Documentation: Update QEMU documentation URLs.

2024-07-18 Thread Ilya Maximets
On 7/18/24 17:27, Ilya Maximets wrote: > On 7/18/24 15:48, Simon Horman wrote: >> The current QEMU documentation URLs, which point to a presumably >> old Git repository, appear to time out. >> Update it with a new links under https://www.qemu.org/docs >> >

Re: [ovs-dev] [PATCH v2] Documentation: Update QEMU documentation URLs.

2024-07-18 Thread Ilya Maximets
> > > -.. _QEMU documentation: > http://git.qemu-project.org/?p=qemu.git;a=blob;f=docs/specs/vhost-user.txt;h=7890d7169;hb=HEAD > +.. _QEMU documentation: > https://www.qemu.org/docs/master/interop/vhost-user.html > > Jumbo Frames > &g

Re: [ovs-dev] [PATCH] AUTHORS: Add Vipul Ashri.

2024-07-17 Thread Ilya Maximets
hri vipul.as...@ericsson.com > Vishal Swarankarvishal.swarn...@gmail.com > Vjekoslav Brajkovic bal...@cs.washington.edu > Voravit T. vora...@kth.se Thanks, Simon! I was applying some other patches and picked th

Re: [ovs-dev] [PATCH 3/3] match: Fix false-positive snprintf size warning.

2024-07-17 Thread Ilya Maximets
On 7/17/24 16:18, Mike Pattrick wrote: > On Wed, Jul 17, 2024 at 8:01 AM Ilya Maximets wrote: >> >> GCC 14.1.1 of Fedora 41 thinks that 'i' can be in a full range and >> so 8 bytes is not enough to print it. >> >> lib/match.c: In funct

Re: [ovs-dev] [PATCH 2/3] util: Add non-NULL format assertion to xvasprintf.

2024-07-17 Thread Ilya Maximets
On 7/17/24 15:40, Mike Pattrick wrote: > On Wed, Jul 17, 2024 at 8:01 AM Ilya Maximets wrote: >> >> For some reason GCC 14.1.1 on Fedora 41 assumes that format can >> be NULL and emits a warning: >> >> lib/util.c: In function 'xvasprintf': >&

Re: [ovs-dev] [PATCH 1/3] ofproto-dpif-xlate: Initialize observe_offset for sample actions.

2024-07-17 Thread Ilya Maximets
On 7/17/24 15:38, Mike Pattrick wrote: > On Wed, Jul 17, 2024 at 8:01 AM Ilya Maximets wrote: >> >> For some reason gcc 14.1.1 from Fedora 41 thinks that the variable >> may end up not initialized: >> >> ofproto/ofproto-dpif-xlate.c: In function 'compose_sa

Re: [ovs-dev] [PATCH] docs: Define Read the Docs configuration for Sphinx HTML parameters.

2024-07-17 Thread Ilya Maximets
On 7/17/24 13:55, Simon Horman wrote: > On Wed, Jul 17, 2024 at 12:55:02PM +0200, Ilya Maximets wrote: >> Read the Docs was always mangling the conf.py during the build to >> inject custom domains configured in the project settings and some >> other stuff. But they will st

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Remove misleading wc NULL check in packet mirror.

2024-07-17 Thread Ilya Maximets
On 7/16/24 15:12, Mike Pattrick wrote: > On Tue, Jul 16, 2024 at 8:47 AM Ilya Maximets wrote: >> >> 'wc' can't be NULL there and if it can we'd already crash a few lines >> before setting up vlan flags. >> >> The check is misleading as it m

Re: [ovs-dev] [PATCH] flow: Fix unaligned access to the ND target in miniflow_extract.

2024-07-17 Thread Ilya Maximets
346:5 >> 17 0x53eed7 in main /workspace/ovn/ovs/vswitchd/ovs-vswitchd.c:130:9 >> >> Signed-off-by: Ales Musil > > Acked-by: Simon Horman > Thanks, Ales and Simon! Applied and backported down to 2.17. It is a legit issue, but for some reason I was not able to reproduc

Re: [ovs-dev] [PATCH] ofp-actions: Fix reporting observation point bits instead of domain.

2024-07-17 Thread Ilya Maximets
On 7/16/24 15:40, Simon Horman wrote: > On Tue, Jul 16, 2024 at 12:48:06PM +0200, Ilya Maximets wrote: >> Found by Coverity: >> >> CID 397544: Incorrect expression (COPY_PASTE_ERROR) >> "obs_point_src" in "(*os).obs_point_src.n_bits" looks &g

Re: [ovs-dev] [PATCH ovn v1] northd: Add ECMP symmetric replies for egress.

2024-07-17 Thread Ilya Maximets
ogical router. Hi, Numan. Thanks for the change! It seems like you missed the update for system tests. A few ECMP system tests are failing in CI. Also, not sure how big of a problem that is, but we may still spray out uni-directional traffic. For example,

Re: [ovs-dev] [PATCH] Documentation: Update QEMU Git URLs.

2024-07-17 Thread Ilya Maximets
https://www.qemu.org/docs/master/interop/vhost-user.html In the source tree it is in docs/interop/vhost-user.rst. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] dpif-netlink-rtnl: Fix netdev leak in out-of-tree tunnels probe.

2024-07-17 Thread Ilya Maximets
on removing the check entirely. I think, we should keep the code as long as there is still one supported version (2.17) that technically ships the modules. We'll need to do a larger cleanup after 3.5 release when 2.17 will go EoL. Also, I wonder which interface windows tunnels are using... B

[ovs-dev] [PATCH ovn] ovs: Bump submodule to branch-3.4.

2024-07-17 Thread Ilya Maximets
. We could define a common reply_to_string() function for both dbctl and appctl, but these programs beahve differently in regerads to exit codes and we'll need to do more refactoring to handle the difference. Will move to v3.4.0 once it is available. Signed-off-by: Ilya Maximets --- contr

Re: [ovs-dev] [PATCH v1 1/1] datapath-windows: Merge split dis-continuous net-buf.

2024-07-17 Thread Ilya Maximets
xim...@ovn.org/ Though I definitely missed a few places and so the patch doesn't work in its current form. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

[ovs-dev] [PATCH 3/3] match: Fix false-positive snprintf size warning.

2024-07-17 Thread Ilya Maximets
^~~ In practice that value can't be larger than 2, but it's not a performance critical code, so let's just increase the size to a maximum 12. Signed-off-by: Ilya Maximets --- lib/match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[ovs-dev] [PATCH 2/3] util: Add non-NULL format assertion to xvasprintf.

2024-07-17 Thread Ilya Maximets
~~~ I didn't find any users where this can be true. Adding an assertion to silence the warning. In the worst case we'll find out where it is being called incorrectly. Signed-off-by: Ilya Maximets --- lib/util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/util.c b/lib/ut

[ovs-dev] [PATCH 1/3] ofproto-dpif-xlate: Initialize observe_offset for sample actions.

2024-07-17 Thread Ilya Maximets
e an assertion in the code to ensure that at least one of the actions is present (userspace or psample), so the variable should actually be always initialized. Initialize explicitly just to silence the warning. Fixes: 516569d31fbf ("ofproto: xlate: Make sampled drops explicit.") Sign

[ovs-dev] [PATCH 0/3] Fix some GCC 14 false-positive build warnings.

2024-07-17 Thread Ilya Maximets
GCC 14.1.1 on Fedora 41 fails to build reporting some warnings when building with '-fsanitize=address,undefined'. Ilya Maximets (3): ofproto-dpif-xlate: Initialize observe_offset for sample actions. util: Add non-NULL format assertion to xvasprintf. match: Fix false-positive snp

[ovs-dev] [PATCH] docs: Define Read the Docs configuration for Sphinx HTML parameters.

2024-07-17 Thread Ilya Maximets
://about.readthedocs.com/blog/2024/07/addons-by-default/ Signed-off-by: Ilya Maximets --- Documentation/conf.py | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/conf.py b/Documentation/conf.py index 15785605a..2364405ad 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -12,6

Re: [ovs-dev] [ovs-build] |fail| pw1960612 [ovs-dev, 2/2] Prepare for post-3.4.0 (3.4.90).

2024-07-17 Thread Ilya Maximets
On 7/17/24 10:36, Phelan, Michael wrote: > >> -Original Message- >> From: Ilya Maximets >> Sent: Tuesday, July 16, 2024 12:25 PM >> To: Phelan, Michael >> Cc: i.maxim...@ovn.org; ovs-dev >> Subject: Re: [ovs-build] |fail| pw1960612 [ovs-dev,

[ovs-dev] [PATCH] ofproto-dpif-xlate: Remove misleading wc NULL check in packet mirror.

2024-07-16 Thread Ilya Maximets
(FORWARD_NULL) 25. var_deref_op: Dereferencing null pointer ctx->wc. 14. var_compare_op: Comparing ctx->wc to null implies that ctx->wc might be null Remove the check. Fixes: 3b1882261c8b ("ofproto-dpif-mirror: Add support for pre-selection filter.") Signed-off-by: Ilya Maxi

Re: [ovs-dev] [ovs-build] |fail| pw1960612 [ovs-dev, 2/2] Prepare for post-3.4.0 (3.4.90).

2024-07-16 Thread Ilya Maximets
pool ok Hi, Michael. Could you, please, check the reason why these tests are failing? The logs are truncated a little too much, so it's hard to tell what went wrong. > 2024-07-15T19:14:11Z|7|dpdk|INFO|Using DPDK 23.11.0 I remember that there were some vhost issues in

[ovs-dev] [PATCH] ofp-actions: Fix reporting observation point bits instead of domain.

2024-07-16 Thread Ilya Maximets
mple action.") Signed-off-by: Ilya Maximets --- lib/ofp-actions.c| 2 +- tests/ofp-actions.at | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c index 2a1f5c3c4..fe6a17b6d 100644 --- a/lib/ofp-actions.c +++ b/lib/ofp-actions.c @@ -

Re: [ovs-dev] [PATCH 0/2] Patches to branch for 3.4.

2024-07-15 Thread Ilya Maximets
On 7/15/24 13:23, Ilya Maximets wrote: > The plan is to branch by the end of today. There is still a couple of > patch sets on the list that can / will be applied before that. > > Ilya Maximets (2): > Prepare for 3.4.0. > Prepare for post-3.4.0 (3.4.90). > > Docume

[ovs-dev] OVS has now branched for the 3.4 release.

2024-07-15 Thread Ilya Maximets
Hi, everyone. branch-3.4 was just created. Please, test it and report issues! Official release date, according to our release process, should be on Thursday, August 15th (1 month from now). Best regards, Ilya Maximets. ___ dev mailing list d

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

2024-07-15 Thread Ilya Maximets
_vlans) > && mirror->out == out > && mirror->out_vlan == out_vlan > -&& mirror->snaplen == ms->snaplen) > +&& mirror->snaplen == ms->snaplen > +&& nullable_string_is_

Re: [ovs-dev] [PATCH v6] ofproto: Add ofproto/detrace command to map UFIDs to OpenFlow.

2024-07-15 Thread Ilya Maximets
o/ofproto-dpif-xlate-cache.c | 34 > ofproto/ofproto-dpif-xlate-cache.h | 2 + > ofproto/ofproto-provider.h | 2 + > ofproto/ofproto.c | 11 +-- > tests/ofproto-dpif.at | 56 > tests/ofproto-macros.at|

Re: [ovs-dev] [PATCH v9] rhel: Make the version, displayed to the user, customizable.

2024-07-15 Thread Ilya Maximets
On 7/15/24 10:48, Timothy Redaelli wrote: > On Fri, 12 Jul 2024 18:14:28 +0200 > Ilya Maximets wrote: > >> On 7/10/24 13:06, Timothy Redaelli wrote: >>> Since on CentOS/RHEL the builds are based on stable branches and not on >>> tags for debugging purpose i

[ovs-dev] [PATCH 2/2] Prepare for post-3.4.0 (3.4.90).

2024-07-15 Thread Ilya Maximets
Signed-off-by: Ilya Maximets --- NEWS | 4 configure.ac | 2 +- debian/changelog | 6 ++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 507d91721..4ca9ae692 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +Post-v3.4.0

[ovs-dev] [PATCH 0/2] Patches to branch for 3.4.

2024-07-15 Thread Ilya Maximets
The plan is to branch by the end of today. There is still a couple of patch sets on the list that can / will be applied before that. Ilya Maximets (2): Prepare for 3.4.0. Prepare for post-3.4.0 (3.4.90). Documentation/faq/releases.rst | 1 + NEWS | 6

[ovs-dev] [PATCH 1/2] Prepare for 3.4.0.

2024-07-15 Thread Ilya Maximets
Signed-off-by: Ilya Maximets --- Documentation/faq/releases.rst | 1 + NEWS | 2 +- configure.ac | 2 +- debian/changelog | 4 ++-- debian/rules | 4 ++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a

Re: [ovs-dev] [PATCH v4 00/11] Introduce local sampling with NXAST_SAMPLE action.

2024-07-15 Thread Ilya Maximets
tem-traffic.at | 385 > tests/test-psample.c| 288 + > vswitchd/bridge.c | 82 +- > vswitchd/vswitch.ovsschema | 9 +- > vswitchd/vswitch.xml| 70 - > 42 files changed, 2462 insertions(+), 166 deletions(-) > create mode 100644 include/linux/psample.h > create mode 100644 ofproto/ofproto-dpif-lsample.c > create mode 100644 ofproto/ofproto-dpif-lsample.h > create mode 100644 tests/test-psample.c > Thanks, Adrian! I fixed a few small style issues and applied the set. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] learn: Support learn output with OFPP_TABLE port.

2024-07-15 Thread Ilya Maximets
in table L loaded into it. ''' So, you learn your rules into the table L setting some register, then in table B + 1 you match on that register and perform any complex actions you like: table A: actions=learn(load:XXX->reg1) table L: actions=load:XXX->reg1 table B: actions

Re: [ovs-dev] [PATCH v3 00/13] Introduce local sampling with NXAST_SAMPLE action.

2024-07-12 Thread Ilya Maximets
v2 -> v3 > - Added a knob to configure explicit sampled drops. > - Addressed Eelco comments. > - Rebased. I went thought the set. Most of the comments are simple nits that I could even fix myself on commit, but I'm not sure what to do with patches 7 and 8 as I don't think we need to report incorrect stats and there seem to be no real way to get correct ones. Let me know what do you think. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v3 13/13] ofp-actions: Load data from fields in sample action.

2024-07-12 Thread Ilya Maximets
On 7/12/24 19:06, Adrian Moreno wrote: > When sample action gets used as a way of sampling traffic with > controller-generated metadata (i.e: obs_domain_id and obs_point_id), > the controller will have to increase the number of flows to ensure each > part of the pipeline contains the right metadata

Re: [ovs-dev] [PATCH v3 11/13] ofproto: xlate: Make sampled drops explicit.

2024-07-12 Thread Ilya Maximets
On 7/12/24 19:06, Adrian Moreno wrote: > When the flow translation results in a datapath action list whose last > action is an "observational" action, i.e: one generated for IPFIX, > sFlow or local sampling applications, the packet is actually going to be > dropped (and observed). > > In that case

Re: [ovs-dev] [PATCH v3 10/13] tests: Test local sampling.

2024-07-12 Thread Ilya Maximets
On 7/12/24 19:06, Adrian Moreno wrote: > Test simultaneous IPFIX and local sampling including slow-path. > > Signed-off-by: Adrian Moreno > --- > tests/system-common-macros.at | 4 + > tests/system-traffic.at | 358 ++ > 2 files changed, 362 insertions(+)

Re: [ovs-dev] [PATCH v3 07/13] ofproto-dpif-xlate-cache: Add lsample to xcache.

2024-07-12 Thread Ilya Maximets
get the actual number of sampled packets and bytes. Should we just drop patches 7 and 8 and remove the lsample/show calls from the tests? Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v3 06/13] ofproto-dpif-xlate: Use psample for local sample.

2024-07-12 Thread Ilya Maximets
On 7/12/24 19:06, Adrian Moreno wrote: > Use the newly added psample action to implement OpenFlow sample() actions > with local sampling configuration if possible. > > A bit of refactoring in compose_sample_actions arguments helps make it a > bit more readable. > > Acked-by: Eelco Chaudron > Sig

Re: [ovs-dev] [PATCH v3 05/13] vswitchd: Add local sampling to vswitchd schema.

2024-07-12 Thread Ilya Maximets
Nit: I'd add something like: See 'local-group-id' column in Flow_Sample_Collector_Set table. Best regards, Ilya Maximets. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH v3 04/13] ofproto: Add ofproto-dpif-lsample.

2024-07-12 Thread Ilya Maximets
On 7/12/24 19:06, Adrian Moreno wrote: > Add a new resource in ofproto-dpif and the corresponding API in > ofproto_provider.h to represent and local sampling configuration. > > Acked-by: Eelco Chaudron > Signed-off-by: Adrian Moreno > --- > ofproto/automake.mk| 2 + > ofproto/ofpr

<    1   2   3   4   5   6   7   8   9   10   >