Re: [ovs-dev] SNAT on OVN logical_router in userspace works for ICMP but not TCP or UDP

2019-02-08 Thread Darrell Ball via dev
If TCP packets do not go thru conntrack, then that would explain why the TCP traffic is not natted (since you don't have any other rules that could do that) You need to find out where the TCP packets are going. Try making the rules L4 protocol specific (i.e. look for TCP and also do something

[ovs-dev] HA: SNAT on OVN logical_router in userspace works for ICMP but not TCP or UDP

2019-02-08 Thread Rostyslav Fridman via dev
I have sent TCP traffic. It does not show up in dump-conntrack for some reason. However, I see it on the external server. -Исходное сообщение- От: Darrell Ball [mailto:db...@vmware.com] Отправлено: 8 февраля 2019 г. 23:29 Кому: Rostyslav Fridman ; Ben Pfaff Копия:

Re: [ovs-dev] SNAT on OVN logical_router in userspace works for ICMP but not TCP or UDP

2019-02-08 Thread Darrell Ball via dev
I thought the problem was with TCP/UDP traffic ? Did you send TCP traffic for this test ?; if not, can you run the test with TCP ? On 2/8/19, 12:53 PM, "Rostyslav Fridman" wrote: # ovs-appctl dpif/dump-flows br-int

[ovs-dev] Donation

2019-02-08 Thread Nickell Donation Scheme
Free Will Donation, Respond to Partake. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] SNAT on OVN logical_router in userspace works for ICMP but not TCP or UDP

2019-02-08 Thread Darrell Ball via dev
Could you dump the datapath flows and conntrack entries while your test is running (i.e. sending packets) ? == # ovs-appctl dpif/dump-flows br-int == # ovs-appctl dpctl/dump-conntrack Also besides arp, could you limit

[ovs-dev] Cómo implementarlo de manera eficiente

2019-02-08 Thread Balanced Scorecard
Cursos esenciales - Webinar Interactivo – Miércoles 27 de Febrero Balanced Scorecard El Balanced Scorecard ayuda a lograr un balance integrado del avance, crecimiento, productividad y competitividad de una organización y que proporciona la información necesaria para definir la dirección que

[ovs-dev] HA: SNAT on OVN logical_router in userspace works for ICMP but not TCP or UDP

2019-02-08 Thread Rostyslav Fridman via dev
> How about dumping flows and conntrack entries and checking stats at various > points ? > ovs-ofctl dump-flows > ovs-appctl dpif/dump-flows > ovs-appctl dpctl/dump-conntrack Please find flow dumps at the following link: https://pastebin.com/raw/epKAhTKm > How are you sending said UDP/TCP

Re: [ovs-dev] [PATCH v4 1/1] acinclude: Also use LIBS from dpkg pkg-config

2019-02-08 Thread Aaron Conole
Christian Ehrhardt writes: > DPDK 18.11 builds using the more modern meson build system no more > provide the -ldpdk linker script. Instead it is expected to use > pkgconfig for linker options as well. > > This change will set DPDK_LIB from pkg-config (if pkg-config was > available) and since

Re: [ovs-dev] SNAT on OVN logical_router in userspace works for ICMP but not TCP or UDP

2019-02-08 Thread Darrell Ball via dev
We have advanced system tests for userspace datapath to test OVN, including tcp packets. system-ovn 124: ovn -- 2 LRs connected via LS, gateway router, SNAT and DNAT ok 125: ovn -- 2 LRs connected via LS, gateway router, easy SNAT ok 126: ovn -- multiple gateway routers, SNAT and DNAT ok 127:

Re: [ovs-dev] SNAT on OVN logical_router in userspace works for ICMP but not TCP or UDP

2019-02-08 Thread Ben Pfaff
Darrell, is this something you can help with? On Fri, Feb 08, 2019 at 02:18:53PM +, Rostyslav Fridman via dev wrote: > I've encountered the issue that SNAT on OVN logical_router in userspace works > for ICMP but not TCP or UDP. I am seeing this behavior on version 2.10.1 as > well as on top

[ovs-dev] [PATCH 7/8] travis: Use parallel jobs for DPDK and sparse builds.

2019-02-08 Thread Ilya Maximets
This allows to save a few minutes. Signed-off-by: Ilya Maximets --- .travis/linux-build.sh | 2 +- .travis/linux-prepare.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index b1b2c831b..0cf5da6af 100755 ---

Re: [ovs-dev] [PATCH] travis: Fix building datapath instead of userspace with DPDK_SHARED.

2019-02-08 Thread Ilya Maximets
I re-sent this patch as part of the series: https://patchwork.ozlabs.org/project/openvswitch/list/?series=90839 Best regards, Ilya Maximets. On 07.02.2019 19:36, Aaron Conole wrote: > Ilya Maximets writes: > >> Current script does not check build of OVS with DPDK. >> It builds datapath

[ovs-dev] [PATCH 8/8] travis: Drop redundant DPDK build check.

2019-02-08 Thread Ilya Maximets
This check covered by 'TESTSUITE=1 DPDK=1'. No need to run it separately. Signed-off-by: Ilya Maximets --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8a0707f4f..531a45157 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,7 +33,6 @@ env: -

[ovs-dev] [PATCH 6/8] travis: Enable printing of executed commands.

2019-02-08 Thread Ilya Maximets
This increases the output by a few lines, but gives important information regarding commands and their exact arguments. Very useful for debugging. Signed-off-by: Ilya Maximets --- .travis/linux-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis/linux-build.sh

[ovs-dev] [PATCH 5/8] travis: Dump config.log on configure failures.

2019-02-08 Thread Ilya Maximets
Useful for debugging. Signed-off-by: Ilya Maximets --- .travis/linux-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis/linux-build.sh b/.travis/linux-build.sh index e91fa1395..ef1e5f063 100755 --- a/.travis/linux-build.sh +++ b/.travis/linux-build.sh @@ -79,7

[ovs-dev] [PATCH 4/8] travis: Run testsuite with desired options.

2019-02-08 Thread Ilya Maximets
'make distcheck' executes it's own './configure' without any options provided to the script. This means that in current configuration Travis CI always re-builds and runs testsuite on a defualt binaries. i.e. we're not checking testsuite with DPDK, not checking testsuite with '--enable-shared' and

[ovs-dev] [PATCH 3/8] automake: Clean up cxxtest.cc.

2019-02-08 Thread Ilya Maximets
'distcheck' complains on some configurations: ERROR: files left in build directory after distclean: ./include/openvswitch/cxxtest.cc CC: Ben Pfaff Fixes: 994bfc298502 ("Automatically verify that OVS header files work OK in C++ also.") Signed-off-by: Ilya Maximets ---

[ovs-dev] [PATCH 2/8] datapath: Clean up some gcov, tmp and cache files.

2019-02-08 Thread Ilya Maximets
'distcheck' complains about these files while building --with-linux. ERROR: files left in build directory after distclean: ./datapath/linux/.tmp_ip6_gre.gcno ./datapath/linux/.tmp_ip_tunnels_core.gcno ./datapath/linux/.tmp_genetlink-openvswitch.gcno ./datapath/linux/.tmp_stt.gcno <..>

[ovs-dev] [PATCH 1/8] travis: Fix building datapath instead of userspace with DPDK_SHARED.

2019-02-08 Thread Ilya Maximets
Current script does not check build of OVS with DPDK. It builds datapath instead. CC: Ian Stokes Fixes: edfe8d263d2e ("travis: Add dpdk shared library build.") Signed-off-by: Ilya Maximets Acked-by: Aaron Conole --- .travis/linux-build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2

[ovs-dev] [PATCH 0/8] travis: Fix equal distcheck runs.

2019-02-08 Thread Ilya Maximets
All the distcheck runs in Travis are equal. Only compiler changes. This patch set targeted to actually run testsuite with desired build options. See patch #4 for details. First few patches are fixes for the issues I found by Travis after enabling the proper builds. Ilya Maximets (8): travis:

Re: [ovs-dev] [PATCH] acinclude: Use NUMA_AWARE_HUGEPAGES too for libnuma check.

2019-02-08 Thread Ilya Maximets
On 07.02.2019 19:26, Ilya Maximets wrote: > On 07.02.2019 19:18, Ian Stokes wrote: >> On 2/7/2019 1:00 PM, Ilya Maximets wrote: >>> This fixes build with NUMA_AWARE_HUGEPAGES enabled and VHOST_NUMA >>> disabled. This should not be a usual case. But it's possible to >>> configure DPDK this way. >>>

[ovs-dev] SNAT on OVN logical_router in userspace works for ICMP but not TCP or UDP

2019-02-08 Thread Rostyslav Fridman via dev
I've encountered the issue that SNAT on OVN logical_router in userspace works for ICMP but not TCP or UDP. I am seeing this behavior on version 2.10.1 as well as on top of the git tree. I try to access internet (216.58.215.110) from container (10.0.0.2). On the external-router I have SNAT

Re: [ovs-dev] OVN: Setting custom data

2019-02-08 Thread Mark Michelson
Thanks for your reply Ben. Comments in-line below. On 2/7/19 10:06 PM, Ben Pfaff wrote: On Thu, Feb 07, 2019 at 02:24:08PM -0500, Mark Michelson wrote: The general problem I have is that I'm developing a feature for OVN. When a relevant packet arrives, I want to set some data and have that

Re: [ovs-dev] [RFC v3 1/5] datapath: Add a new action check_pkt_len

2019-02-08 Thread Lorenzo Bianconi
> From: Numan Siddique > > [Please note, this patch is submitted as RFC in ovs-dev ML to > get feedback before submitting to netdev ML] > > This patch adds a new action which checks the packet length and > executes a set of actions if the packet length is greater than > the specified length or

[ovs-dev] Mutlique support in OVS without DPDK ?

2019-02-08 Thread rakesh kumar
Hello, I am trying to use sch_mqprio qdsic with OVS interface but the problem is that it supports only multi-queue device only. Does OVS supports multiqueue option without DPDK if yes how we can enable it ? Please give your views for the above query ! *Regard* Rakesh Kumar

Re: [ovs-dev] [RFC 1/3] dpdk: Unify passing of DPDK EAL arguments.

2019-02-08 Thread Kevin Traynor
Hi Ilya, Thanks for raising this and explaining in detail so it can be discussed. Comments below, On 02/01/2019 01:11 PM, Ilya Maximets wrote: > This patch deprecates the usage of current configuration knobs for > DPDK EAL arguments: > > - dpdk-alloc-mem > - dpdk-socket-mem > -

Re: [ovs-dev] [PATCH net-next V2 1/1] openvswitch: Declare ovs key structures using macros

2019-02-08 Thread Eli Britstein
On 2/8/2019 9:59 AM, Simon Horman wrote: > On Mon, Feb 04, 2019 at 12:09:00PM -0800, David Miller wrote: >> From: Gregory Rose >> Date: Mon, 4 Feb 2019 11:41:29 -0800 >> >>> On 2/3/2019 1:12 AM, Eli Britstein wrote: Declare ovs key structures using macros as a pre-step towards to

[ovs-dev] overdue payment

2019-02-08 Thread First Commercial Bank London
___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH net-next V2 1/1] openvswitch: Declare ovs key structures using macros

2019-02-08 Thread Simon Horman
On Mon, Feb 04, 2019 at 12:09:00PM -0800, David Miller wrote: > From: Gregory Rose > Date: Mon, 4 Feb 2019 11:41:29 -0800 > > > > > On 2/3/2019 1:12 AM, Eli Britstein wrote: > >> Declare ovs key structures using macros as a pre-step towards to > >> enable retrieving fields information, as a