[ovs-dev] Es tiempo de pensar en Vacaciones

2018-12-26 Thread Invita Argentina via dev
Pensaste en tus Vacaciones de Verano? Elegimos los 14 alojamientos mas visitados de nuestro portal, para que comiences a planificar tus vacaciones, con los mejores servicios y Comodidades !! Estos Alojamientos son los mas vendidos del 2018 y los mas recomendados por mas de 1.000.000 de

[ovs-dev] HOW ARE YOU DOING كيف هي احوالك

2018-12-26 Thread Miss Aina via dev
I need your relationship ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

[ovs-dev] [PATCH 2/2] odp-util: Fix fuzz runtime error of invalid dont_send value

2018-12-26 Thread Yifeng Sun
Oss-fuzz complains that (struct user_action_cookie)->controller->dont_send has invalid vlue, like below: runtime error: load of value 26, which is not a valid value for type 'bool' >From this piece of code "cookie.controller.dont_send ? 1 : 0", it looks like that we want to tolerate values than 0

[ovs-dev] [PATCH 1/2] odp-util: Fix a bug in parse_odp_push_nsh_action

2018-12-26 Thread Yifeng Sun
In this piece of code, 'struct ofpbuf b' should always point to metadata so that metadata can be filled with values through ofpbuf operations, like ofpbuf_put_hex and ofpbuf_push_zeros. However, ofpbuf_push_zeros may change the data pointer of 'struct ofpbuf b' and therefore, metadata will not

[ovs-dev] Integración generacional a la Empresa

2018-12-26 Thread Reclutamiento por generación
¡Webinar 2 en 1- Webinar interactivo - Innova learn - CURSOS TOP! Nuestro webinar te ayudará con una descripción detallada de cada generación así como a orientarte en qué herramientas digitales utilizar al reclutar según el candidato que estés buscando. También revisaremos estrategias

[ovs-dev] Your fund transfer has been transferred and the paying bank is waiting for you.

2018-12-26 Thread bobby vanny via dev
Attention: Beneficiary,  I am Mr.Basilio Arrigo, I work with a bank here in this country Republic of Benin in West Africa .And it is my pleasure to inform you that the sum of ($950,000)  Nine hundred and fifty thousand United States Dollars has just been transferred to one of our

Re: [ovs-dev] [PATCH 0/8] Various fixes + Timeouts + Running tests on FreeBSD.

2018-12-26 Thread Ilya Maximets
On 26.12.2018 18:23, Ilya Maximets wrote: > This patch-set is the last bit that allows to successfully run > the testsuite on FreeBSD. > > All the patches mostly independent except the one that enables > tests in CirrusCI that shuld not be applied after the test/lib s/after/before/ > fixes. > >

Re: [ovs-dev] [PATCH] python: jsonrpc: Pick new remote on disconnect.

2018-12-26 Thread Ilya Maximets
On 25.12.2018 20:51, Ilya Maximets wrote: > If attempt to open non-blocking connection results with EINPROGRESS, > further polling will trigger DISCONNECT action in case of failures. > While handling this action, jsonrpc python library closes the > connection but does not change the current

[ovs-dev] [PATCH 8/8] cirrus: Enable testing of Python3 and SSL.

2018-12-26 Thread Ilya Maximets
This does not increase testing time significantly, but increases the coverage. Signed-off-by: Ilya Maximets --- .cirrus.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 0b012ca84..c71a0a249 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@

[ovs-dev] [PATCH 7/8] cirrus: Enable tests on FreeBSD.

2018-12-26 Thread Ilya Maximets
Since all the tests fixed to work properly on FreeBSD we could enable running of the testsuite. + minor refactoring of the yml file. Signed-off-by: Ilya Maximets --- .cirrus.yml | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index

[ovs-dev] [PATCH 6/8] ovsdb-idl.at: Increase timeouts for tests with multiple remotes.

2018-12-26 Thread Ilya Maximets
Tests with multiple remotes always involves connection attempts to the wrong destinations. This includes few reconnection cycles for 1 second each and also possible long timeouts for blocking connections. Let's increase the timeouts for these tests to allow them finish successfully.

[ovs-dev] [PATCH 5/8] ofproto-macros.at: Ignore "Socket is not connected" log messages.

2018-12-26 Thread Ilya Maximets
FreeBSD likely reports ENOTCONN instead of EPIPE/ECONNRESET in case of sending to the disconnected socket. Signed-off-by: Ilya Maximets --- tests/ofproto-macros.at | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/ofproto-macros.at b/tests/ofproto-macros.at

[ovs-dev] [PATCH 4/8] ovsdb-idl.at: Better choosing of wrong ports.

2018-12-26 Thread Ilya Maximets
On some systems (ex. FreeBSD) kernel could allocate outcoming tcp ports too close to the listening port of ovsdb-server. This could lead to having outcoming tcp port of test-ovsdb application equal to one of the WRONG_PORTs. In this case self-connection to the WRONG_PORT succeeds and fails the

[ovs-dev] [PATCH 3/8] vconn: Allow timout configuration for blocking connection.

2018-12-26 Thread Ilya Maximets
On some systems in case where remote is not responding, socket could remain in SYN_SENT state for a really long time without errors waiting for connection. This leads to situations where vconn connection hangs for a few minutes waiting for connection to the DOWN remote. For example, this

[ovs-dev] [PATCH 2/8] stream: Allow timeout configuration for open_block.

2018-12-26 Thread Ilya Maximets
On some systems in case where remote is not responding, socket could remain in SYN_SENT state for a really long time without errors waiting for connection. This leads to situations where open_blok() hangs for a few minutes waiting for connection to the DOWN remote. For example, our "multiple

[ovs-dev] [PATCH 1/8] python: jsonrpc: Pick new remote on disconnect.

2018-12-26 Thread Ilya Maximets
If attempt to open non-blocking connection results with EINPROGRESS, further polling will trigger DISCONNECT action in case of failures. While handling this action, jsonrpc python library closes the connection but does not change the current remote. This leads to subsequent connection to the same

[ovs-dev] [PATCH 0/8] Various fixes + Timeouts + Running tests on FreeBSD.

2018-12-26 Thread Ilya Maximets
This patch-set is the last bit that allows to successfully run the testsuite on FreeBSD. All the patches mostly independent except the one that enables tests in CirrusCI that shuld not be applied after the test/lib fixes. Full checking in CirrusCI takes less than 15 minutes. Ilya Maximets (8):

[ovs-dev] [PATCH V2 1/1] netdev-tc-offloads: Support IPv6 hlimit rewrite

2018-12-26 Thread Eli Britstein
Add support for IPv6 hlimit field. Signed-off-by: Eli Britstein Reviewed-by: Paul Blakey --- lib/netdev-tc-offloads.c | 4 lib/tc.c | 5 + lib/tc.h | 1 + 3 files changed, 10 insertions(+) diff --git a/lib/netdev-tc-offloads.c

[ovs-dev] [PATCH V2 1/1] netdev-tc-offloads: Do not set 0 port attribute to TC tunnel

2018-12-26 Thread Eli Britstein
For non UDP tunnels as GRE there is no UDP port, i.e initialized to 0. Do not set the port attribute in such case. Signed-off-by: Eli Britstein Reviewed-by: Paul Blakey --- lib/netdev-tc-offloads.c | 6 -- lib/tc.c | 8 ++-- 2 files changed, 10 insertions(+), 4

[ovs-dev] [PATCH v3 9/9] dpif-netdev.at: Add basic test for partial HW offloading.

2018-12-26 Thread Ilya Maximets
Simple test for basic partial HWOL functionality. Signed-off-by: Ilya Maximets --- tests/dpif-netdev.at | 74 1 file changed, 74 insertions(+) diff --git a/tests/dpif-netdev.at b/tests/dpif-netdev.at index 6915d43ba..8b30a9573 100644 ---

[ovs-dev] [PATCH v3 8/9] netdev-dummy: Add flow offloading related logs.

2018-12-26 Thread Ilya Maximets
Add debug logging for partial HWOL for dummy interfaces for the future using in tests. Signed-off-by: Ilya Maximets --- lib/netdev-dummy.c | 66 +++--- 1 file changed, 63 insertions(+), 3 deletions(-) diff --git a/lib/netdev-dummy.c b/lib/netdev-dummy.c

[ovs-dev] [PATCH v3 7/9] netdev-dummy: Set flow mark for offloaded flows.

2018-12-26 Thread Ilya Maximets
Match packets received on dummy interfaces with offloaded flows and set up corresponding marks in dp-packet. Signed-off-by: Ilya Maximets --- lib/netdev-dummy.c | 40 1 file changed, 28 insertions(+), 12 deletions(-) diff --git a/lib/netdev-dummy.c

[ovs-dev] [PATCH v3 5/9] dp-packet: Copy flow mark on packet clone.

2018-12-26 Thread Ilya Maximets
Dummy interfaces clones dp-packet while 'receive' appctl processing. In general, we should do this anyway to avoid any possible issues in the future with real interfaces. Signed-off-by: Ilya Maximets --- lib/dp-packet.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/dp-packet.c

[ovs-dev] [PATCH v3 6/9] netdev-dummy: Implement dummy put/del flow offload API.

2018-12-26 Thread Ilya Maximets
Basic partial HWOL API for dummy interfaces. Signed-off-by: Ilya Maximets --- lib/netdev-dummy.c | 106 +++-- 1 file changed, 103 insertions(+), 3 deletions(-) diff --git a/lib/netdev-dummy.c b/lib/netdev-dummy.c index 72b4f7adc..6ee3cbca8 100644 ---

[ovs-dev] [PATCH v3 4/9] dp-packet: Add flow_mark support for non-DPDK case.

2018-12-26 Thread Ilya Maximets
Additionally, new API call 'dp_packet_set_flow_mark' is needed for packet clone. Mostly for dummy HWOL implementation. Signed-off-by: Ilya Maximets --- lib/dp-packet.h | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/lib/dp-packet.h b/lib/dp-packet.h

[ovs-dev] [PATCH v3 3/9] dp-packet: Refactor offloading API.

2018-12-26 Thread Ilya Maximets
1. No reason to have mbuf related APIs in a generic code. 2. Not only RSS/checksums should be invalidated in case of tunnel decapsulation or sending to 'ring' ports. In order to fix two above issues, new function 'dp_packet_offload_invalidate' introduced. In order to clean up/unify the code

[ovs-dev] [PATCH v3 2/9] dp-packet: Constantify offloading APIs.

2018-12-26 Thread Ilya Maximets
Getters should have const arguments. Signed-off-by: Ilya Maximets --- lib/dp-packet.h | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/dp-packet.h b/lib/dp-packet.h index 7b85dd902..bfc2d308f 100644 --- a/lib/dp-packet.h +++

[ovs-dev] [PATCH v3 0/9] dpif-netdev: Partial HWOL fixes/refactoring/unit-tests.

2018-12-26 Thread Ilya Maximets
Few more fixes + dummy implementation to enable unit testing of this feature. One more patch with refactoring: * https://patchwork.ozlabs.org/patch/996328/ Version 3: * Skip tests on non-Linux systems. Version 2: * Patch #3 rebased on top of current master. Ilya

[ovs-dev] [PATCH v3 1/9] dpif-netdev: Reduce log level for not found mark id.

2018-12-26 Thread Ilya Maximets
It's a normal case for 'find' function, especially because this happens for every first packet of flow that was not offloaded yet. Should not warn about this. Dropped to DBG to avoid log trashing in case of big number of new flows. CC: Yuanhan Liu Fixes: 241bad15d99a ("dpif-netdev: associate