[ovs-dev] [PATCH RESEND ovs-dev v1 2/2] dpif-netdev: Return error code when no mark available.

2020-06-08 Thread xiangxia . m . yue
From: Tonghao Zhang The max number of mark is (UINT32_MAX - 1), that is enough to be used. But theoretically, if there are no mark available, the later different flows will shared the mark INVALID_FLOW_MARK, that may break the function. If there are no available mark to be used, return error

[ovs-dev] [PATCH RESEND ovs-dev v1 1/2] dpif-netdev: Add check mark to avoid ovs-vswitchd crash.

2020-06-08 Thread xiangxia . m . yue
From: Tonghao Zhang When changing the pmd interfaces attribute, ovs-vswitchd will reload pmd and flush offload flows. reload_affected_pmds may be invoked twice or more. In that case, the flows may been queued to "dp_netdev_flow_offload" thread again. For example: $ ovs-vsctl -- set interface

[ovs-dev] [PATCH RESEND ovs-dev v1 0/2] dpif-netdev: avoid ovs-vswitchd crash

2020-06-08 Thread xiangxia . m . yue
From: Tonghao Zhang This patchset add more robust error handling. Tested-at: https://travis-ci.com/github/ovn-open-virtual-networks/ovs/builds/170300796 Tonghao Zhang (2): dpif-netdev: Add check mark to avoid ovs-vswitchd crash. dpif-netdev: Return error code when no mark available.

[ovs-dev] Acciones para el plan de capacitación

2020-06-08 Thread Trámites de capacitación ante la S.T.P.S.
Buen día El curso tiene una nueva fecha y quise aprovechar la oportunidad de hacerte unainvitación: •Nombre: Guía paso a paso: Trámites de capacitación ante la S.T.P.S. •¿Cuándo?: Miércoles 24 de Junio del 2020 • Horario: 10:00 a 14:00 Hrs •Formato: En línea con interacción en vivo.

Re: [ovs-dev] [PATCH ovn v10 5/8] ovn-controller: I-P for ct zone and OVS interface changes in flow output stage.

2020-06-08 Thread Dumitru Ceara
On 6/8/20 3:50 PM, num...@ovn.org wrote: > From: Numan Siddique > > This patch handles ct zone changes and OVS interface changes incrementally > in the flow output stage. > > Any changes to ct zone can be handled by running physical_run() instead of > running > flow_output_run(). And any

Re: [ovs-dev] [PATCH ovn v10 4/8] I-P engine: Provide the option for an engine to clear tracked engine data in every run.

2020-06-08 Thread Numan Siddique
On Mon, Jun 8, 2020 at 9:42 PM Dumitru Ceara wrote: > On 6/8/20 3:50 PM, num...@ovn.org wrote: > > From: Numan Siddique > > > > A new function is added in the engine node called - clear_tracked_data() > to > > clear any engine data which was tracked during the engine run. This > tracked data >

[ovs-dev] [PATCH v5] Bareudp Tunnel Support

2020-06-08 Thread Martin Varghese
From: Martin Varghese There are various L3 encapsulation standards using UDP being discussed to leverage the UDP based load balancing capability of different networks. MPLSoUDP (__ https://tools.ietf.org/html/rfc7510) is one among them. The Bareudp tunnel provides a generic L3 encapsulation

Re: [ovs-dev] [PATCH ovn v10 4/8] I-P engine: Provide the option for an engine to clear tracked engine data in every run.

2020-06-08 Thread Dumitru Ceara
On 6/8/20 3:50 PM, num...@ovn.org wrote: > From: Numan Siddique > > A new function is added in the engine node called - clear_tracked_data() to > clear any engine data which was tracked during the engine run. This tracked > data > has to be part of the engine 'data'. engine_init_run() calls >

Re: [ovs-dev] [PATCH ovn v10 3/8] ovn-controller: I-P for datapath binding

2020-06-08 Thread Dumitru Ceara
On 6/8/20 3:50 PM, num...@ovn.org wrote: > From: Numan Siddique > > This patch adds partial support of incremental processing of datapath binding. > If a datapath is deleted, then a full recompute is triggered if that > datapath is present in the 'local_datapaths' hmap of runtime data. > >

Re: [ovs-dev] [PATCH ovn v10 2/8] ovn-controller: I-P for SB port binding and OVS interface in runtime_data.

2020-06-08 Thread Dumitru Ceara
On 6/8/20 3:49 PM, num...@ovn.org wrote: > From: Numan Siddique > > This patch handles SB port binding changes and OVS interface changes > incrementally in the runtime_data stage which otherwise would have > resulted in calls to binding_run(). > > Prior to this patch, port binding changes were

Re: [ovs-dev] [PATCH] dpif-netdev: Add miniflow bits to dump-flows.

2020-06-08 Thread Ilya Maximets
On 6/8/20 5:36 PM, William Tu wrote: > On Mon, Jun 8, 2020 at 7:01 AM Ilya Maximets wrote: >> >> On 5/14/20 4:11 PM, William Tu wrote: >>> The 'dpctl/dump-flows -m' only shows the number of 1-bit in the >>> miniflow map, the patch outputs additional miniflow bits after it. >>> The format will be

Re: [ovs-dev] [PATCH] dpif-netdev: Add miniflow bits to dump-flows.

2020-06-08 Thread William Tu
On Mon, Jun 8, 2020 at 7:01 AM Ilya Maximets wrote: > > On 5/14/20 4:11 PM, William Tu wrote: > > The 'dpctl/dump-flows -m' only shows the number of 1-bit in the > > miniflow map, the patch outputs additional miniflow bits after it. > > The format will be > >

Re: [ovs-dev] [PATCH ovn v10 1/8] ovn-controller: Store the local port bindings in the runtime data I-P state.

2020-06-08 Thread Dumitru Ceara
On 6/8/20 3:49 PM, num...@ovn.org wrote: > From: Numan Siddique > > This patch adds a new data structure - 'struct local_binding' which represents > a probable local port binding. A new object of this structure is creared for > each interface present in the integration bridge (br-int) with the >

Re: [ovs-dev] [PATCH v4 2/2 ovn] Add support for DHCP domain search option (119)

2020-06-08 Thread Numan Siddique
On Mon, Jun 1, 2020 at 11:45 PM Ankur Sharma wrote: > From: Dhathri Purohith > > Domain search list is encoded according to the specifications in RFC 1035, > section 4.1.4. > > Signed-off-by: Dhathri Purohith > Signed-off-by: Ankur Sharma > Hi Dhathri, Thanks for the patch. Please see below

Re: [ovs-dev] [PATCH ovn] Documentation: add a quick start for prospective contributors

2020-06-08 Thread Numan Siddique
On Fri, May 22, 2020 at 8:54 PM Gabriele Cerami wrote: > This change adds a small guide that may be useful to prospective > contributors that start from scratch. > > Signed-off-by: Gabriele Cerami > Thanks for the patch and improving the OVN documentation. I see a few "WIP". Do you plan to

Re: [ovs-dev] [PATCH v4 1/2 ovn] Fix the data type for DHCP option tftp_server (66)

2020-06-08 Thread Numan Siddique
On Fri, Jun 5, 2020 at 4:35 AM Dhathri Purohith < dhathri.puroh...@nutanix.com> wrote: > Hi Numan, > > We have fixed the schema checksum error and split the patch into two. > Please take a look and let us know if you have any further comments. > > Thanks, > Dhathri > > On 6/1/20, 11:14 AM,

Re: [ovs-dev] [PATCH] dpif-netdev: Add miniflow bits to dump-flows.

2020-06-08 Thread Ilya Maximets
On 5/14/20 4:11 PM, William Tu wrote: > The 'dpctl/dump-flows -m' only shows the number of 1-bit in the > miniflow map, the patch outputs additional miniflow bits after it. > The format will be > dp-extra-info:miniflow_bits(count_1bit(unit0):unit0, >

Re: [ovs-dev] [PATCH ovn 1/2] Set the release date for 20.03.0

2020-06-08 Thread Numan Siddique
On Mon, Jun 8, 2020 at 6:25 PM Mark Michelson wrote: > Apologies. The subject line should be "20.06.0". I'll correct it in the > merged version. > No worries. Thanks for the patches. Acked-by: Numan Siddique for both the patches in the series. Numan > > On 6/8/20 8:37 AM, Mark Michelson

[ovs-dev] [PATCH ovn v10 8/8] tests: Enhance ovn-performance testing by adding gw router port.

2020-06-08 Thread numans
From: Numan Siddique This covers the scenario of setting up/deleting of BFD tunnels for HA. Signed-off-by: Numan Siddique --- tests/ovn-performance.at | 104 +++ 1 file changed, 104 insertions(+) diff --git a/tests/ovn-performance.at

[ovs-dev] [PATCH ovn v10 6/8] ovn-controller: Handle runtime data changes in flow output engine

2020-06-08 Thread numans
From: Numan Siddique In order to handle runtime data changes incrementally, the flow outut runtime data handle should know the changed runtime data. Runtime data now tracks the changed data for any OVS interface and SB port binding changes. The tracked data contains a hmap of tracked datapaths

[ovs-dev] [PATCH ovn v10 4/8] I-P engine: Provide the option for an engine to clear tracked engine data in every run.

2020-06-08 Thread numans
From: Numan Siddique A new function is added in the engine node called - clear_tracked_data() to clear any engine data which was tracked during the engine run. This tracked data has to be part of the engine 'data'. engine_init_run() calls clear_tracked_data() and each engine node interested in

[ovs-dev] [PATCH ovn v10 1/8] ovn-controller: Store the local port bindings in the runtime data I-P state.

2020-06-08 Thread numans
From: Numan Siddique This patch adds a new data structure - 'struct local_binding' which represents a probable local port binding. A new object of this structure is creared for each interface present in the integration bridge (br-int) with the external_ids:iface-id set. This struct has 2 main

[ovs-dev] [PATCH ovn v10 7/8] ovn-controller: Use the tracked runtime data changes for flow calculation.

2020-06-08 Thread numans
From: Venkata Anil This patch processes the logical flows of tracked datapaths and tracked logical ports. To handle the tracked logical port changes, reference of logical flows to port bindings is maintained. Co-Authored-by: Numan Siddique Signed-off-by: Venkata Anil Signed-off-by: Numan

[ovs-dev] [PATCH ovn v10 2/8] ovn-controller: I-P for SB port binding and OVS interface in runtime_data.

2020-06-08 Thread numans
From: Numan Siddique This patch handles SB port binding changes and OVS interface changes incrementally in the runtime_data stage which otherwise would have resulted in calls to binding_run(). Prior to this patch, port binding changes were handled differently. The changes were only evaluated to

[ovs-dev] [PATCH ovn v10 3/8] ovn-controller: I-P for datapath binding

2020-06-08 Thread numans
From: Numan Siddique This patch adds partial support of incremental processing of datapath binding. If a datapath is deleted, then a full recompute is triggered if that datapath is present in the 'local_datapaths' hmap of runtime data. Acked-by: Mark Michelson Acked-by: Han Zhou

[ovs-dev] [PATCH ovn v10 5/8] ovn-controller: I-P for ct zone and OVS interface changes in flow output stage.

2020-06-08 Thread numans
From: Numan Siddique This patch handles ct zone changes and OVS interface changes incrementally in the flow output stage. Any changes to ct zone can be handled by running physical_run() instead of running flow_output_run(). And any changes to OVS interfaces can be either handled incrementally

[ovs-dev] [PATCH ovn v10 0/8] Incremental processing improvements.

2020-06-08 Thread numans
From: Numan Siddique This patch series handles port binding, datapath binding, ovs interface changes, runtime data changes, sb chassis changes incrementally. (These patches can also be found here - https://github.com/numansiddique/ovn/tree/IP_improvements_v5) Below are the results of some

Re: [ovs-dev] [PATCH ovn 2/2] Prepare for 20.03.1

2020-06-08 Thread Mark Michelson
Like with the previous patch in the series, the subject line should be 20.06.1, not 20.03.1. I'll correct it in the merged version. On 6/8/20 8:37 AM, Mark Michelson wrote: Signed-off-by: Mark Michelson --- NEWS | 3 +++ configure.ac | 2 +- debian/changelog | 6 ++ 3

Re: [ovs-dev] [PATCH ovn 1/2] Set the release date for 20.03.0

2020-06-08 Thread Mark Michelson
Apologies. The subject line should be "20.06.0". I'll correct it in the merged version. On 6/8/20 8:37 AM, Mark Michelson wrote: Signed-off-by: Mark Michelson --- NEWS | 2 +- debian/changelog | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS

[ovs-dev] [PATCH ovn 2/2] Prepare for 20.03.1

2020-06-08 Thread Mark Michelson
Signed-off-by: Mark Michelson --- NEWS | 3 +++ configure.ac | 2 +- debian/changelog | 6 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 6116743bd..a1d6ff205 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,6 @@ +OVN v20.06.1 - xx xxx

[ovs-dev] [PATCH ovn 1/2] Set the release date for 20.03.0

2020-06-08 Thread Mark Michelson
Signed-off-by: Mark Michelson --- NEWS | 2 +- debian/changelog | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 2599e3e40..6116743bd 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,4 @@ -OVN v20.06.0 +OVN v20.06.0 - 08 Jun 2020

Re: [ovs-dev] [PATCH ovs-dev v2] netdev-offload-tc: Allow installing arp rules to TC dp.

2020-06-08 Thread Simon Horman
On Fri, Jun 05, 2020 at 09:17:29PM +0800, xiangxia.m@gmail.com wrote: > From: Tonghao Zhang > > This patch allows to install arp rules to tc dp. > In the future, arp will be offloaded to hardware to > be processed. So OvS enable this now. > > $ ovs-appctl dpctl/add-flow