Re: [ovs-dev] [PATCH v3 1/2] vswitchd: Document netdev-dpdk commands.

2017-12-11 Thread Ilya Maximets
On 08.12.2017 21:18, Flavio Leitner wrote: > On Fri, Dec 08, 2017 at 06:38:10PM +0300, Ilya Maximets wrote: >> netdev-dpdk appctl commands added to man pages. >> >> Signed-off-by: Ilya Maximets >> Acked-by: Antonio Fischetti >> --- >> NEWS

[ovs-dev] [PATCH v4 2/2] netdev-dpdk: Add debug appctl to get mempool information.

2017-12-11 Thread Ilya Maximets
New appctl 'netdev-dpdk/get-mempool-info' implemented to get result of 'rte_mempool_list_dump()' function if no arguments passed and 'rte_mempool_dump()' if DPDK netdev passed as argument. Could be used for debugging mbuf leaks and other mempool related issues. Most useful in pair with `grep -v

[ovs-dev] [PATCH v4 1/2] vswitchd: Document netdev-dpdk commands.

2017-12-11 Thread Ilya Maximets
netdev-dpdk appctl commands added to man pages. Signed-off-by: Ilya Maximets --- NEWS| 1 + lib/automake.mk | 1 + lib/netdev-dpdk-unixctl.man | 9 + manpages.mk | 2 ++ vswitchd/ovs-vswitchd.8.in | 1 + 5

[ovs-dev] [PATCH v4 0/2] netdev-dpdk: Mempool creation failure + Appctl

2017-12-11 Thread Ilya Maximets
Second patch adds debug appctl to obtain mempool information from DPDK including names, numbers of available mbufs, object sizes and memory pointers. First patch introduces common place for 'netdev-dpdk' unixctl commands documentation in man pages. Version 4: * Rebased on current

Re: [ovs-dev] [PATCH v3 2/2] netdev-dpdk: Add debug appctl to get mempool information.

2017-12-11 Thread Ilya Maximets
On 08.12.2017 19:36, Kavanagh, Mark B wrote: >> From: Ilya Maximets [mailto:i.maxim...@samsung.com] >> Sent: Friday, December 8, 2017 3:38 PM >> To: ovs-dev@openvswitch.org >> Cc: Heetae Ahn ; Fischetti, Antonio >> ; Loftus, Ciara

Re: [ovs-dev] [RFC PATCH V4 0/9] netdev-dpdk: support multi-segment mbufs

2017-12-11 Thread Kavanagh, Mark B
Thanks Sugesh, I'll rebase today and send an updated version that addresses your comments. Best, Mark >-Original Message- >From: Chandran, Sugesh >Sent: Friday, December 8, 2017 6:10 PM >To: Kavanagh, Mark B ; d...@openvswitch.org; >qiud...@chinac.com >Cc:

Re: [ovs-dev] [RFC PATCH V4 9/9] netdev-dpdk: support multi-segment jumbo frames

2017-12-11 Thread Kavanagh, Mark B
>From: Chandran, Sugesh >Sent: Friday, December 8, 2017 6:05 PM >To: Kavanagh, Mark B ; d...@openvswitch.org; >qiud...@chinac.com >Cc: Stokes, Ian ; Loftus, Ciara >; santosh.shu...@caviumnetworks.com >Subject: RE:

[ovs-dev] [PATCH V2] ofproto-dpif-xlate: Incorrect handling of errors in group action processing

2017-12-11 Thread Vishal Deep Ajmera
As per OpenFlow v1.3 specification, when an action list contains a group action a copy of the packet is passed to the group for processing by the group. This means that if there is an error encountered during group processing, only the copy of packet should be dropped, but subsequent actions in

Re: [ovs-dev] [PATCH v3 1/3] dpif-netdev: Refactor PMD performance into dpif-netdev-perf

2017-12-11 Thread Jan Scheurich
Hi Billy, My patches frequently get corrupted by our email system. When I submit the v4 of the series adapted to the reverted dp_netdev_pmd_thread struct changes I will try out another method of sending them. For now, could you please try the attached patch files? For me they apply cleanly on

Re: [ovs-dev] [RFC PATCH V4 9/9] netdev-dpdk: support multi-segment jumbo frames

2017-12-11 Thread Kavanagh, Mark B
>From: Kavanagh, Mark B >Sent: Monday, December 11, 2017 11:49 AM >To: Chandran, Sugesh ; d...@openvswitch.org; >qiud...@chinac.com >Cc: Stokes, Ian ; Loftus, Ciara >; santosh.shu...@caviumnetworks.com >Subject: RE:

[ovs-dev] [PATCH] daemon-unix: include missing help information

2017-12-11 Thread Aaron Conole
These options have existed for a while, but were not expressed in the help information. Inform the user that these options exist, and give some basic help. Reported-by: Saravanan KR Signed-off-by: Aaron Conole --- lib/daemon-unix.c | 2 ++ 1 file

Re: [ovs-dev] [PATCH] daemon-unix: include missing help information

2017-12-11 Thread Markos Chandras
On 11/12/17 15:07, Aaron Conole wrote: > These options have existed for a while, but were not expressed in the > help information. Inform the user that these options exist, and give > some basic help. > > Reported-by: Saravanan KR > Signed-off-by: Aaron Conole

Re: [ovs-dev] [PATCH] tunnel: fix tnl_find() after packet_type changed

2017-12-11 Thread Zoltán Balogh
Hi, I've been working on the solution proposed by Jan. I faced a new issue with patch ports. Let's have a config like in unit test 1025: "1025: ofproto-dpif - balance-tcp bonding, different recirc flow " +-+ | br-int| p5 (OF 5) | o--<---

[ovs-dev] [patch v2] conntrack: Some style improvements.

2017-12-11 Thread Darrell Ball
Fix up some instances where variable declarations were not close enough to their use, as these were missed before. This is the preferred art in OVS code and flagged heavily in code reviews. This is highly desirable due to code clarity reasons. There are also some cases where newlines were not

Re: [ovs-dev] [PATCH] datapath-windows: Correct endianness for deleting zone.

2017-12-11 Thread aserdean
I was concerned a bit about binary compatibility between the future userspace binaries and older kernel versions. But Windows users usually just use the MSI (because of the signing issues). Thanks both! Alin. > -Original Message- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev-

[ovs-dev] [PATCH v7 3/6] netdev: Remove unused may_steal.

2017-12-11 Thread Ilya Maximets
Not needed anymore because 'may_steal' already handled on dpif-netdev layer and always true. Acked-by: Eelco Chaudron Signed-off-by: Ilya Maximets --- lib/dpif-netdev.c | 2 +- lib/netdev-bsd.c | 4 ++-- lib/netdev-dpdk.c | 25

Re: [ovs-dev] [PATCH v4 1/2] vswitchd: Document netdev-dpdk commands.

2017-12-11 Thread Kavanagh, Mark B
>From: Ilya Maximets [mailto:i.maxim...@samsung.com] >Sent: Monday, December 11, 2017 1:19 PM >To: ovs-dev@openvswitch.org >Cc: Heetae Ahn ; Fischetti, Antonio >; Loftus, Ciara ; >Kavanagh, Mark B

[ovs-dev] [PATCH v7 1/6] dpif-netdev: Keep latest measured time for PMD thread.

2017-12-11 Thread Ilya Maximets
In current implementation 'now' variable updated once on each receive cycle and passed through the whole datapath via function arguments. It'll be better to keep this variable inside PMD thread structure to be able to get it at any time. Such solution will save the stack memory and simplify

[ovs-dev] [PATCH v7 0/6] Output packet batching.

2017-12-11 Thread Ilya Maximets
This patch-set inspired by [1] from Bhanuprakash Bodireddy. Implementation of [1] looks very complex and introduces many pitfalls [2] for later code modifications like possible packet stucks. This version targeted to make simple and flexible output packet batching on higher level without

Re: [ovs-dev] [PATCH v3 2/5] conntrack: add commands to r/w CT parameters.

2017-12-11 Thread Darrell Ball
Thanks Antonio for doing all this and pushing it forward. Regarding patches 2-4: I understand you want to save some code for various possible set and get operations. The prior art for these commands is however not generic set and get commands. Sometimes, we have specific commands that can take

[ovs-dev] [PATCH v7 4/6] netdev: Remove useless cutlen.

2017-12-11 Thread Ilya Maximets
Cutlen already applied while processing OVS_ACTION_ATTR_OUTPUT. Acked-by: Eelco Chaudron Signed-off-by: Ilya Maximets --- lib/netdev-bsd.c | 2 +- lib/netdev-dpdk.c | 5 - lib/netdev-dummy.c | 2 +- lib/netdev-linux.c | 4 ++-- 4 files

[ovs-dev] [PATCH v7 5/6] dpif-netdev: Time based output batching.

2017-12-11 Thread Ilya Maximets
This allows to collect packets from more than one RX burst and send them together with a configurable intervals. 'other_config:tx-flush-interval' can be used to configure time that a packet can wait in output batch for sending. dpif-netdev turned to microsecond resolution for time measuring to

[ovs-dev] [PATCH v7 6/6] dpif-netdev: Count sent packets and batches.

2017-12-11 Thread Ilya Maximets
New statistics for 'pmd-stats-show' command: average number of packets per output batch. Acked-by: Eelco Chaudron Signed-off-by: Ilya Maximets --- lib/dpif-netdev.c | 27 ++- 1 file changed, 22 insertions(+), 5 deletions(-)

Re: [ovs-dev] [PATCH v4 2/2] netdev-dpdk: Add debug appctl to get mempool information.

2017-12-11 Thread Kavanagh, Mark B
>From: Ilya Maximets [mailto:i.maxim...@samsung.com] >Sent: Monday, December 11, 2017 1:19 PM >To: ovs-dev@openvswitch.org >Cc: Heetae Ahn ; Fischetti, Antonio >; Loftus, Ciara ; >Kavanagh, Mark B

[ovs-dev] [PATCH v7 2/6] dpif-netdev: Output packet batching.

2017-12-11 Thread Ilya Maximets
While processing incoming batch of packets they are scattered across many per-flow batches and sent separately. This becomes an issue while using more than a few flows. For example if we have balanced-tcp OvS bonding with 2 ports there will be 256 datapath internal flows for each dp_hash

Re: [ovs-dev] [PATCH] dpif-netdev: Refactor datapath flow cache

2017-12-11 Thread Ferriter, Cian
Hi Jan, This is a very interesting patch with compelling results. I had a few questions after reading the commit message for this patch: How did you decide on 1M as the proposed size for the DFC? Will the size of this DFC be configurable (i.e. map a different number of hash bits)? I was

Re: [ovs-dev] [PATCH v3 5/5] doc: ConnTracker cfg parameters.

2017-12-11 Thread Darrell Ball
Thanks Antonio for doing this. 1/ Given the comments on patches 2-4, I think the documentation would change in dpctl.man to be attribute specific, if we go that route. I did not write it up yet, but most of it would be obvious. One exception is how a case where setting a limit is

[ovs-dev] [PATCH] MSI: Use platform specific netcfg location

2017-12-11 Thread Alin Gabriel Serdean
We use the command `netcfg` to install the Windows datapath. Since we have both 32 and 64 bit installers available point it to the platform specific binary. Found while testing. Signed-off-by: Alin Gabriel Serdean --- windows/ovs-windows-installer/CustomActions.wxs | 9

Re: [ovs-dev] [PATCH v4 2/2] netdev-dpdk: Add debug appctl to get mempool information.

2017-12-11 Thread Fischetti, Antonio
Still LGTM, please add Acked-by: Antonio Fischetti > -Original Message- > From: Kavanagh, Mark B > Sent: Monday, December 11, 2017 4:37 PM > To: Ilya Maximets ; ovs-dev@openvswitch.org > Cc: Heetae Ahn ;

Re: [ovs-dev] [PATCH] dpif-netdev: Refactor datapath flow cache

2017-12-11 Thread Jan Scheurich
Hi Cian, Thank you for your feedback and the interesting measurement results. As first I was a bit surprised that the gain is smaller in your P2P test case. I guess that is because your traffic passes the datapath (and hence EMC) only once, while in our PVP test with VXLAN each packet causes

Re: [ovs-dev] [PATCH v6 0/4] nsh: add new nsh key ttl and action dec_nsh_ttl

2017-12-11 Thread Gregory Rose
On 12/10/2017 4:39 PM, Yang, Yi wrote: On Sat, Dec 09, 2017 at 12:42:32AM +0800, Gregory Rose wrote: On 12/8/2017 6:04 AM, Yi Yang wrote: v5->v6 - Rebase v5 to master - Refactor netlink message format to align to NSH kernel implementation - Add dec_nsh_ttl unit test into

Re: [ovs-dev] OVS DPDK: dpdk_merge pull request

2017-12-11 Thread Ben Pfaff
On Fri, Dec 08, 2017 at 10:14:49PM +, Stokes, Ian wrote: > The following changes since commit 65d9759c4fc433dbda89ad3d7225c1f5eac274ca: > > ovsdb-data: Add OVS_WARN_UNUSED_RESULT annotations to function definitions. > (2017-12-08 13:39:29 -0800) > > are available in the git repository at:

[ovs-dev] [PATCH 1/2] valgrind: Add support to run kernel datapath testsuite under valgrind

2017-12-11 Thread Yifeng Sun
With this patch, kernel datapath testsuite can be run under valgrind by using the "check-kernel-valgrind" target and the results can be found under directory "tests/system-kmod-testsuite.dir/". Signed-off-by: Yifeng Sun --- Documentation/topics/testing.rst | 4

Re: [ovs-dev] OVS DPDK: dpdk_merge pull request

2017-12-11 Thread Stokes, Ian
> On Fri, Dec 08, 2017 at 10:14:49PM +, Stokes, Ian wrote: > > The following changes since commit > 65d9759c4fc433dbda89ad3d7225c1f5eac274ca: > > > > ovsdb-data: Add OVS_WARN_UNUSED_RESULT annotations to function > definitions. (2017-12-08 13:39:29 -0800) > > > > are available in the git

Re: [ovs-dev] [PATCH v6 0/4] nsh: add new nsh key ttl and action dec_nsh_ttl

2017-12-11 Thread Gregory Rose
On 12/11/2017 10:55 AM, Ben Pfaff wrote: On Mon, Dec 11, 2017 at 10:25:54AM -0800, Gregory Rose wrote: On 12/10/2017 4:39 PM, Yang, Yi wrote: On Sat, Dec 09, 2017 at 12:42:32AM +0800, Gregory Rose wrote: On 12/8/2017 6:04 AM, Yi Yang wrote: v5->v6 - Rebase v5 to master - Refactor

Re: [ovs-dev] [PATCH] ofproto: Keep inserting buckets into a group from changing group type.

2017-12-11 Thread Ben Pfaff
Thank you for testing. I applied this to master and backported it as far as OVS 2.6. On Mon, Dec 11, 2017 at 11:04:37AM +0530, shivani dommeti wrote: > Thank you Ben for suggesting the fix. > OVS is working as expected after adding the changes. > > > Regards, > Shivani. > > On Fri, Dec 8,

Re: [ovs-dev] [PATCH v3 2/5] conntrack: add commands to r/w CT parameters.

2017-12-11 Thread Darrell Ball
One extra note inline Thanks Darrell On 12/11/17, 8:35 AM, "Darrell Ball" wrote: Thanks Antonio for doing all this and pushing it forward. Regarding patches 2-4: I understand you want to save some code for various possible set and get operations.

Re: [ovs-dev] [PATCH] daemon-unix: include missing help information

2017-12-11 Thread Ben Pfaff
On Mon, Dec 11, 2017 at 03:11:25PM +, Markos Chandras wrote: > On 11/12/17 15:07, Aaron Conole wrote: > > These options have existed for a while, but were not expressed in the > > help information. Inform the user that these options exist, and give > > some basic help. > > > > Reported-by:

[ovs-dev] [PATCH 2/2] bond: Fix bug that writes to freed memory

2017-12-11 Thread Yifeng Sun
pr_op->pr_rule is pointing to memory in bond->hash. It shouldn't be written if bond->hash is already freed. This bug is reported by running kernel path testsuite under valgrind: Invalid write of size 8 at 0x413D16: update_recirc_rules__ (bond.c:392) by 0x414CA0: bond_unref (bond.c:290)

Re: [ovs-dev] [PATCH v6 0/4] nsh: add new nsh key ttl and action dec_nsh_ttl

2017-12-11 Thread Ben Pfaff
On Mon, Dec 11, 2017 at 10:25:54AM -0800, Gregory Rose wrote: > On 12/10/2017 4:39 PM, Yang, Yi wrote: > >On Sat, Dec 09, 2017 at 12:42:32AM +0800, Gregory Rose wrote: > >>On 12/8/2017 6:04 AM, Yi Yang wrote: > >>>v5->v6 > >>>- Rebase v5 to master > >>>- Refactor netlink message format to

Re: [ovs-dev] [PATCH] dpif-netdev: Avoid "sparse" warning.

2017-12-11 Thread Stokes, Ian
> "sparse" warns when odp_port_t is used directly in an inequality > comparison. This avoids the warning. > > CC: Kevin Traynor > Fixes: a130f1a89bd8 ("dpif-netdev: Add port/queue tiebreaker to > rxq_cycle_sort.") > Signed-off-by: Ben Pfaff > --- >

Re: [ovs-dev] [PATCH 3/5] ovsdb-idl: Fix assertion failure on error path parsing server reply.

2017-12-11 Thread Alin Serdean
> -Original Message- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > boun...@openvswitch.org] On Behalf Of Ben Pfaff > Sent: Friday, December 8, 2017 11:24 PM > To: d...@openvswitch.org > Cc: Ben Pfaff > Subject: [ovs-dev] [PATCH 3/5] ovsdb-idl: Fix assertion

Re: [ovs-dev] [PATCH] dpif-netdev: Avoid "sparse" warning.

2017-12-11 Thread Kevin Traynor
On 12/11/2017 06:34 PM, Ben Pfaff wrote: > "sparse" warns when odp_port_t is used directly in an inequality > comparison. This avoids the warning. > > CC: Kevin Traynor > Fixes: a130f1a89bd8 ("dpif-netdev: Add port/queue tiebreaker to > rxq_cycle_sort.") > Signed-off-by:

Re: [ovs-dev] [PATCH 2/5] ovsdb-idl: Fix indentation in a couple of places.

2017-12-11 Thread Alin Serdean
> -Original Message- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > boun...@openvswitch.org] On Behalf Of Ben Pfaff > Sent: Friday, December 8, 2017 11:24 PM > To: d...@openvswitch.org > Cc: Ben Pfaff > Subject: [ovs-dev] [PATCH 2/5] ovsdb-idl: Fix indentation

Re: [ovs-dev] [PATCH 1/5] ovsdb-idl: Improve comments.

2017-12-11 Thread Alin Serdean
LGTM. Just two nits. > -Original Message- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > boun...@openvswitch.org] On Behalf Of Ben Pfaff > Sent: Friday, December 8, 2017 11:24 PM > To: d...@openvswitch.org > Cc: Ben Pfaff > Subject: [ovs-dev] [PATCH 1/5]

[ovs-dev] Auditoría para la adquisición de empresas

2017-12-11 Thread Mitigue riesgos y garantice utilidades en sus inversiones.
Porque antes de arriesgar, hay que investigar Auditoría para la adquisición de empresas: Due Diligence 18 de Diciembre - CP. y MAN. Fernando García Zárate9am-6pm Due diligence es una herramienta que le ayudará a prevenir cualquier situación que agravie sus intereses con la realización de una

Re: [ovs-dev] [PATCH] dpif-netdev: Avoid "sparse" warning.

2017-12-11 Thread Ben Pfaff
On Mon, Dec 11, 2017 at 08:00:07PM +, Stokes, Ian wrote: > > "sparse" warns when odp_port_t is used directly in an inequality > > comparison. This avoids the warning. > > > > CC: Kevin Traynor > > Fixes: a130f1a89bd8 ("dpif-netdev: Add port/queue tiebreaker to > >

[ovs-dev] [PATCH 00/12] Backport upstream Linux OVS patches

2017-12-11 Thread Greg Rose
The following patches are available in the current Linux upstream git repository: 183dea5 openvswitch: do not propagate headroom updates to internal port 311af51 openvswitch: use ktime_get_ts64() instead of ktime_get_ts() 67c8d22 openvswitch: fix the incorrect flow action alloc size

Re: [ovs-dev] [PATCH] dpif-netdev: Avoid "sparse" warning.

2017-12-11 Thread Ben Pfaff
On Mon, Dec 11, 2017 at 08:18:35PM +, Kevin Traynor wrote: > On 12/11/2017 06:34 PM, Ben Pfaff wrote: > > "sparse" warns when odp_port_t is used directly in an inequality > > comparison. This avoids the warning. > > > > CC: Kevin Traynor > > Fixes: a130f1a89bd8

[ovs-dev] [PATCH 01/12] datapath: Fix an error handling path in 'ovs_nla_init_match_and_action()

2017-12-11 Thread Greg Rose
From: Christophe JAILLET Upstream commit: commit 5829e62ac17a40ab08c1b905565604a4b5fa7af6 Author: Christophe JAILLET Date: Mon Sep 11 21:56:20 2017 +0200 openvswitch: Fix an error handling path in

[ovs-dev] [PATCH 02/12] datapath: reliable interface indentification in port dumps

2017-12-11 Thread Greg Rose
From: Jiri Benc Upstream commit: commit 9354d452034273a50a4fd703bea31e5d6b1fc20b Author: Jiri Benc Date: Thu Nov 2 17:04:37 2017 -0200 openvswitch: reliable interface indentification in port dumps This patch allows reliable

[ovs-dev] [PATCH 03/12] datapath: export get_dp() API

2017-12-11 Thread Greg Rose
From: Andy Zhou Upstream commit: commit 9602c01e57f7b868d748c2ba2aef0efa64b71ffc Author: Andy Zhou Date: Fri Nov 10 12:09:41 2017 -0800 openvswitch: export get_dp() API. Later patches will invoke get_dp() outside of datapath.c. Export it.

[ovs-dev] [PATCH 04/12] datapath: Add meter netlink definitions

2017-12-11 Thread Greg Rose
From: Andy Zhou Upstream commit: commit 5794040647de4011598a6d005fdad95d24fd385b Author: Andy Zhou Date: Fri Nov 10 12:09:40 2017 -0800 openvswitch: Add meter netlink definitions Meter has its own netlink family. Define netlink messages and

[ovs-dev] [PATCH 05/12] datapath: Add meter infrastructure

2017-12-11 Thread Greg Rose
From: Andy Zhou Upstream commit: commit 96fbc13d7e770b542d2d1fcf700d0baadc6e8063 Author: Andy Zhou Date: Fri Nov 10 12:09:42 2017 -0800 openvswitch: Add meter infrastructure OVS kernel datapath so far does not support Openflow meter action.

[ovs-dev] [PATCH 08/12] datapath: meter: fix NULL pointer dereference in ovs_meter_cmd_reply_start

2017-12-11 Thread Greg Rose
From: "Gustavo A. R. Silva" Upstream commit: commit b74912a2fdae9aadd20da502644aa8848c861954 Author: Gustavo A. R. Silva Date: Tue Nov 14 14:26:16 2017 -0600 openvswitch: meter: fix NULL pointer dereference in

[ovs-dev] [PATCH 07/12] datapath: Using kfree_rcu() to simplify the code

2017-12-11 Thread Greg Rose
From: Wei Yongjun Upstream commit: commit 6dc14dc40a1d1dafd8491c349b5f3e15aabc4edb Author: Wei Yongjun Date: Tue Nov 14 06:27:12 2017 + openvswitch: Using kfree_rcu() to simplify the code The callback function of

[ovs-dev] [PATCH 06/12] datapath: Fix return value check in ovs_meter_cmd_features()

2017-12-11 Thread Greg Rose
From: Wei Yongjun Upstream commit: commit 8a860c2bcc84a8e4fbcabb928cd97e4c51b17d93 Author: Wei Yongjun Date: Tue Nov 14 06:20:16 2017 + openvswitch: Fix return value check in ovs_meter_cmd_features() In case of error,

[ovs-dev] [PATCH 10/12] datapath: fix the incorrect flow action alloc size

2017-12-11 Thread Greg Rose
From: zhangliping Upstream commit: commit 67c8d22a73128ff910e2287567132530abcf5b71 Author: zhangliping Date: Sat Nov 25 22:02:12 2017 +0800 openvswitch: fix the incorrect flow action alloc size If we want to add a

[ovs-dev] [PATCH 09/12] datapath: fix data type in queue_gso_packets

2017-12-11 Thread Greg Rose
From: "Gustavo A. R. Silva" Upstream commit: commit 2734166e89639c973c6e125ac8bcfc2d9db72b70 Author: Gustavo A. R. Silva Date: Sat Nov 25 13:14:40 2017 -0600 net: openvswitch: datapath: fix data type in queue_gso_packets

Re: [ovs-dev] [patch v3 3/3] conntrack: Disable algs by default.

2017-12-11 Thread Ben Pfaff
Thanks, Darrell and Aaron. I applied this series to master. On Wed, Dec 06, 2017 at 07:10:03PM +, Darrell Ball wrote: > Thanks for the reviews Aaron. > > Darrell > > > > On 12/6/17, 11:04 AM, "ovs-dev-boun...@openvswitch.org on behalf of Aaron > Conole"

Re: [ovs-dev] [patch v1] conntrack: Fix icmp error address sanity check.

2017-12-11 Thread Darrell Ball
Needs to go back to 2.6; at least the changes in lib/conntrack.c Thanks Darrell On 12/11/17, 2:20 PM, "ovs-dev-boun...@openvswitch.org on behalf of Ben Pfaff" wrote: On Wed, Dec 06, 2017 at 06:04:20PM -0800, Darrell Ball wrote:

Re: [ovs-dev] [PATCH 1/5] ovsdb-idl: Improve comments.

2017-12-11 Thread Alin Serdean
> -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Tuesday, December 12, 2017 12:30 AM > To: Alin Serdean > Cc: d...@openvswitch.org > Subject: Re: [ovs-dev] [PATCH 1/5] ovsdb-idl: Improve comments. > > On Mon, Dec 11, 2017 at

Re: [ovs-dev] [patch v1] conntrack: Fix icmp error address sanity check.

2017-12-11 Thread Ben Pfaff
OK, I made that change and applied it to branch-2.8. It didn't apply cleanly to 2.7 or 2.6, can you look at that? On Mon, Dec 11, 2017 at 10:28:32PM +, Darrell Ball wrote: > Yes, it is Ben > > Thanks Darrell > > On 12/11/17, 2:27 PM, "Ben Pfaff" wrote: > > It fails to

Re: [ovs-dev] [PATCH 5/5] ovsdb-idl: Tolerate initialization races for singleton tables.

2017-12-11 Thread Ben Pfaff
On Mon, Dec 11, 2017 at 10:30:46PM +, Alin Serdean wrote: > > > > -Original Message- > > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > > boun...@openvswitch.org] On Behalf Of Ben Pfaff > > Sent: Friday, December 8, 2017 11:25 PM > > To: d...@openvswitch.org > > Cc: Ben

Re: [ovs-dev] [PATCH] travis: Use pip2 instead of pip for OSX build.

2017-12-11 Thread aserdean
I applied this on master. > -Original Message- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > boun...@openvswitch.org] On Behalf Of aserd...@ovn.org > Sent: Monday, December 11, 2017 4:23 PM > To: 'Ilya Maximets' ; ovs-dev@openvswitch.org > Cc: 'Lance

[ovs-dev] [patch 2.7] conntrack: Fix icmp error address sanity check.

2017-12-11 Thread Darrell Ball
An address sanity check is done on icmp error packets to check that the icmp error payload makes sense w.r.t. the packet itself. The sanity check was partially incorrect since it tried to verify the source address of the error packet against the original destination, which does not makes since

Re: [ovs-dev] [patch v1] conntrack: Fix icmp error address sanity check.

2017-12-11 Thread Darrell Ball
Ben I sent a 2.7 patch here: https://patchwork.ozlabs.org/patch/847308/ it should be applicable for 2.6 as well. Thanks Darrell On 12/11/17, 2:43 PM, "Ben Pfaff" wrote: OK, I made that change and applied it to branch-2.8. It didn't apply cleanly to 2.7 or 2.6, can you

Re: [ovs-dev] [PATCH v6 0/4] nsh: add new nsh key ttl and action dec_nsh_ttl

2017-12-11 Thread Yang, Yi
On Tue, Dec 12, 2017 at 03:15:49AM +0800, Gregory Rose wrote: > On 12/11/2017 10:55 AM, Ben Pfaff wrote: > > On Mon, Dec 11, 2017 at 10:25:54AM -0800, Gregory Rose wrote: > >> On 12/10/2017 4:39 PM, Yang, Yi wrote: > >>> On Sat, Dec 09, 2017 at 12:42:32AM +0800, Gregory Rose wrote: > On

Re: [ovs-dev] [PATCH 1/5] ovsdb-idl: Improve comments.

2017-12-11 Thread aserdean
> -Original Message- > From: Ben Pfaff [mailto:b...@ovn.org] > Sent: Tuesday, December 12, 2017 12:40 AM > To: Alin Serdean > Cc: d...@openvswitch.org > Subject: Re: [ovs-dev] [PATCH 1/5] ovsdb-idl: Improve comments. > > On Mon, Dec 11, 2017 at

[ovs-dev] [PATCH 12/12] datapath: do not propagate headroom updates to internal port

2017-12-11 Thread Greg Rose
From: Paolo Abeni Upstream commit: commit 183dea5818315c0a172d21ecbcd2554894bf01e3 Author: Paolo Abeni Date: Thu Nov 30 15:35:33 2017 +0100 openvswitch: do not propagate headroom updates to internal port After commit 3a927bc7cf9d

[ovs-dev] [PATCH 11/12] datapath: use ktime_get_ts64() instead of ktime_get_ts()

2017-12-11 Thread Greg Rose
From: Arnd Bergmann Upstream commit: commit 311af51dcb5629f04976a8e451673f77e3301041 Author: Arnd Bergmann Date: Mon Nov 27 12:41:38 2017 +0100 openvswitch: use ktime_get_ts64() instead of ktime_get_ts() timespec is deprecated because of the

Re: [ovs-dev] [patch v1] conntrack: Fix icmp error address sanity check.

2017-12-11 Thread Ben Pfaff
On Wed, Dec 06, 2017 at 06:04:20PM -0800, Darrell Ball wrote: > An address sanity check is done on icmp error packets to > check that the icmp error payload makes sense w.r.t. the > packet itself. > > The sanity check was partially incorrect since it tried > to verify the source address of the

Re: [ovs-dev] [PATCH 1/5] ovsdb-idl: Improve comments.

2017-12-11 Thread Ben Pfaff
On Mon, Dec 11, 2017 at 08:23:44PM +, Alin Serdean wrote: > LGTM. Just two nits. > > +/* Terminal error state that indicates that nothing useful can be done. > > + * The most likely reason is that the database server doesn't actually > > have > [Alin Serdean] doesn't have, maybe?

Re: [ovs-dev] [PATCH 1/5] ovsdb-idl: Improve comments.

2017-12-11 Thread Ben Pfaff
On Mon, Dec 11, 2017 at 10:34:06PM +, Alin Serdean wrote: > > > > -Original Message- > > From: Ben Pfaff [mailto:b...@ovn.org] > > Sent: Tuesday, December 12, 2017 12:30 AM > > To: Alin Serdean > > Cc: d...@openvswitch.org > > Subject: Re: [ovs-dev]

Re: [ovs-dev] [PATCH v2 2/3] conntrack: Support conntrack flush by ct 5-tuple

2017-12-11 Thread Darrell Ball
A few suggestions Yi-hung Thanks Darrell On 11/21/17, 5:04 PM, "ovs-dev-boun...@openvswitch.org on behalf of Yi-Hung Wei" wrote: This patch adds support of flushing a conntrack entry specified by the conntrack 5-tuple

Re: [ovs-dev] [patch v1] conntrack: Fix icmp error address sanity check.

2017-12-11 Thread Darrell Ball
Yes, it is Ben Thanks Darrell On 12/11/17, 2:27 PM, "Ben Pfaff" wrote: It fails to apply due to conflicts in system-traffic.at. Is it safe to drop that change and apply the rest? On Mon, Dec 11, 2017 at 10:22:39PM +, Darrell Ball wrote: > Needs to go

Re: [ovs-dev] [patch v1] conntrack: Fix icmp error address sanity check.

2017-12-11 Thread Ben Pfaff
It fails to apply due to conflicts in system-traffic.at. Is it safe to drop that change and apply the rest? On Mon, Dec 11, 2017 at 10:22:39PM +, Darrell Ball wrote: > Needs to go back to 2.6; at least the changes in lib/conntrack.c > > Thanks Darrell > > On 12/11/17, 2:20 PM,

Re: [ovs-dev] [PATCH 4/5] ovsdb-idl: Remove 'uuid' member of struct ovsdb_idl.

2017-12-11 Thread Alin Serdean
> -Original Message- > From: ovs-dev-boun...@openvswitch.org [mailto:ovs-dev- > boun...@openvswitch.org] On Behalf Of Ben Pfaff > Sent: Friday, December 8, 2017 11:24 PM > To: d...@openvswitch.org > Cc: Ben Pfaff > Subject: [ovs-dev] [PATCH 4/5] ovsdb-idl: Remove 'uuid'

[ovs-dev] [patch v2 2.7] conntrack: Fix icmp error address sanity check.

2017-12-11 Thread Darrell Ball
An address sanity check is done on icmp error packets to check that the icmp error payload makes sense w.r.t. the packet itself. The sanity check was partially incorrect since it tried to verify the source address of the error packet against the original destination, which does not makes since

Re: [ovs-dev] [patch v1] conntrack: Fix icmp error address sanity check.

2017-12-11 Thread Darrell Ball
I sent a V2 here https://patchwork.ozlabs.org/patch/847315/ an extra signoff had snuck into v1 Thanks Darrell On 12/11/17, 5:22 PM, "Darrell Ball" wrote: Ben I sent a 2.7 patch here: https://patchwork.ozlabs.org/patch/847308/ it should be applicable