Re: [ovs-dev] [PATCH] dpif: Ensure ERSPAN GRE support

2018-05-31 Thread Ben Pfaff
On Thu, May 31, 2018 at 03:50:31PM -0700, Greg Rose wrote: > When verifying the built-in gre kernel module check for ERSPAN support. > > Reported-by: Guru Shetty > Signed-off-by: Greg Rose Thanks, I applied this to master. ___ dev mailing list

Re: [ovs-dev] [PATCH V2] compat: Fixups for newer kernels

2018-05-31 Thread Ben Pfaff
On Thu, May 31, 2018 at 03:06:35PM -0700, William Tu wrote: > On Thu, May 31, 2018 at 2:10 PM, Greg Rose wrote: > > A recent patch series added support for ERSPAN but left some problems > > remaining for kernel releases from 4.10 to 4.14. This patch > > addresses those problems. > > > > Of note

[ovs-dev] Recursos para Pymes

2018-05-31 Thread Cuánto dinero puedo recibir
El curso comprende temas prácticos y teóricos necesarios para construir un proyecto sólido, así como las instituciones a las que los aspirantes deben acudir según la naturaleza de sus proyectos. Acceso a Recursos Federales para PyMES Junio 05 - webinar Interactivo Este curso está orientado

[ovs-dev] [PATCH] dpif: Ensure ERSPAN GRE support

2018-05-31 Thread Greg Rose
When verifying the built-in gre kernel module check for ERSPAN support. Reported-by: Guru Shetty Signed-off-by: Greg Rose --- lib/dpif-netlink-rtnl.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/dpif-netlink-rtnl.c b/lib/dpif-netlink-rtnl.c index

Re: [ovs-dev] [PATCH V2] compat: Fixups for newer kernels

2018-05-31 Thread William Tu
On Thu, May 31, 2018 at 2:10 PM, Greg Rose wrote: > A recent patch series added support for ERSPAN but left some problems > remaining for kernel releases from 4.10 to 4.14. This patch > addresses those problems. > > Of note is that the old cisco gre compat layer code is gone for good. > > Also,

Re: [ovs-dev] [PATCH] utilities/ovs-ctl: Force removal of ip_gre/gre

2018-05-31 Thread Gregory Rose
On 5/31/2018 2:31 PM, Guru Shetty wrote: On 31 May 2018 at 14:20, Greg Rose > wrote: On Linux kernels older than 4.16 the user cannot take advantage of OVS ERSPAN features if the older ip_gre and gre kernel modules are loaded.  In addition, the

Re: [ovs-dev] [PATCH] utilities/ovs-ctl: Force removal of ip_gre/gre

2018-05-31 Thread Guru Shetty
On 31 May 2018 at 14:20, Greg Rose wrote: > On Linux kernels older than 4.16 the user cannot take advantage of > OVS ERSPAN features if the older ip_gre and gre kernel modules are > loaded. In addition, the openvswitch kernel module will fail to > load because it cannot grab the IPPROTO_GRE

[ovs-dev] [PATCH] utilities/ovs-ctl: Force removal of ip_gre/gre

2018-05-31 Thread Greg Rose
On Linux kernels older than 4.16 the user cannot take advantage of OVS ERSPAN features if the older ip_gre and gre kernel modules are loaded. In addition, the openvswitch kernel module will fail to load because it cannot grab the IPPROTO_GRE inet protocol handler since the gre kernel module has

[ovs-dev] [PATCH V2] compat: Fixups for newer kernels

2018-05-31 Thread Greg Rose
A recent patch series added support for ERSPAN but left some problems remaining for kernel releases from 4.10 to 4.14. This patch addresses those problems. Of note is that the old cisco gre compat layer code is gone for good. Also, several compat defines in acinclude.m4 were looking for keys in

Re: [ovs-dev] [PATCH] compat: Fixups for newer kernels

2018-05-31 Thread Gregory Rose
On 5/31/2018 10:47 AM, William Tu wrote: On Thu, May 31, 2018 at 8:32 AM, Greg Rose wrote: A recent patch series added support for ERSPAN but left some problems remaining for kernel releases from 4.10 to 4.14. This patch addresses those problems. Of note is that the old cisco gre compat

Re: [ovs-dev] [PATCH v3] Avoid tunneling for VLAN packets redirected to a gateway chassis

2018-05-31 Thread Anil Venkata
Thanks Russell. On Thu, May 31, 2018 at 1:41 AM, Russell Bryant wrote: > One more general question: > > a major difference when doing the redirect to the gateway via a VLAN > vs a geneve tunnel is the lack of metadata. You've demonstrated how > it's easy enough to identify the network (the

Re: [ovs-dev] [PATCH] compat: Fixups for newer kernels

2018-05-31 Thread William Tu
On Thu, May 31, 2018 at 8:32 AM, Greg Rose wrote: > A recent patch series added support for ERSPAN but left some problems > remaining for kernel releases from 4.10 to 4.14. This patch > addresses those problems. > > Of note is that the old cisco gre compat layer code is gone for good. > > Also,

[ovs-dev] Gamificación / Webinar Interactivo

2018-05-31 Thread Recursos Humanos
Los juegos posibilitan diferentes estrategias de solución y con ello propician que los jugadores sean creativos en la elaboración de sus diferentes intentos. Gamificación Junio 14 - webinar Interactivo Temas a tratar: 1. ¿Qué es la Gamificación? 2. Beneficios de la gamificación para los

Re: [ovs-dev] [PATCH v2 2/2] ovn: Test for full logical flow processing in ovn-controller

2018-05-31 Thread Han Zhou
Hi Jakub, Thanks a lot for implement this nice testing utility for incremental processing. I looks very useful and convenient! Please find my comment/question inlined. On Thu, May 31, 2018 at 3:41 AM, Jakub Sitnicki wrote: > > Add a test that performs typical operations of creating & destroying

Re: [ovs-dev] scale test testing requests (was: raft ovsdb clustering with scale test)

2018-05-31 Thread aginwala
On Fri, May 18, 2018 at 1:35 PM, Ben Pfaff wrote: > I've spent some time stressing the database yesterday and today. So > far, I can't reproduce these particular problems. I do see various ways > to improve OVS and OVN and their tests. > > Here are some suggestions I have for further testing:

Re: [ovs-dev] [PATCH v2 1/2] coverage: Add command for reading counter value

2018-05-31 Thread Han Zhou
On Thu, May 31, 2018 at 3:41 AM, Jakub Sitnicki wrote: > > Facilitate checking coverage counters from scripts and tests with a new > "coverage/read-counter" command that gets the total count for a counter. > > Same could be achieved by scraping the output of "coverage/show" command > but the

Re: [ovs-dev] [PATCH] compat: Fixups for newer kernels

2018-05-31 Thread Gregory Rose
On 5/31/2018 9:06 AM, Darrell Ball wrote: On Thu, May 31, 2018 at 8:32 AM, Greg Rose > wrote: A recent patch series added support for ERSPAN but left some problems remaining for kernel releases from 4.10 to 4.14.  This patch addresses those problems.

Re: [ovs-dev] [PATCH v2] ovndb-servers.ocf: add support for managing cluster

2018-05-31 Thread aginwala
On Wed, May 30, 2018 at 11:24 PM, Numan Siddique wrote: > > > On Thu, May 31, 2018 at 4:06 AM, Han Zhou wrote: > >> >> >> On Wed, May 30, 2018 at 3:27 PM, aginwala wrote: >> >>> >>> >>> On Wed, May 30, 2018 at 2:52 PM, Han Zhou wrote: >>> On Tue, May 29, 2018 at 11:40 PM, Numan

Re: [ovs-dev] [PATCH] compat: Fixups for newer kernels

2018-05-31 Thread Darrell Ball
On Thu, May 31, 2018 at 8:32 AM, Greg Rose wrote: > A recent patch series added support for ERSPAN but left some problems > remaining for kernel releases from 4.10 to 4.14. This patch > addresses those problems. > > Of note is that the old cisco gre compat layer code is gone for good. > > Also,

Re: [ovs-dev] [PATCH] OVN: do not mark ND packets for conntrack in PRE_LB stage

2018-05-31 Thread Guru Shetty
On 31 May 2018 at 08:05, Lorenzo Bianconi wrote: > Do not send Neighbor Discovery packets to conntrack module if > load balancing rules have been added to NB db since otherwise > Neighbor Advertisement frames will be discarded by OVN. > In order to reproduce the issue it is enough to add 2

[ovs-dev] [PATCH] compat: Fixups for newer kernels

2018-05-31 Thread Greg Rose
A recent patch series added support for ERSPAN but left some problems remaining for kernel releases from 4.10 to 4.14. This patch addresses those problems. Of note is that the old cisco gre compat layer code is gone for good. Also, several compat defines in acinclude.m4 were looking for keys in

[ovs-dev] [PATCH] OVN: do not mark ND packets for conntrack in PRE_LB stage

2018-05-31 Thread Lorenzo Bianconi
Do not send Neighbor Discovery packets to conntrack module if load balancing rules have been added to NB db since otherwise Neighbor Advertisement frames will be discarded by OVN. In order to reproduce the issue it is enough to add 2 logical ports to a single logical switch, assign an IPv6 address

[ovs-dev] [PATCH 3/3] Permit to build OVS with only Python3 installed

2018-05-31 Thread Timothy Redaelli
This commit renames HAVE_PYTHON to HAVE_PYTHON2 and PYTHON to PYTHON2 and adds HAVE_PYTHON and PYTHON with a different semantics: - If PYTHON environment variable is set, use it as PYTHON - If a python2 interpreter is available, PYTHON became the python2 interpreter - If a python3 interpreter is

[ovs-dev] [PATCH 0/3] Permit to build OVS with only Python3 installed

2018-05-31 Thread Timothy Redaelli
Python 2 will be End Of Life in 2020 (https://www.python.org/dev/peps/pep-0373/) and so some distributions (for example Fedora) are trying to deprecated it. This series of commit permits to build OVS with only Python 3 installed. NOTE: Currently most of the utilities and bugtool doesn't support

[ovs-dev] [PATCH 1/3] tests/sendpkt.py: Fix to work with Python3

2018-05-31 Thread Timothy Redaelli
CC: Ashish Varma Fixes: 296251ca0c82 ("tests: Added NSH related unit test cases for datapath") Signed-off-by: Timothy Redaelli --- tests/sendpkt.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/sendpkt.py b/tests/sendpkt.py index 50a4795eb..328ae2bc9 100755 ---

[ovs-dev] [PATCH 2/3] Partially revert "m4: Add hard requirements for python in "configure""

2018-05-31 Thread Timothy Redaelli
This partially reverts commit d53d2f4b84cc77868f2a55d66417fe6058d0. Python2 check for "six.moves.range" is not reverted. Signed-off-by: Timothy Redaelli --- m4/openvswitch.m4 | 30 +- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git

[ovs-dev] [PATCH v2 2/2] ovn: Test for full logical flow processing in ovn-controller

2018-05-31 Thread Jakub Sitnicki
Add a test that performs typical operations of creating & destroying logical routers, switches, ports, address sets and ACLs while checking if they trigger full logical flow processing in the ovn-controller. This way confirm that incremental processing is taking effect when we expect it to. Place

[ovs-dev] [PATCH v2 1/2] coverage: Add command for reading counter value

2018-05-31 Thread Jakub Sitnicki
Facilitate checking coverage counters from scripts and tests with a new "coverage/read-counter" command that gets the total count for a counter. Same could be achieved by scraping the output of "coverage/show" command but the difficulties there are that output is in human readable format and

[ovs-dev] [PATCH v2 0/2] ovn: Check for effects of incremental processing

2018-05-31 Thread Jakub Sitnicki
(This patch set depends on v2 of the "ovn-controller incremental processing" patch set [1].) At the moment we lack tests that confirm that incremental logical flow processing is working as expected. This patch set aims to address this. The approach to testing is, in short, to observe if we hit

[ovs-dev] [PATCH] Utilities: Add the ovs_dump_dp_provider command to the gdb script

2018-05-31 Thread Eelco Chaudron
This change adds the ovs_dump_dp_provider command, which allows dumping of all the registered registered_dpif_class structures. In addition it has some small internal cleanups. Signed-off-by: Eelco Chaudron --- utilities/gdb/ovs_gdb.py | 70 +--- 1 file

Re: [ovs-dev] [PATCH v1] netdev-dpdk: Enable HW_CRC_STRIP for virtual functions.

2018-05-31 Thread Ferriter, Cian
> > > > Hi, > > > > > > I did all my testing with DPDK 17.11.2 and the following OVS commit > > > (patch doesn't apply cleanly to master): > > > cferrite@silpixa00393943:~/ovs$ git show --summary commit > > > 6b71df2fc06921758798e41833d67d9daf647d19 > > > Author: Kevin Traynor > > > Date: Wed

Re: [ovs-dev] [PATCH v2] ovndb-servers.ocf: add support for managing cluster

2018-05-31 Thread Numan Siddique
On Thu, May 31, 2018 at 4:06 AM, Han Zhou wrote: > > > On Wed, May 30, 2018 at 3:27 PM, aginwala wrote: > >> >> >> On Wed, May 30, 2018 at 2:52 PM, Han Zhou wrote: >> >>> >>> >>> On Tue, May 29, 2018 at 11:40 PM, Numan Siddique >>> wrote: >>> > >>> > On Wed, May 30, 2018 at 5:31 AM, aginwala