[ovs-dev] [PATCH ovn] Fix conntrack entry leaks because of TCP RST packets not sent to conntrack.

2020-04-24 Thread numans
From: Numan Siddique The commit [1] - 28097d5adb95("Fix tcp_reset action handling") fixed an issue with tcp_reset OVN action. In order to fix that issue, this commit added logical flows to skip all the TCP RST packets from conntrack. Ideally it should have skipped only the TCP RST packets generat

Re: [ovs-dev] [PATCH] Bareudp Tunnel Support

2020-04-24 Thread Pravin Shelar
On Sun, Apr 19, 2020 at 8:11 PM Martin Varghese wrote: > > From: Martin Varghese > > UDP tunnel encapsulation module for tunnelling different protocols like > MPLS, IP, NSH etc > > The Bareudp tunnel module provides a generic UDP L3 encapsulation > tunnelling module for tunnelling different proto

[ovs-dev] [RFC PATCH 3/4] dpif-netdev: Skip encap action during datapath execution

2020-04-24 Thread Sriharsha Basavapatna via dev
In this patch we check if action processing (apart from OUTPUT action), should be skipped for a given dp_netdev_flow. Specifically, we check if the action is TNL_PUSH and if it has been offloaded to HW, then we do not push the tunnel header in SW. The datapath only executes the OUTPUT action. The p

[ovs-dev] [RFC PATCH 0/4] RFC for Partial action offload

2020-04-24 Thread Sriharsha Basavapatna via dev
Hi, This RFC patchset extends the "Partial HW acceleration" mode to offload part of the action processing to HW, instead of offloading just lookup (MARK/RSS), for "vhost-user" ports. This is referred to as "Partial Action Offload". This mode does not require SRIOV/switchdev configuration. In this

[ovs-dev] [RFC PATCH 1/4] dpif-netdev: Refactor dp_netdev_flow_offload_put()

2020-04-24 Thread Sriharsha Basavapatna via dev
This patch refactors dp_netdev_flow_offload_put() to prepare for more changes to support partial action offload, in subsequent patches. - Add a wrapper function to allocate flow-mark. - Move netdev_ports_get() to before flow-mark allocation. Signed-off-by: Sriharsha Basavapatna --- lib/dpif-net

[ovs-dev] [RFC PATCH 2/4] dpif-netdev: Support partial-action-offload of VXLAN encap flow

2020-04-24 Thread Sriharsha Basavapatna via dev
In this patch, we support offloading of VXLAN_ENCAP action for a vhost-user port (aka "partial-action-offload"). At the time of offloading the flow, we determine if the flow can be offloaded to an egress device, if the input port is not offload capable such as a vhost-user port. We then offload the

[ovs-dev] [RFC PATCH 4/4] dpif-netdev: Support flow_get() with partial-action-offload

2020-04-24 Thread Sriharsha Basavapatna via dev
For flows that offload partial actions in egress direction, provide the right netdev to fetch statistics. Signed-off-by: Sriharsha Basavapatna --- lib/dpif-netdev.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 7fcc0b06

Re: [ovs-dev] [PATCH] Bareudp Tunnel Support

2020-04-24 Thread Martin Varghese
On Fri, Apr 24, 2020 at 01:06:21AM -0700, Pravin Shelar wrote: > On Sun, Apr 19, 2020 at 8:11 PM Martin Varghese > wrote: > > > > From: Martin Varghese > > > > UDP tunnel encapsulation module for tunnelling different protocols like > > MPLS, IP, NSH etc > > > > The Bareudp tunnel module provides

Re: [ovs-dev] 4K resubmit limit and stack size usage

2020-04-24 Thread Eelco Chaudron
On 23 Apr 2020, at 17:32, William Tu wrote: On Thu, Apr 23, 2020 at 6:29 AM Eelco Chaudron wrote: Hi Ben et al. We recently had an issue where OVS would crash as it was running out of stack space processing an OVN flow loop :) I was hoping it would jump out of the loop, but due to cha

[ovs-dev] [PATCH] net: openvswitch: use do_div() for 64-by-32 divisions:

2020-04-24 Thread Geert Uytterhoeven
On 32-bit architectures (e.g. m68k): ERROR: modpost: "__udivdi3" [net/openvswitch/openvswitch.ko] undefined! ERROR: modpost: "__divdi3" [net/openvswitch/openvswitch.ko] undefined! Fixes: e57358873bb5d6ca ("net: openvswitch: use u64 for meter bucket") Reported-by: nore...@ellerman.id.au Si

[ovs-dev] [PATCH ovn] Rely on unique name for ovn qos meters

2020-04-24 Thread Lorenzo Bianconi
ovn currently identifies qos meters according to the rate and burst values configured. Doing so 2 meters on the same hv assigned to 2 different logical switch ports and configured with the same values for rate and burst will be mapped to the same ovs kernel mater and will share the bandwidth. Fix t

Re: [ovs-dev] [PATCH] net: openvswitch: use do_div() for 64-by-32 divisions:

2020-04-24 Thread Eric Dumazet
On 4/24/20 5:10 AM, Geert Uytterhoeven wrote: > On 32-bit architectures (e.g. m68k): > > ERROR: modpost: "__udivdi3" [net/openvswitch/openvswitch.ko] undefined! > ERROR: modpost: "__divdi3" [net/openvswitch/openvswitch.ko] undefined! > > Fixes: e57358873bb5d6ca ("net: openvswitch: use

[ovs-dev] [PATCH ovn v2] Add SCTP load balancer test.

2020-04-24 Thread Mark Michelson
This is essentially a copy of existing load balancer tests that use TCP, but with a few modifications for SCTP. Userspace conntrack and SCTP do not currently mix. Therefore, the test has been added to a new kernel-only system testsuite file. If userspace conntrack support for SCTP is added in the

Re: [ovs-dev] [PATCH] net: openvswitch: use do_div() for 64-by-32 divisions:

2020-04-24 Thread Geert Uytterhoeven
Hi Eric, On Fri, Apr 24, 2020 at 5:05 PM Eric Dumazet wrote: > On 4/24/20 5:10 AM, Geert Uytterhoeven wrote: > > On 32-bit architectures (e.g. m68k): > > > > ERROR: modpost: "__udivdi3" [net/openvswitch/openvswitch.ko] undefined! > > ERROR: modpost: "__divdi3" [net/openvswitch/openvswitch

Re: [ovs-dev] Hi I'm Mr. James Idika, How Are You Doing?

2020-04-24 Thread Jame Idika
Dear Friend, How are you doing today? I hope this email finds you healthy and safe. This letter may come to you as a surprise, but I want you to understand that it is only through an opportunity that people can meet each other and become friends and business partners in life. Though, the society

Re: [ovs-dev] [PATCH] net: openvswitch: use do_div() for 64-by-32 divisions:

2020-04-24 Thread Toke Høiland-Jørgensen
Geert Uytterhoeven writes: > Hi Eric, > > On Fri, Apr 24, 2020 at 5:05 PM Eric Dumazet wrote: >> On 4/24/20 5:10 AM, Geert Uytterhoeven wrote: >> > On 32-bit architectures (e.g. m68k): >> > >> > ERROR: modpost: "__udivdi3" [net/openvswitch/openvswitch.ko] undefined! >> > ERROR: modpost:

Re: [ovs-dev] 4K resubmit limit and stack size usage

2020-04-24 Thread William Tu
On Fri, Apr 24, 2020 at 3:06 AM Eelco Chaudron wrote: > > > > On 23 Apr 2020, at 17:32, William Tu wrote: > > > On Thu, Apr 23, 2020 at 6:29 AM Eelco Chaudron > > wrote: > >> > >> Hi Ben et al. > >> > >> We recently had an issue where OVS would crash as it was running out > >> of > >> stack space

Re: [ovs-dev] [PATCH] net: openvswitch: use do_div() for 64-by-32 divisions:

2020-04-24 Thread Geert Uytterhoeven
Hi Toke, On Fri, Apr 24, 2020 at 6:45 PM Toke Høiland-Jørgensen wrote: > Geert Uytterhoeven writes: > > On Fri, Apr 24, 2020 at 5:05 PM Eric Dumazet wrote: > >> On 4/24/20 5:10 AM, Geert Uytterhoeven wrote: > >> > On 32-bit architectures (e.g. m68k): > >> > > >> > ERROR: modpost: "__udivdi3

Re: [ovs-dev] [PATCH v4 2/3] ovsdb-idl: Avoid inconsistent IDL state with OVSDB_MONITOR_V3.

2020-04-24 Thread Han Zhou
On Thu, Apr 23, 2020 at 12:04 PM Ilya Maximets wrote: > > On 4/23/20 8:22 PM, Ilya Maximets wrote: > > On 4/22/20 8:38 PM, Dumitru Ceara wrote: > >> Assuming an ovsdb client connected to a database using OVSDB_MONITOR_V3 > >> (i.e., "monitor_cond_since" method) with the initial monitor condition >

Re: [ovs-dev] [PATCH v4 2/3] ovsdb-idl: Avoid inconsistent IDL state with OVSDB_MONITOR_V3.

2020-04-24 Thread Ilya Maximets
On 4/24/20 10:23 PM, Han Zhou wrote: > > > On Thu, Apr 23, 2020 at 12:04 PM Ilya Maximets > wrote: >> >> On 4/23/20 8:22 PM, Ilya Maximets wrote: >> > On 4/22/20 8:38 PM, Dumitru Ceara wrote: >> >> Assuming an ovsdb client connected to a database using OVSDB_MONITOR_V3

Re: [ovs-dev] [PATCH v4 2/3] ovsdb-idl: Avoid inconsistent IDL state with OVSDB_MONITOR_V3.

2020-04-24 Thread Han Zhou
On Fri, Apr 24, 2020 at 1:49 PM Ilya Maximets wrote: > > On 4/24/20 10:23 PM, Han Zhou wrote: > > > > > > On Thu, Apr 23, 2020 at 12:04 PM Ilya Maximets mailto:i.maxim...@ovn.org>> wrote: > >> > >> On 4/23/20 8:22 PM, Ilya Maximets wrote: > >> > On 4/22/20 8:38 PM, Dumitru Ceara wrote: > >> >> Ass

[ovs-dev] Paquete: Taller de ortografía y redacción

2020-04-24 Thread Vulgarismos y vicios del lenguaje
El entorno laboral actual requiere de profesionistas capaces de expresarse por escrito de forma clara, coherente y con impecable ortografía. Este curso en línea está enfocado en abordar las principales reglas ortográficas del idioma español y en otorgar recomendaciones a los participantes para un

Re: [ovs-dev] [PATCH] net: openvswitch: use do_div() for 64-by-32 divisions:

2020-04-24 Thread Tonghao Zhang
On Sat, Apr 25, 2020 at 1:54 AM Geert Uytterhoeven wrote: > > Hi Toke, > > On Fri, Apr 24, 2020 at 6:45 PM Toke Høiland-Jørgensen > wrote: > > Geert Uytterhoeven writes: > > > On Fri, Apr 24, 2020 at 5:05 PM Eric Dumazet > > > wrote: > > >> On 4/24/20 5:10 AM, Geert Uytterhoeven wrote: > > >>