[ovs-dev] [PATCH] ovn: Support configuring the BFD params for the tunnel interfaces

2018-09-26 Thread nusiddiq
From: Numan Siddique With this commit the users can override the default values of the BFD params - min_rx, min_tx, decay_min_rx and mult if desired. This can be useful to debug any issues related to BFD, like BFD state changes seen frequently. ovn-controller checks for the options 'ovn-bfd-min-

[ovs-dev] [PATCH v2] ovn: Support configuring the BFD params for the tunnel interfaces

2018-09-26 Thread nusiddiq
From: Numan Siddique With this commit the users can override the default values of the BFD params - min_rx, min_tx, decay_min_rx and mult if desired. This can be useful to debug any issues related to BFD, like BFD state changes seen frequently. ovn-controller checks for the options 'ovn-bfd-min-

Re: [ovs-dev] [PATCH] ovn: Support configuring the BFD params for the tunnel interfaces

2018-09-26 Thread Numan Siddique
On Tue, Sep 25, 2018 at 10:18 PM Miguel Angel Ajo Pelayo < majop...@redhat.com> wrote: > Nak, > > Great work, this will be useful to adjust parameters based on specific > network conditions, or while debugging network issues (to reduce flapping). > > I miss the "mult" parameter to setup the detect

[ovs-dev] Fix memleaks in test-ovn.c

2018-09-26 Thread Bhargava Shastry
Hello, The attached patch plugs memory leaked by calls to ovn_extend_table_init in tests/test-ovn.c that are missing a corresponding ovn_extend_table_destroy. The patch fixes leaks for the group_table and meter_table objects. Regards, Bhargava Bhargava Shastry Security in Telecommunications T

[ovs-dev] [PATCH net-next] net: ovs: fix return type of ndo_start_xmit function

2018-09-26 Thread YueHaibing
The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', which is a typedef for an enum type, so make sure the implementation in this driver has returns 'netdev_tx_t' value, and change the function return type to netdev_tx_t. Found by coccinelle. Signed-off-by: YueHaibing --- net/o

Re: [ovs-dev] [PATCH] ovn: Support configuring the BFD params for the tunnel interfaces

2018-09-26 Thread Miguel Angel Ajo Pelayo
Looks great! but you forgot the testing for the mult option. Rather simple anyway it's obvious it works, but it's my only nit :) On Wed, Sep 26, 2018 at 10:30 AM Numan Siddique wrote: > > > On Tue, Sep 25, 2018 at 10:18 PM Miguel Angel Ajo Pelayo < > majop...@redhat.com> wrote: > >> Nak, >>

Re: [ovs-dev] [dpdk-howl PATCH v4] netdev-dpdk: Upgrade to dpdk v18.08

2018-09-26 Thread Kevin Traynor
On 09/21/2018 11:12 AM, Ophir Munk wrote: > 1. Enable compilation and linkage with dpdk 18.08.0 > The following dpdk commits which were introduced after dpdk 17.11.x > require OVS updates to accommodate to the dpdk changes. > - ce17edde ("ethdev: introduce Rx queue offloads API") > - ab3ce1e0 ("eth

Re: [ovs-dev] [PATCH RFC net-next] openvswitch: Queue upcalls to userspace in per-port round-robin order

2018-09-26 Thread Stefano Brivio
Hi Pravin, On Wed, 15 Aug 2018 00:19:39 -0700 Pravin Shelar wrote: > I understand fairness has cost, but we need to find right balance > between performance and fairness. Current fairness scheme is a > lockless algorithm without much computational overhead, did you try to > improve current algor

[ovs-dev] [PATCH v3] ovn: Support configuring the BFD params for the tunnel interfaces

2018-09-26 Thread nusiddiq
From: Numan Siddique With this commit the users can override the default values of the BFD params - min_rx, min_tx, decay_min_rx and mult if desired. This can be useful to debug any issues related to BFD, like BFD state changes seen frequently. ovn-controller checks for the options 'ovn-bfd-min-

[ovs-dev] [PATCH] Fixes memory leaked by call to ovn_extend_table_init that is missing a corresponding ovn_extend_table_destroy in test-ovn.c. This fixes leaks for the group_table and meter_table obje

2018-09-26 Thread bshastry
From: Bhargava Shastry Signed-off-by: Bhargava Shastry --- tests/test-ovn.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test-ovn.c b/tests/test-ovn.c index 5e6d1c3b4..ebaf21673 100644 --- a/tests/test-ovn.c +++ b/tests/test-ovn.c @@ -1347,6 +1347,8 @@ test_parse_actions(struct o

Re: [ovs-dev] [PATCH v3] ovn: Support configuring the BFD params for the tunnel interfaces

2018-09-26 Thread Miguel Angel Ajo Pelayo
Thank you, Acked-By: Miguel Angel Ajo Pelayo On Wed, Sep 26, 2018 at 12:46 PM wrote: > From: Numan Siddique > > With this commit the users can override the default values of > the BFD params - min_rx, min_tx, decay_min_rx and mult if desired. > This can be useful to debug any issues related t

Re: [ovs-dev] Fixes memory leaked by call to ovn_extend_table_init that is missing a corresponding ovn_extend_table_destroy in test-ovn.c. This fixes leaks for the group_table and meter_table objects.

2018-09-26 Thread 0-day Robot
Bleep bloop. Greetings Bhargava Shastry, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: ERROR: Author Bhargava Shastry needs to sign off. WARNING: Unexpected sign-offs from deve

Re: [ovs-dev] [ovs-discuss] RX Mirroing issue with Decap in vxlan case

2018-09-26 Thread John Hurley
On Tue, Sep 25, 2018 at 10:22 PM Limaye, Namrata wrote: > > Hi John, > > Here's the answer to your questions - > Thanks for the info. > 1. Can you give more information on your setup? > ===Nam) I have back to back connected hosts with OVS running and 2 VMs on > each side. VxLan is configured on

[ovs-dev] [PATCH] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Yi-Hung Wei
This patch addresses the issue that the conntrack fields associated with a packet are missing after a packet is resumed by NXT_RESUME. For example, the last rule in the following OpenFlow pipeline is not working without this patch. table=0, arp,in_port=1 action=2 table=0, arp,in_port=2 action=1 ta

Re: [ovs-dev] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread 0-day Robot
Bleep bloop. Greetings Yi-Hung Wei, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: ERROR: Author Yi-Hung Wei needs to sign off. Lines checked: 41, Warnings: 0, Errors: 1 Please

Re: [ovs-dev] Fix memleaks in test-ovn.c

2018-09-26 Thread Mark Michelson
Hi, It looks like your attachment is not present. I'm not sure if you forgot to attach it or if one of the hops along the way stripped the patch off. The easiest way to send a patch to this list is to use `git send-email`. This will send the e-mail in-line. You can find more information about

[ovs-dev] [PATCH 0/2] dpif-netdev: Docs and stats fixes.

2018-09-26 Thread Ilya Maximets
Ilya Maximets (2): dpif-netdev-unixctl: Change 'masked' to 'megaflow'. dpif-netdev-perf: Print SMC statistics. lib/dpif-netdev-perf.c | 3 +++ lib/dpif-netdev-perf.h | 2 +- lib/dpif-netdev-unixctl.man | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) -- 2.17.1 __

[ovs-dev] [PATCH 2/2] dpif-netdev-perf: Print SMC statistics.

2018-09-26 Thread Ilya Maximets
Printing of the SMC hits missed in the 'dpif-netdev/pmd-perf-show' appctl command. CC: Yipeng Wang Fixes: 60d8ccae135f ("dpif-netdev: Add SMC cache after EMC cache") Signed-off-by: Ilya Maximets --- lib/dpif-netdev-perf.c | 3 +++ lib/dpif-netdev-perf.h | 2 +- lib/dpif-netdev-unixctl

[ovs-dev] [PATCH 1/2] dpif-netdev-unixctl: Change 'masked' to 'megaflow'.

2018-09-26 Thread Ilya Maximets
In the review process of the original patch 'masked hits' stat was renamed to 'megaflow hits', but the man page wasn't updated. Fixes: 6553d06bd179 ("dpif-netdev: Add dpif-netdev/pmd-stats-* appctl commands.") Signed-off-by: Ilya Maximets --- lib/dpif-netdev-unixctl.man | 2

Re: [ovs-dev] [PATCH v1 2/2] rhel: fix wrong condition check for ovs-kmod-manage.sh, fedora

2018-09-26 Thread Martin Xu
Hi Ben, Flavio acked this patch as well. I received the email with no problem. Martin On Tue, Sep 25, 2018 at 3:25 PM Ben Pfaff wrote: > On Thu, Sep 20, 2018 at 12:19:30PM -0700, Martin Xu wrote: > > In post-install in kmod fedora spec file, the variables storing > > different parts of kernel

Re: [ovs-dev] [PATCH net-next] net: ovs: fix return type of ndo_start_xmit function

2018-09-26 Thread David Miller
From: YueHaibing Date: Wed, 26 Sep 2018 17:15:38 +0800 > The method ndo_start_xmit() is defined as returning an 'netdev_tx_t', > which is a typedef for an enum type, so make sure the implementation in > this driver has returns 'netdev_tx_t' value, and change the function > return type to netdev_t

Re: [ovs-dev] [PATCH] ovsdb-data: Drop redundant initialization from ovsdb_datum_apply_diff().

2018-09-26 Thread Yifeng Sun
Looks good to me, thanks. Reviewed-by: Yifeng Sun On Mon, Sep 24, 2018 at 9:33 PM Ben Pfaff wrote: > The call to ovsdb_datum_diff() initializes 'new', so it's not necessary to > also do it in ovsdb_datum_apply_diff(). > > Found by inspection. > > Signed-off-by: Ben Pfaff > --- > lib/ovsdb-da

Re: [ovs-dev] [PATCH] acinclude.m4: Really check whether GCC support -Wno-null-pointer-arithmetic.

2018-09-26 Thread Aaron Conole
Ben Pfaff writes: > I've noticed recently an annoying quantity of error messages like the > following in builds in various places: > > gcc: error: unrecognized command line option ‘-Wunknown-warning-option’ > > This didn't really make sense because OVS checks whether the compiler > supports w

Re: [ovs-dev] [PATCH v5 00/20] ovn-controller incremental processing

2018-09-26 Thread Han Zhou
On Fri, Sep 7, 2018 at 4:59 PM Han Zhou wrote: > > > > On Fri, Sep 7, 2018 at 2:51 PM Ben Pfaff wrote: > > > > On Fri, Sep 07, 2018 at 02:50:34PM -0700, Ben Pfaff wrote: > > > On Wed, Sep 05, 2018 at 05:11:01PM -0700, Han Zhou wrote: > > > > On Wed, Sep 5, 2018 at 2:34 PM Ben Pfaff wrote: > > >

Re: [ovs-dev] Bug: select group with dp_hash causing recursive recirculation

2018-09-26 Thread Jan Scheurich
Hi Zang, Thanks for reporting this bug. As I see it, the check on dp_hash != 0 in ofproto-dpif-xlate.c is there to guarantee that a dp_hash value has been computed for the packet once before, not necessarily that a new one is computed for each translated select group. That's why a check for a v

Re: [ovs-dev] [PATCH] acinclude.m4: Really check whether GCC support -Wno-null-pointer-arithmetic.

2018-09-26 Thread Ben Pfaff
On Wed, Sep 26, 2018 at 01:26:46PM -0400, Aaron Conole wrote: > Ben Pfaff writes: > > > I've noticed recently an annoying quantity of error messages like the > > following in builds in various places: > > > > gcc: error: unrecognized command line option ‘-Wunknown-warning-option’ > > > > This

Re: [ovs-dev] [PATCH] ovsdb-data: Drop redundant initialization from ovsdb_datum_apply_diff().

2018-09-26 Thread Ben Pfaff
Thanks, applied to master. On Wed, Sep 26, 2018 at 10:25:23AM -0700, Yifeng Sun wrote: > Looks good to me, thanks. > > Reviewed-by: Yifeng Sun > > On Mon, Sep 24, 2018 at 9:33 PM Ben Pfaff wrote: > > > The call to ovsdb_datum_diff() initializes 'new', so it's not necessary to > > also do it i

Re: [ovs-dev] [PATCH v1 2/2] rhel: fix wrong condition check for ovs-kmod-manage.sh, fedora

2018-09-26 Thread Ben Pfaff
Thanks, applied to master also. On Wed, Sep 26, 2018 at 10:19:44AM -0700, Martin Xu wrote: > Hi Ben, > > Flavio acked this patch as well. I received the email with no problem. > > Martin > > On Tue, Sep 25, 2018 at 3:25 PM Ben Pfaff wrote: > > > On Thu, Sep 20, 2018 at 12:19:30PM -0700, Marti

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Ben Pfaff
On Wed, Sep 26, 2018 at 09:33:27AM -0700, Yi-Hung Wei wrote: > This patch addresses the issue that the conntrack fields associated > with a packet are missing after a packet is resumed by NXT_RESUME. > For example, the last rule in the following OpenFlow pipeline is not > working without this patch

[ovs-dev] [PATCH] datapath-windows: Move OVS_IPHELPER_INSTANCE to IpHelper.h

2018-09-26 Thread Sairam Venugopal
Move the IPHelper Instance to the main header file and update the usage to explicitly point to POVS_IPHELPER_INSTANCE instead of PVOID. Also rename the ipn->context to ipn->instance to make it more readable. Found by inspection. Signed-off-by: Sairam Venugopal --- datapath-windows/ovsext/IpHelp

Re: [ovs-dev] [PATCH] Fixes memory leaked by call to ovn_extend_table_init that is missing a corresponding ovn_extend_table_destroy in test-ovn.c. This fixes leaks for the group_table and meter_table

2018-09-26 Thread Ben Pfaff
On Wed, Sep 26, 2018 at 03:11:40PM +0200, bshas...@sect.tu-berlin.de wrote: > From: Bhargava Shastry > > Signed-off-by: Bhargava Shastry Thanks, applied to master. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo

Re: [ovs-dev] [PATCH v3] ovn: Support configuring the BFD params for the tunnel interfaces

2018-09-26 Thread Ben Pfaff
On Wed, Sep 26, 2018 at 04:14:18PM +0530, nusid...@redhat.com wrote: > From: Numan Siddique > > With this commit the users can override the default values of > the BFD params - min_rx, min_tx, decay_min_rx and mult if desired. > This can be useful to debug any issues related to BFD, like BFD > st

Re: [ovs-dev] OVSDB IDL - tracked columns gives out of sequenced updates sometimes

2018-09-26 Thread Ben Pfaff
There have been fixed to column tracking since then. Try a newer version. On Thu, Sep 20, 2018 at 05:10:46PM +0530, Arunkumar Rg wrote: > Forgot to mention that I'm using OVS 2.7.2. > > Thanks, > Arun. > > On Thu, Sep 20, 2018 at 5:08 PM Arunkumar Rg wrote: > > > Hi, > > > > I have a ovsdb-cl

Re: [ovs-dev] [dpdk-howl PATCH v4] netdev-dpdk: Upgrade to dpdk v18.08

2018-09-26 Thread Ophir Munk
Hi Kevin, I have reviews to be addressed in v5 which may change v4. Therefore I suggest sending v5 (hopefully) as the final version for this PATCH. Please let me know if you still want me to resend v4 to the ML. Regards, Ophir > -Original Message- > From: Kevin Traynor [mailto:ktray...@re

Re: [ovs-dev] [PATCH 1/2] OVN: add buffering support for ipv4 packets

2018-09-26 Thread Ben Pfaff
On Fri, Sep 14, 2018 at 05:19:24PM +0200, Lorenzo Bianconi wrote: > Add buffering support for IPv4 packets that will be processed > by arp {} action when L2 address is not discovered yet since > otherwise the packet will be substituted with an ARP frame and > this will result in the lost of the fir

Re: [ovs-dev] [PATCH 1/2] OVN: add buffering support for ipv4 packets

2018-09-26 Thread Ben Pfaff
On Wed, Sep 26, 2018 at 03:07:52PM -0700, Ben Pfaff wrote: > On Fri, Sep 14, 2018 at 05:19:24PM +0200, Lorenzo Bianconi wrote: > > Add buffering support for IPv4 packets that will be processed > > by arp {} action when L2 address is not discovered yet since > > otherwise the packet will be substitu

[ovs-dev] [PATCH v2] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Yi-Hung Wei
This patch addresses the issue that the conntrack fields associated with a packet are missing after a packet is resumed by NXT_RESUME. For example, the last rule in the following OpenFlow pipeline is not working without this patch. table=0, arp,in_port=1 action=2 table=0, arp,in_port=2 action=1 ta

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Yi-Hung Wei
On Wed, Sep 26, 2018 at 1:33 PM Ben Pfaff wrote: > > On Wed, Sep 26, 2018 at 09:33:27AM -0700, Yi-Hung Wei wrote: > > This patch addresses the issue that the conntrack fields associated > > with a packet are missing after a packet is resumed by NXT_RESUME. > > For example, the last rule in the fol

[ovs-dev] Contribuye a la investigación científica

2018-09-26 Thread Director de I+D
--- Este correo electrónico ha sido comprobado en busca de virus por AVG. http://www.avg.com ___ dev mailin

Re: [ovs-dev] [PATCH v2] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Ben Pfaff
On Wed, Sep 26, 2018 at 03:08:03PM -0700, Yi-Hung Wei wrote: > This patch addresses the issue that the conntrack fields associated > with a packet are missing after a packet is resumed by NXT_RESUME. > For example, the last rule in the following OpenFlow pipeline is not > working without this patch

Re: [ovs-dev] [PATCH] dpif: Remove support for multiple queues per port.

2018-09-26 Thread Yifeng Sun
It looks good to me, and testing shows no problem. Thanks. Tested-by: Yifeng Sun Reviewed-by: Yifeng Sun On Tue, Sep 25, 2018 at 3:14 PM Ben Pfaff wrote: > Commit 69c51582ff78 ("dpif-netlink: don't allocate per thread netlink > sockets") removed dpif-netlink support for multiple queues per po

[ovs-dev] [PATCH v3] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Yi-Hung Wei
This patch addresses the issue that the conntrack fields associated with a packet are missing after a packet is resumed by NXT_RESUME. For example, the last rule in the following OpenFlow pipeline is not working without this patch. table=0, arp,in_port=1 action=2 table=0, arp,in_port=2 action=1 ta

Re: [ovs-dev] [PATCH v2] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Yi-Hung Wei
On Wed, Sep 26, 2018 at 3:27 PM Ben Pfaff wrote: > > On Wed, Sep 26, 2018 at 03:08:03PM -0700, Yi-Hung Wei wrote: > > This patch addresses the issue that the conntrack fields associated > > with a packet are missing after a packet is resumed by NXT_RESUME. > > For example, the last rule in the fol

Re: [ovs-dev] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread 0-day Robot
Bleep bloop. Greetings Yi-Hung Wei, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. build: libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I ./include -I ./include -I ./lib -I ./lib -W

Re: [ovs-dev] [PATCH v1] Load balancing not happening in case of select group action for MPLS tagged packets

2018-09-26 Thread Ben Pfaff
On Mon, Sep 24, 2018 at 10:59:34PM +0530, Anju Thomas wrote: > OVS does not do load balancing for select group buckets in case of mpls > tagged packets. > After an MPLS pop action, the expectation is to trigger recirculation . > This recirculation will ensure an RSS re-computation which will ensur

Re: [ovs-dev] [PATCH] dpif: Remove support for multiple queues per port.

2018-09-26 Thread Ben Pfaff
Thanks, applied to master. On Wed, Sep 26, 2018 at 03:29:16PM -0700, Yifeng Sun wrote: > It looks good to me, and testing shows no problem. Thanks. > > Tested-by: Yifeng Sun > Reviewed-by: Yifeng Sun > > On Tue, Sep 25, 2018 at 3:14 PM Ben Pfaff wrote: > > > Commit 69c51582ff78 ("dpif-netlin

Re: [ovs-dev] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread 0-day Robot
Bleep bloop. Greetings Yi-Hung Wei, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. build: libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I ./include -I ./include -I ./lib -I ./lib -W

Re: [ovs-dev] [PATCH v3] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Ben Pfaff
On Wed, Sep 26, 2018 at 03:47:15PM -0700, Yi-Hung Wei wrote: > This patch addresses the issue that the conntrack fields associated > with a packet are missing after a packet is resumed by NXT_RESUME. > For example, the last rule in the following OpenFlow pipeline is not > working without this patch

Re: [ovs-dev] [PATCH] dpif: Remove support for multiple queues per port.

2018-09-26 Thread Matteo Croce
On Wed, Sep 26, 2018 at 10:29 PM Yifeng Sun wrote: > > It looks good to me, and testing shows no problem. Thanks. > > Tested-by: Yifeng Sun > Reviewed-by: Yifeng Sun > Works fine here too. Regards, -- Matteo Croce per aspera ad upstream ___ dev maili

[ovs-dev] [PATCH] ofproto: Fix build with some GCC versions.

2018-09-26 Thread Ben Pfaff
GCC 4.8.x and possibly other versions don't like a designated initializer for an anonymous struct, see e.g. https://travis-ci.org/openvswitch/ovs/jobs/433747674 Fixes: f836888d28ec ("ofproto: Handle OpenFlow version mismatch for requestforward with groups.") Signed-off-by: Ben Pfaff --- ofproto

[ovs-dev] [PATCH] treewide: Fix spelling of "receive".

2018-09-26 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- datapath-windows/ovsext/IpFragment.c | 4 ++-- datapath-windows/ovsext/IpFragment.h | 2 +- ovn/controller/pinctrl.c | 2 +- tests/ofproto-dpif.at| 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/datapath-windows/ovse

Re: [ovs-dev] [PATCH v2] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Ben Pfaff
On Wed, Sep 26, 2018 at 03:53:17PM -0700, Yi-Hung Wei wrote: > On Wed, Sep 26, 2018 at 3:27 PM Ben Pfaff wrote: > > > > On Wed, Sep 26, 2018 at 03:08:03PM -0700, Yi-Hung Wei wrote: > > > This patch addresses the issue that the conntrack fields associated > > > with a packet are missing after a pac

Re: [ovs-dev] [PATCH v3] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Yi-Hung Wei
On Wed, Sep 26, 2018 at 4:07 PM Ben Pfaff wrote: > > On Wed, Sep 26, 2018 at 03:47:15PM -0700, Yi-Hung Wei wrote: > > This patch addresses the issue that the conntrack fields associated > > with a packet are missing after a packet is resumed by NXT_RESUME. > > For example, the last rule in the fol

Re: [ovs-dev] [PATCH] sflow: Set agent address properly based on collector address.

2018-09-26 Thread Ben Pfaff
On Wed, Sep 19, 2018 at 01:32:57PM -0700, Justin Pettit wrote: > If an agent address is not provided, OVS tries to choose a source > address based on the source IP that would be used to connect to the > sFlow collector. The code previously set the agent address to the > collector's address instead

Re: [ovs-dev] [PATCH v3] ofproto-dpif-xlate: Fix conntrack fields on NXT_RESUME

2018-09-26 Thread Ben Pfaff
On Wed, Sep 26, 2018 at 04:15:17PM -0700, Yi-Hung Wei wrote: > On Wed, Sep 26, 2018 at 4:07 PM Ben Pfaff wrote: > > > > On Wed, Sep 26, 2018 at 03:47:15PM -0700, Yi-Hung Wei wrote: > > > This patch addresses the issue that the conntrack fields associated > > > with a packet are missing after a pac

Re: [ovs-dev] treewide: Fix spelling of "receive".

2018-09-26 Thread 0-day Robot
Bleep bloop. Greetings Ben Pfaff, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. build: libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I ./include -I ./include -I ./lib -I ./lib -Wstr

[ovs-dev] Reminder,

2018-09-26 Thread Juliet Muhammad
Hello Please i still await your response regarding my previous email. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] treewide: Fix spelling of "receive".

2018-09-26 Thread Justin Pettit
> On Sep 26, 2018, at 4:12 PM, Ben Pfaff wrote: > > Signed-off-by: Ben Pfaff Ha. Acked-by: Justin Pettit --Justin ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] ofproto: Fix build with some GCC versions.

2018-09-26 Thread Justin Pettit
> On Sep 26, 2018, at 4:11 PM, Ben Pfaff wrote: > > GCC 4.8.x and possibly other versions don't like a designated initializer > for an anonymous struct, see e.g. > https://travis-ci.org/openvswitch/ovs/jobs/433747674 > > Fixes: f836888d28ec ("ofproto: Handle OpenFlow version mismatch for > re

Re: [ovs-dev] [PATCH v6 1/3] dpif-netlink: Detect Out-Of-Resource condition on a netdev

2018-09-26 Thread Sriharsha Basavapatna via dev
Hi Simon, Thanks for your review comments. Please see my response inline. On Mon, Sep 24, 2018 at 8:02 PM Simon Horman wrote: > > On Sat, Sep 15, 2018 at 09:40:08PM +0530, Sriharsha Basavapatna via dev wrote: > > This is the first patch in the patch-set to support dynamic rebalancing > > of offl

Re: [ovs-dev] [PATCH v6 2/3] revalidator: Gather packets-per-second rate of flows

2018-09-26 Thread Sriharsha Basavapatna via dev
Hi Simon, Thanks for your review comments; please see my response inline. On Mon, Sep 24, 2018 at 8:07 PM Simon Horman wrote: > > Hi Sriharsha, > > thanks for your patch. > > On Sat, Sep 15, 2018 at 09:40:09PM +0530, Sriharsha Basavapatna via dev wrote: > > This is the second patch in the patch-

Re: [ovs-dev] [PATCH v6 3/3] revalidator: Rebalance offloaded flows based on the pps rate

2018-09-26 Thread Sriharsha Basavapatna via dev
Hi Simon, Thanks for your review comments; please see my response inline. On Mon, Sep 24, 2018 at 8:16 PM Simon Horman wrote: > > Hi Sriharsha, > > thanks for your patch. > > I am pleased to see work in this area. I do however, have some questions > about the implementation. Please see comments

[ovs-dev] [PATCH v7 0/3] Support dynamic rebalancing of offloaded flows

2018-09-26 Thread Sriharsha Basavapatna via dev
With the current OVS offload design, when an offload-device fails to add a flow rule and returns an error, OVS adds the rule to the kernel datapath. The flow gets processed by the kernel datapath for the entire life of that flow. This is fine when an error is returned by the device due to lack of s

[ovs-dev] [PATCH v7 1/3] dpif-netlink: Detect Out-Of-Resource condition on a netdev

2018-09-26 Thread Sriharsha Basavapatna via dev
This is the first patch in the patch-set to support dynamic rebalancing of offloaded flows. The patch detects OOR condition on a netdev port when ENOSPC error is returned by TC-Flower while adding a flow rule. A new structure is added to the netdev called "netdev_hw_info", to store OOR related inf

[ovs-dev] [PATCH v7 2/3] revalidator: Gather packets-per-second rate of flows

2018-09-26 Thread Sriharsha Basavapatna via dev
This is the second patch in the patch-set to support dynamic rebalancing of offloaded flows. The packets-per-second (pps) rate for each flow is computed in the context of revalidator threads when the flow stats are retrieved. The pps-rate is computed only after a flow is revalidated and is not sch

[ovs-dev] [PATCH v7 3/3] revalidator: Rebalance offloaded flows based on the pps rate

2018-09-26 Thread Sriharsha Basavapatna via dev
This is the third patch in the patch-set to support dynamic rebalancing of offloaded flows. The dynamic rebalancing functionality is implemented in this patch. The ukeys that are not scheduled for deletion are obtained and passed as input to the rebalancing routine. The rebalancing is done in the

Re: [ovs-dev] dpif-netlink: Detect Out-Of-Resource condition on a netdev

2018-09-26 Thread 0-day Robot
Bleep bloop. Greetings Sriharsha Basavapatna via dev, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. checkpatch: ERROR: Author Sriharsha Basavapatna via dev needs to sign off. WARNING: Unex

Re: [ovs-dev] revalidator: Rebalance offloaded flows based on the pps rate

2018-09-26 Thread 0-day Robot
Bleep bloop. Greetings Sriharsha Basavapatna via dev, I am a robot and I have tried out your patch. Thanks for your contribution. I encountered some error that I wasn't expecting. See the details below. git-am: fatal: sha1 information is lacking or useless (lib/dpif-netlink.c). Repository lac