Re: [ovs-dev] [PATCH 00/23] Convert next batch of docs to rST

2016-11-03 Thread Joe Stringer
On 3 November 2016 at 03:33, Stephen Finucane wrote: > On 2016-11-02 17:57, Joe Stringer wrote: >> >> On 30 October 2016 at 06:29, Stephen Finucane wrote: >>> >>> This is the third conversion series. This one is larger yet again, >>> though many of th

Re: [ovs-dev] [PATCH 00/23] Convert next batch of docs to rST

2016-11-02 Thread Joe Stringer
series needs a rebase against latest master. Is this series also available via git somewhere? That would make it a little easier for me to base my change on top. Thanks again for your heroic efforts on this rST/sphinx work! Joe ___ dev mailing list de

Re: [ovs-dev] [PATCH v2] datapath: geneve: Handle vlan tag

2016-11-01 Thread Joe Stringer
On 1 November 2016 at 11:35, Pravin B Shelar wrote: > The compat vlan code ignores vlan tag for inner packet > on egress path. Following patch fixes this by inserting the > tag for inner packet before tunnel encapsulation. > > Signed-off-by: Pravin B Shelar Acked-b

Re: [ovs-dev] [PATCH] datapath: geneve: Handle vlan tag

2016-11-01 Thread Joe Stringer
On 1 November 2016 at 10:48, Pravin Shelar wrote: > On Tue, Nov 1, 2016 at 10:30 AM, Joe Stringer wrote: >> On 31 October 2016 at 22:00, Pravin B Shelar wrote: >>> The compat vlan code ignores vlan tag for inner packet >>> on egress path. Following patch fixes this b

Re: [ovs-dev] [PATCH] datapath: geneve: Handle vlan tag

2016-11-01 Thread Joe Stringer
On 31 October 2016 at 22:00, Pravin B Shelar wrote: > The compat vlan code ignores vlan tag for inner packet > on egress path. Following patch fixes this by inserting the > tag for inner packet before tunnel encapsulation. > > Signed-off-by: Pravin B Shelar Is this a problem upstream and for oth

Re: [ovs-dev] [PATCH v2] datapath: backport: vxlan: avoid using stale vxlan socket.

2016-10-31 Thread Joe Stringer
s closed vxlan socket is freed. This > operation can race with vxlan-xmit function which > dereferences vxlan socket. Following patch uses RCU > mechanism to avoid this situation. > > Signed-off-by: Pravin B Shelar > Signed-off-by: David S. Miller > >

Re: [ovs-dev] [PATCH] ofproto-dpif: Log warning when ct action or its variants are not supported.

2016-10-31 Thread Joe Stringer
On 31 October 2016 at 14:33, Ben Pfaff wrote: > On Mon, Oct 31, 2016 at 02:16:05PM -0700, Joe Stringer wrote: >> On 31 October 2016 at 13:23, Ben Pfaff wrote: >> > Some datapaths do not support the ct action, and others support only a >> > subset of its featur

Re: [ovs-dev] [PATCH] ofproto-dpif: Log warning when ct action or its variants are not supported.

2016-10-31 Thread Joe Stringer
t it's more clear than just OpenFlow hexdumps telling you "OFPBAC". Maybe it should either say this, or this should be mentioned in the FAQ. Acked-by: Joe Stringer ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH 3/3] lisp: avoid using stale lisp socket.

2016-10-31 Thread Joe Stringer
this situation. > > Signed-off-by: Pravin B Shelar Thanks, one style comment below. Otherwise: Acked-by: Joe Stringer > @@ -442,11 +449,13 @@ static int lisp_open(struct net_device *dev) > struct lisp_dev *lisp = netdev_priv(dev); > struct udp_tunnel_sock_cfg tunnel_

Re: [ovs-dev] [PATCH 2/3] datapath: backport: geneve: avoid using stale geneve socket.

2016-10-31 Thread Joe Stringer
B Shelar > Acked-by: John W. Linville > Signed-off-by: David S. Miller > > Signed-off-by: Pravin B Shelar Acked-by: Joe Stringer ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH 1/3] datapath: backport: vxlan: avoid using stale vxlan socket.

2016-10-31 Thread Joe Stringer
On 29 October 2016 at 21:33, Pravin B Shelar wrote: > Upstream commit: > commit c6fcc4fc5f8b592600c7409e769ab68da0fb1eca > Author: pravin shelar > Date: Fri Oct 28 09:59:15 2016 -0700 > > vxlan: avoid using stale vxlan socket. > > When vxlan device is closed vxlan socket is

Re: [ovs-dev] [PATCH v2] datapath: compat: tunnel: Check if device is UP.

2016-10-21 Thread Joe Stringer
On 21 October 2016 at 11:37, Joe Stringer wrote: > On 21 October 2016 at 10:55, Pravin B Shelar wrote: >> On upstream kernel datapath OVS make use of networking devices >> where networking stack does check if device is UP. following >> patch adds same check in cas

Re: [ovs-dev] [PATCH v2] datapath: compat: tunnel: Check if device is UP.

2016-10-21 Thread Joe Stringer
until output and proceeds past this check before the reconfiguration thread clears it. Probably the type of test to check this would be running heavy traffic through a vxlan port, then toggle the port up and down. Will you also check upstream? Anyway, this LGTM so: Acked-by: Joe Stringer

Re: [ovs-dev] [PATCH] datapath: compat: tunnel: Check if device is UP.

2016-10-20 Thread Joe Stringer
On 19 October 2016 at 11:27, Pravin B Shelar wrote: > On upstream kernel datapath OVS make use of networking devices > where networking stack does check if device is UP. following > patch adds same check in case of compat tunneling implementation. > This check also fixes kernel crash in case vxlan

Re: [ovs-dev] [PATCH v3 07/12] dpif-netdev: Cache align netdev_flow_keys.

2016-10-19 Thread Joe Stringer
On 14 October 2016 at 07:37, Bhanuprakash Bodireddy wrote: > Aligning the 'keys' array seems to have positive performance impact. > > Signed-off-by: Bhanuprakash Bodireddy > Co-authored-by: Antonio Fischetti > Signed-off-by: Antonio Fischetti > Acked-by: Daniele Di Proietto It looks like the

Re: [ovs-dev] [PATCH v4 0/7] system-traffic: add 802.1ad test cases

2016-10-18 Thread Joe Stringer
On 18 October 2016 at 05:31, Eric Garver wrote: > On Mon, Oct 17, 2016 at 05:17:44PM -0700, Joe Stringer wrote: >> On 23 September 2016 at 12:16, Eric Garver wrote: >> > This series adds 802.1ad test cases for the check-* make targets. It is >> > meant as a coun

Re: [ovs-dev] [PATCH v4 2/7] system-common-macros: Add macros to check for and test 802.1ad.

2016-10-17 Thread Joe Stringer
On 23 September 2016 at 12:16, Eric Garver wrote: > Add macros OVS_CHECK_8021AD(), ADD_SVLAN() and ADD_CVLAN(). > > Signed-off-by: Eric Garver > # ADD_OVS_TUNNEL([type], [bridge], [port], [remote-addr], [overlay-addr]) > # > # Add an ovs-based tunnel device in the root namespace, with name

Re: [ovs-dev] [PATCH v4 0/7] system-traffic: add 802.1ad test cases

2016-10-17 Thread Joe Stringer
On 23 September 2016 at 12:16, Eric Garver wrote: > This series adds 802.1ad test cases for the check-* make targets. It is > meant as a counterpart to the 802.1ad work currently going on and being > discussed on the dev list. > > User space support for 802.1ad is being worked on by Xiao Liang (ba

Re: [ovs-dev] [PATCH] json: Fix non-static json char lookup table.

2016-10-05 Thread Joe Stringer
On 6 October 2016 at 11:51, Ben Pfaff wrote: > On Thu, Oct 06, 2016 at 11:33:39AM +0900, Joe Stringer wrote: >> This warning breaks the build on travis: >> lib/json.c:1627:12: error: symbol 'chars_escaping' was not declared. >> Should it be static? >>

[ovs-dev] [PATCH] json: Fix non-static json char lookup table.

2016-10-05 Thread Joe Stringer
a lookup table") Signed-off-by: Joe Stringer --- lib/json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/json.c b/lib/json.c index e052a6a0af0d..40c8f718db72 100644 --- a/lib/json.c +++ b/lib/json.c @@ -1624,7 +1624,7 @@ json_serialize_array(const struct json_a

Re: [ovs-dev] [PATCH ovs RFC 0/9] Introducing HW offload support for openvswitch

2016-10-05 Thread Joe Stringer
viously discussed * Testing - we may want a mode where tc flower is used in software mode, to test the tc netlink interface. It would be good to see extension of kernel module testsuite to at least test some basics of the interface, perhaps also the flower behaviour (though that may be out of sco

Re: [ovs-dev] [RFC 1/5] Add initial sphinx configuration

2016-10-04 Thread Joe Stringer
On 2 October 2016 at 04:01, Stephen Finucane wrote: > This is essentially the output of 'sphinx-quickstart' but with parts of > the Makefile merged into the existing Makefile.am and a license added > to the index.rst file. > > Signed-off-by: Stephen Finucane > --- > I need to know who to assign c

Re: [ovs-dev] [PATCH 0/6] Refactor revalidate_ukey().

2016-09-28 Thread Joe Stringer
On 28 September 2016 at 16:21, Joe Stringer wrote: > On 28 September 2016 at 14:22, Daniele Di Proietto > wrote: >> Thanks for doing this cleanup, my instant revalidation series should be much >> simpler after this. >> >> It looks like this needs rebasing, but i

Re: [ovs-dev] [PATCH 0/6] Refactor revalidate_ukey().

2016-09-28 Thread Joe Stringer
On 28 September 2016 at 14:22, Daniele Di Proietto wrote: > Thanks for doing this cleanup, my instant revalidation series should be much > simpler after this. > > It looks like this needs rebasing, but it is pretty trivial > > I've gone through the code, I only have a couple minor of comments abou

Re: [ovs-dev] [PATCH 5/6] revalidator: Defer stats push to end of validation.

2016-09-28 Thread Joe Stringer
On 28 September 2016 at 14:22, Daniele Di Proietto wrote: > > > 2016-09-20 18:47 GMT-07:00 Joe Stringer : >> >> To make more of the core revalidate() functions do just one thing and >> not modify state on the way, refactor them to prepare the xcache then >> defe

Re: [ovs-dev] [PATCH 2/6] revalidator: Don't modify ukey from xlate_ukey().

2016-09-28 Thread Joe Stringer
On 28 September 2016 at 14:22, Daniele Di Proietto wrote: > Is there any reason not to squash this with the previous patch? It was an attempt at separating functional changes from cosmetic. > If you want to keep two commits for clarity I would split it like: > > commit1) move the block above odp

Re: [ovs-dev] [PATCH] system-traffic: Collapse FTP NAT tests.

2016-09-28 Thread Joe Stringer
On 27 September 2016 at 14:40, Jarno Rajahalme wrote: > Acked-by: Jarno Rajahalme Thanks, applied to master. It doesn't apply cleanly to branch-2.6, so I don't plan to backport it unless you feel strongly about that. ___ dev mailing list dev@openvswitc

Re: [ovs-dev] [PATCH] sparse: Fix conflict between netinet/in.h and linux/in.h

2016-09-27 Thread Joe Stringer
On 8 June 2016 at 13:49, Daniele Di Proietto wrote: > > > > > > On 08/06/2016 13:30, "Ben Pfaff" wrote: > >>On Wed, Jun 08, 2016 at 01:07:32PM -0700, Ben Pfaff wrote: >>> On Wed, Jun 01, 2016 at 07:23:29PM -0700, Daniele Di Proietto wrote: >>> > linux/in.h (from linux uapi headers) carries many o

Re: [ovs-dev] [PATCH v2 3/3] ofp-actions: Always consider inconsistent CT actions as an error.

2016-09-27 Thread Joe Stringer
ahalme LGTM, minor spelling below. Thanks. Acked-by: Joe Stringer > --- > lib/ofp-actions.c | 7 +-- > tests/ofproto-dpif.at | 40 > tests/ovs-ofctl.at| 46 +++--- > 3 files chan

Re: [ovs-dev] [PATCH v2 2/3] ofp-actions: Check that 'alg=ftp' matches on TCP.

2016-09-27 Thread Joe Stringer
On 27 September 2016 at 14:32, Jarno Rajahalme wrote: > Datapath flow setup fails when setting the FTP helper on an > unsupported IP protocol. It is better to fail at the OpenFlow rule > set-up time instead. > > Signed-off-by: Jarno Rajahalme Acked-b

Re: [ovs-dev] [PATCH v2 1/3] ofp-actions: Style fixes.

2016-09-27 Thread Joe Stringer
On 27 September 2016 at 14:32, Jarno Rajahalme wrote: > Replace a tab by a space and remove an unnecessary variable. > > Signed-off-by: Jarno Rajahalme Acked-by: Joe Stringer ___ dev mailing list dev@openvswitch.org http://openvswitch.or

Re: [ovs-dev] [PATCH] travis: Work around glibtoolize error.

2016-09-27 Thread Joe Stringer
On 21 September 2016 at 14:01, Joe Stringer wrote: > On 21 September 2016 at 11:44, Lance Richardson wrote: >>> From: "Joe Stringer" >>> To: dev@openvswitch.org >>> Sent: Wednesday, September 21, 2016 2:36:42 PM >>> Subject: [ovs-d

Re: [ovs-dev] [PATCH 1/1] Using ethtool on failure using miimon

2016-09-27 Thread Joe Stringer
Hi David, Thanks for the submission. Since this is a bugfix for a long-running behaviour, I reduced the patch to just the functional changes and applied it to master, branch-2.6 and branch-2.5. Here's the final change, please let me know if it is still missing something: https://github.com/openvs

Re: [ovs-dev] [PATCH] ofp-actions: Error on conntrack action inconsistency.

2016-09-27 Thread Joe Stringer
On 26 September 2016 at 18:46, Jarno Rajahalme wrote: > Setting up a datapath flow that has a conntrack action with 'alg=ftp', > but does not match on 'nw_proto=tcp' fails with 'WARN' in > ovs-vswitchd.log. It is better to flag such inconsistencies during > OpenFlow rule set-up time. Also, connt

Re: [ovs-dev] [PATCH] INSTALL.md: Add details about kernel module preference.

2016-09-26 Thread Joe Stringer
On 26 September 2016 at 07:13, Gurucharan Shetty wrote: > Signed-off-by: Gurucharan Shetty > --- > INSTALL.md | 22 +- > 1 file changed, 21 insertions(+), 1 deletion(-) > > diff --git a/INSTALL.md b/INSTALL.md > index bb40e4a..a9b70db 100644 > --- a/INSTALL.md > +++ b/INSTALL

Re: [ovs-dev] [PATCH] testsuite: Ignore IPsec deprecation msg.

2016-09-26 Thread Joe Stringer
On 26 September 2016 at 13:24, Pravin B Shelar wrote: > Fixes test failure seen due to the IPsec tunnel deprecation > messages in test logs. > > Fixes: 9e9d0384910e ("openvswitch: deprecates support for IPsec tunnel > port."). > Reported-by: Joe Stringer > Signed-

Re: [ovs-dev] [PATCH 1/4] Add OpenFlow command to flush conntrack table entries.

2016-09-23 Thread Joe Stringer
On 23 September 2016 at 12:13, Justin Pettit wrote: > >> On Sep 23, 2016, at 10:10 AM, Joe Stringer wrote: >> >> On 23 September 2016 at 01:53, Justin Pettit wrote: >>> >>> diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h >

Re: [ovs-dev] [PATCHv2] ovs-lib: Fix SELinux contexts for created dirs.

2016-09-23 Thread Joe Stringer
On 23 September 2016 at 06:25, Ansis Atteka wrote: > > > On 23 September 2016 at 03:25, Joe Stringer wrote: >> >> ovs-lib creates several directories directly from the script, but >> doesn't make any attempt to ensure that the correct SELinux context is >&

Re: [ovs-dev] [PATCH 1/4] Add OpenFlow command to flush conntrack table entries.

2016-09-23 Thread Joe Stringer
On 23 September 2016 at 01:53, Justin Pettit wrote: > Signed-off-by: Justin Pettit > --- > NEWS | 1 + > debian/changelog | 10 ++ > include/openflow/nicira-ext.h | 9 + > include/openvswitch/ofp-msgs.h | 4 > lib/dpif.c

Re: [ovs-dev] [PATCH v3 3/7] system-traffic: 802.1ad: Add datapath ping tests for CVLANs.

2016-09-23 Thread Joe Stringer
On 23 September 2016 at 05:51, Eric Garver wrote: > On Thu, Sep 22, 2016 at 06:48:09PM -0700, Joe Stringer wrote: >> On 14 September 2016 at 17:26, Eric Garver wrote: >> > Signed-off-by: Eric Garver >> >> Hi Eric, >> >> I tried this series again on a va

Re: [ovs-dev] [PATCH v3 3/7] system-traffic: 802.1ad: Add datapath ping tests for CVLANs.

2016-09-22 Thread Joe Stringer
On 14 September 2016 at 17:26, Eric Garver wrote: > Signed-off-by: Eric Garver Hi Eric, I tried this series again on a variety of kernels and these initial ping over cvlan tests are failing for check-system-userspace on older kernels (3.10,3.13) due to reasons we had discussed a bit on the prev

Re: [ovs-dev] [PATCH] ovs-lib: Fix SELinux contexts for created dirs.

2016-09-22 Thread Joe Stringer
On 22 September 2016 at 12:55, Ansis Atteka wrote: > On Thu, Sep 22, 2016 at 3:54 AM, Joe Stringer wrote: >> ovs-lib creates several directories directly from the script, but >> doesn't make any attempt to ensure that the correct SELinux context is >> applied to thes

[ovs-dev] [PATCHv2] ovs-lib: Fix SELinux contexts for created dirs.

2016-09-22 Thread Joe Stringer
actice, many of these should otherwise be handled by packaging scripts but if they exist then we should ensure the correct SELinux context is set. On systems where 'restorecon' is unavailable, this should be a no-op. VMware-BZ: #1732672 Signed-off-by: Joe Stringer Acked-by: Ansis Att

[ovs-dev] [PATCH] ovs-lib: Fix SELinux contexts for created dirs.

2016-09-21 Thread Joe Stringer
actice, many of these should otherwise be handled by packaging scripts but if they exist then we should ensure the correct SELinux context is set. On systems where 'restorecon' is unavailable, this should be a no-op. VMware-BZ: #1732672 Signed-off-by: Joe Stringer --- Fortunately, th

Re: [ovs-dev] [PATCH] NEWS: Add known issues for v2.6.0.

2016-09-21 Thread Joe Stringer
On 19 September 2016 at 11:18, Ben Pfaff wrote: > On Thu, Sep 15, 2016 at 04:26:05PM -0700, Joe Stringer wrote: >> Signed-off-by: Joe Stringer > > ... > >> + * When using the openvswitch module distributed with OVS against kernel >> + versions 4.4-4.6, th

Re: [ovs-dev] [PATCH] travis: Work around glibtoolize error.

2016-09-21 Thread Joe Stringer
On 21 September 2016 at 11:44, Lance Richardson wrote: >> From: "Joe Stringer" >> To: dev@openvswitch.org >> Sent: Wednesday, September 21, 2016 2:36:42 PM >> Subject: [ovs-dev] [PATCH] travis: Work around glibtoolize error. >> >> Signed-off-by: J

[ovs-dev] [PATCH] travis: Work around glibtoolize error.

2016-09-21 Thread Joe Stringer
Signed-off-by: Joe Stringer --- .travis/osx-prepare.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis/osx-prepare.sh b/.travis/osx-prepare.sh index cf46d872edfa..611c0709d760 100755 --- a/.travis/osx-prepare.sh +++ b/.travis/osx-prepare.sh @@ -1,3 +1,5 @@ #!/bin/bash set -ev

Re: [ovs-dev] [RFC v2 5/5] ofproto-dpif-upcall: Add instant revalidation.

2016-09-20 Thread Joe Stringer
On 30 August 2016 at 18:47, Daniele Di Proietto wrote: > Sometimes the ofproto layer creates a flow which is not liked by the > revalidation for various reasons. This behavior, while not critical > might impact the performance. This commit adds a facility to detect > this issue early and log a w

[ovs-dev] [PATCH 6/6] revalidator: Simplify full-revalidation code.

2016-09-20 Thread Joe Stringer
Simplify the remaining bits of the original revalidation codepath to only handle the "full-revalidation" case. Make the 'ukey' parameter purely const by pushing the only piece that gets changed into a separate argument. Signed-off-by: Joe Stringer --- ofproto/ofprot

[ovs-dev] [PATCH 5/6] revalidator: Defer stats push to end of validation.

2016-09-20 Thread Joe Stringer
prepared and attached to the ukey, but the actual execution will be skipped since it will be executed on flow_delete very soon anyway with final stats. Signed-off-by: Joe Stringer --- ofproto/ofproto-dpif-upcall.c | 56 --- 1 file changed, 42 insertions

[ovs-dev] [PATCH 3/6] revalidator: Refactor revalidation early exit.

2016-09-20 Thread Joe Stringer
Shift the early-exit conditions for revalidation into a separate function. Signed-off-by: Joe Stringer --- ofproto/ofproto-dpif-upcall.c | 136 -- 1 file changed, 78 insertions(+), 58 deletions(-) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto

[ovs-dev] [PATCH 4/6] revalidator: Reuse xlate_ukey from deletion.

2016-09-20 Thread Joe Stringer
This code was already very similar to the actual revalidation code, but previously it wasn't structured quite closely enough to share it. Do so. xlate_actions_for_side_effects() is now unused, so remove it. Signed-off-by: Joe Stringer --- ofproto/ofproto-dpif-upcall.c

[ovs-dev] [PATCH 2/6] revalidator: Don't modify ukey from xlate_ukey().

2016-09-20 Thread Joe Stringer
Refactor the newly introduced xlate_ukey() function to just perform the translation, not modify the ukey. Signed-off-by: Joe Stringer --- ofproto/ofproto-dpif-upcall.c | 32 +++- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/ofproto/ofproto-dpif

[ovs-dev] [PATCH 0/6] Refactor revalidate_ukey().

2016-09-20 Thread Joe Stringer
de from the delete path is now shared with the dump path. The code is longer overall, but hopefully it's a bit easier to follow. Joe Stringer (6): revalidator: Refactor ukey->xout translation. revalidator: Don't modify ukey from xlate_ukey(). revalidator: Refactor revalidation

[ovs-dev] [PATCH 1/6] revalidator: Refactor ukey->xout translation.

2016-09-20 Thread Joe Stringer
This patch shifts the code that directly calls xlate into a separate function, xlate_ukey(). Signed-off-by: Joe Stringer --- ofproto/ofproto-dpif-upcall.c | 110 -- 1 file changed, 73 insertions(+), 37 deletions(-) diff --git a/ofproto/ofproto-dpif

Re: [ovs-dev] [PATCH] OVSDB: Fix segfalut during replication.

2016-09-20 Thread Joe Stringer
0, > is_backup=0xffefff2de) at ovsdb/ovsdb-server.c:198 > #12 0x000000406edb in main (argc=1, argv=0xffefff550) > at ovsdb/ovsdb-server.c:429 > > Reported-by: Joe Stringer > Reported-at: http://openvswitch.org/pipermail/dev/2016-September/079315.

Re: [ovs-dev] bug fix for miimon issue with ixgbe driver that half support mii

2016-09-16 Thread Joe Stringer
On 16 September 2016 at 07:41, David Hill wrote: > Hello guys, > >Our preliminary tests seems to indicate this solves the issue with the > ixgbe driver. My fear is now that other drivers might show the same > behavior. Patching ovs to fallback to ethtool is a good way to avoid this > imho.

[ovs-dev] [PATCH] NEWS: Add known issues for v2.6.0.

2016-09-15 Thread Joe Stringer
Signed-off-by: Joe Stringer --- Pravin, does the GRE note look correct? --- NEWS | 19 +++ 1 file changed, 19 insertions(+) diff --git a/NEWS b/NEWS index 8c78b3676cf3..19570b96816f 100644 --- a/NEWS +++ b/NEWS @@ -124,6 +124,25 @@ v2.6.0 - xx xxx - Add 'mtu_re

Re: [ovs-dev] [PATCH] ofp-parse: Fix sparse warnings about comparing ofp_port_ts.

2016-09-15 Thread Joe Stringer
ting bits of using sparse, but on the whole I > think it saves us pretty often. > > CC: Jarno Rajahalme > Fixes: 6dd3c787f591 ("ofproto: Support packet_outs in bundles.") > Signed-off-by: Ben Pfaff Acked-by: Joe Stringer __

Re: [ovs-dev] [PATCH] socket-util-unix: Avoid buffer read overrun in get_unix_name_len().

2016-09-15 Thread Joe Stringer
On 14 September 2016 at 20:39, Ben Pfaff wrote: > If the socket length does not include any of the bytes of the path, then > the code should not read even the first byte of the path. > > Found by valgrind. > > CC: Thadeu Lima de Souza Cascardo > Reported-by: Joe Stringer

Re: [ovs-dev] [PATCH v2] vagrant: Add Debian Jessie support

2016-09-13 Thread Joe Stringer
On 13 September 2016 at 08:46, Thadeu Lima de Souza Cascardo wrote: > Now, vagrant up will test both Fedora 23 and Debian Jessie (8.0), which uses > Linux 3.16. > > Signed-off-by: Thadeu Lima de Souza Cascardo Thanks. It was also missing uuid-runtime which stopped the install_deb target from wor

Re: [ovs-dev] [PATCH] datapath: compat: geneve: use ovs specific device type for compat geneve module.

2016-09-12 Thread Joe Stringer
On 12 September 2016 at 14:55, Jesse Gross wrote: > On Mon, Sep 12, 2016 at 2:48 PM, Pravin B Shelar wrote: >> This allows openvswitch and geneve module co-exist kernel on newer >> kernels. >> >> Reported-by: Joe Stringer >> Signed-off-by: Pravin B Shelar &

Re: [ovs-dev] [PATCH 3/3] ovsdb: Fix replication memory leak.

2016-09-12 Thread Joe Stringer
On 10 September 2016 at 21:26, Ben Pfaff wrote: > On Fri, Sep 09, 2016 at 01:48:53PM -0700, Joe Stringer wrote: >> Valgrind reports: >> >> ==18725== 32 bytes in 1 blocks are definitely lost in loss record 339 of 497 >> ==18725==at 0x4C29BBE: malloc (in >> /us

Re: [ovs-dev] [PATCH 2/3] ovsdb-monitor: Fix valgrind 'possible loss' warnings.

2016-09-12 Thread Joe Stringer
On 10 September 2016 at 21:24, Ben Pfaff wrote: > On Fri, Sep 09, 2016 at 01:48:52PM -0700, Joe Stringer wrote: >> By placing these nodes at the start of their respective structures, >> several "possibly lost" warnings from valgrind are silenced. >> >> Fix

Re: [ovs-dev] [PATCH] replication: Be more careful about JSON parsing and simplify code.

2016-09-12 Thread Joe Stringer
0x418185: process_notification (replication.c:576) > ==18725==by 0x417705: replication_run (replication.c:185) > ==18725==by 0x408240: main_loop (ovsdb-server.c:198) > ==18725==by 0x406432: main (ovsdb-server.c:429) > > I don't know the exact cause of the problem, b

Re: [ovs-dev] [PATCH] vagrant: Add Debian Jessie support

2016-09-12 Thread Joe Stringer
On 12 September 2016 at 03:57, Thadeu Lima de Souza Cascardo wrote: > On Fri, Sep 09, 2016 at 06:44:21PM -0700, Joe Stringer wrote: >> On 9 September 2016 at 14:09, Thadeu Lima de Souza Cascardo >> wrote: >> > Now, vagrant up will test both Fedora 23 and Debian Jessie

Re: [ovs-dev] [PATCH] vagrant: Add Debian Jessie support

2016-09-09 Thread Joe Stringer
On 9 September 2016 at 14:09, Thadeu Lima de Souza Cascardo wrote: > Now, vagrant up will test both Fedora 23 and Debian Jessie (8.0), which uses > Linux 3.16. > > Signed-off-by: Thadeu Lima de Souza Cascardo > --- > Vagrantfile | 44 ++-- > 1 file changed

Re: [ovs-dev] [PATCH] datapath: Use pre-routing hook for conntrack.

2016-09-09 Thread Joe Stringer
On 8 September 2016 at 08:49, Jesse Gross wrote: > On Wed, Sep 7, 2016 at 5:18 PM, Joe Stringer wrote: >> On 1 September 2016 at 18:08, Jesse Gross wrote: >>> On Thu, Sep 1, 2016 at 5:01 PM, Joe Stringer wrote: >>>> The upstream code uses NF_INET_PRE_ROUTIN

Re: [ovs-dev] [PATCH] stream-unix: only use path-based socket names

2016-09-09 Thread Joe Stringer
On 9 September 2016 at 14:05, Ben Pfaff wrote: > On Fri, Sep 09, 2016 at 01:47:01PM -0700, Joe Stringer wrote: >> On 19 July 2016 at 20:08, Ben Pfaff wrote: >> > On Tue, Jul 19, 2016 at 05:05:51PM -0300, Thadeu Lima de Souza Cascardo >> > wrote: >>

Re: [ovs-dev] [v3] ovsdb: Replication usability improvements

2016-09-09 Thread Joe Stringer
On 8 September 2016 at 21:23, Ben Pfaff wrote: > On Tue, Sep 06, 2016 at 10:59:19AM -0700, Joe Stringer wrote: >> In the new test I'm seeing OVSDB segfault: >> >> #0 0x004313ad in ovsdb_datum_compare_3way (a=0x10ebaa0, b=0x0, >>type=0x10c29e8) at

[ovs-dev] [PATCH 1/3] ovsdb-monitor: Fix segfault during replication.

2016-09-09 Thread Joe Stringer
ain (ovsdb-server.c:429) Fixes: 60e0cd041958 ("ovsdb: Replication usability improvements") Signed-off-by: Joe Stringer --- This addresses the crash, but I don't understand the deeper reasoning why we get into this state in the first place so I welcome any counter proposals. Th

[ovs-dev] [PATCH 3/3] ovsdb: Fix replication memory leak.

2016-09-09 Thread Joe Stringer
0x44FFB6: unixctl_server_run (unixctl.c:400) ==18725==by 0x4081AC: main_loop (ovsdb-server.c:182) ==18725==by 0x406432: main (ovsdb-server.c:429) Fixes: 60e0cd041958 ("ovsdb: Replication usability improvements") Signed-off-by: Joe Stringer --- This also affects branch-2.6.

[ovs-dev] [PATCH 2/3] ovsdb-monitor: Fix valgrind 'possible loss' warnings.

2016-09-09 Thread Joe Stringer
By placing these nodes at the start of their respective structures, several "possibly lost" warnings from valgrind are silenced. Fixes: 60e0cd041958 ("ovsdb: Replication usability improvements") Signed-off-by: Joe Stringer --- Also affects branch-2.6. --- ovsdb/jsonrpc-se

[ovs-dev] [PATCH 0/3] OVSDB replication fixes.

2016-09-09 Thread Joe Stringer
ighted a segfault, a memory leak and some other warnings about "possibly lost" memory. This series addresses these particular issues. There's a couple of "possible loss" warnings for this test that I didn't address here, because they look less likely to cause problems in

Re: [ovs-dev] [PATCH] stream-unix: only use path-based socket names

2016-09-09 Thread Joe Stringer
On 19 July 2016 at 20:08, Ben Pfaff wrote: > On Tue, Jul 19, 2016 at 05:05:51PM -0300, Thadeu Lima de Souza Cascardo wrote: >> FreeBSD returns a socklen of sockaddr_storage when doing an accept on an unix >> STREAM socket. The current code will assume it means a sun_path larger than >> 0. >> >> T

Re: [ovs-dev] Open vSwitch 2.6 release scheduled for Sept. 15

2016-09-09 Thread Joe Stringer
On 9 September 2016 at 08:55, Ben Pfaff wrote: > Our previously announced plan for OVS 2.6 is to release on Sept. 15, in > less than a week. In the OVN meeting in IRC yesterday, we already > discussed a few OVN bugs that should be fixed before the release. All > of them seem like they can be fix

Re: [ovs-dev] [PATCH] datapath-windows: Fixed tcp flags byte order in conntrack

2016-09-08 Thread Joe Stringer
On 8 September 2016 at 12:34, Guru Shetty wrote: > On 29 August 2016 at 12:11, Paul Boca wrote: > >> In user mode the flags are interpreted as little endian. >> This fix makes the kernel mode compatible with user mode. >> >> Signed-off-by: Paul-Daniel Boca >> > Applied, thank you. Does this nee

Re: [ovs-dev] [PATCH] datapath: Use pre-routing hook for conntrack.

2016-09-07 Thread Joe Stringer
On 1 September 2016 at 18:08, Jesse Gross wrote: > On Thu, Sep 1, 2016 at 5:01 PM, Joe Stringer wrote: >> The upstream code uses NF_INET_PRE_ROUTING hook for the nf_conntrack_in() >> call, which does deeper (eg l4proto) validation. It was previously >> thought that using the

[ovs-dev] [PATCH] system-traffic: Collapse FTP NAT tests.

2016-09-07 Thread Joe Stringer
of the code may be reused and shared rather than copying/pasting. As a result, the differences between tests are easier to identify. Signed-off-by: Joe Stringer --- tests/system-traffic.at | 218 ++-- 1 file changed, 81 insertions(+), 137 deletions

Re: [ovs-dev] [PATCH] system-traffic: Add FTP NAT test without seqadj.

2016-09-07 Thread Joe Stringer
ed to master. I plan to follow up shortly to reduce copy/paste in these tests and clarify what "FTP with NAT 2" means. >> On Sep 7, 2016, at 2:07 PM, Joe Stringer wrote: >> >> The existing FTP with NAT tests all perform NATing from an IP like >> 10.1.1.1 -> 10.1.1

[ovs-dev] [PATCH] system-traffic: Add FTP NAT test without seqadj.

2016-09-07 Thread Joe Stringer
een IPs that do not change the message length in FTP control messages (eg, 10.1.1.1 -> 10.1.1.9) to more clearly identify failures in this area. Signed-off-by: Joe Stringer --- tests/system-traffic.at | 83 +++-- 1 file changed, 81 insertions(+), 2 del

Re: [ovs-dev] [PATCH] xlate: Perform bridge lookup before using xlate cache.

2016-09-06 Thread Joe Stringer
On 2 September 2016 at 17:43, Jarno Rajahalme wrote: > Bridges might get deleted while revalidation is going through the > xlate cache entries. Thus we need to do the xbridge lookup before we > use the xlate cache, and use uuid's instead of pointers on xlate cache > entries that might refer to ot

Re: [ovs-dev] [v3] ovsdb: Replication usability improvements

2016-09-06 Thread Joe Stringer
In the new test I'm seeing OVSDB segfault: #0 0x004313ad in ovsdb_datum_compare_3way (a=0x10ebaa0, b=0x0, type=0x10c29e8) at ../lib/ovsdb-data.c:1626 1626if (a->n != b->n) { (gdb) bt #0 0x004313ad in ovsdb_datum_compare_3way (a=0x10ebaa0, b=0x0, type=0x10c29e8) at .

Re: [ovs-dev] [PATCH v2 2/2] ofproto: Honor mtu_request even for internal ports.

2016-09-02 Thread Joe Stringer
> or `ifconfig`), but this seems the best way to remain compatible with >> old users while providing a more powerful interface. >> >> Suggested-by: Darrell Ball >> Signed-off-by: Daniele Di Proietto > > Thanks for taking care of all of this. > > For bot

[ovs-dev] [PATCH] datapath: Use pre-routing hook for conntrack.

2016-09-01 Thread Joe Stringer
her workarounds. Reported-by: Jesse Gross Signed-off-by: Joe Stringer --- datapath/conntrack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datapath/conntrack.c b/datapath/conntrack.c index ddfb0c42b379..a2fc450edc05 100644 --- a/datapath/conntrack.c +++ b/datapath/conntrac

Re: [ovs-dev] [PATCH v2] ovs-monitor-ipsec: Fix flake8-check semicolon error

2016-09-01 Thread Joe Stringer
On 31 August 2016 at 09:58, Ben Pfaff wrote: > On Wed, Aug 31, 2016 at 09:33:24AM -0700, Amitabha Biswas wrote: >> Fixes: 19cd0a87 >> >> Signed-off-by: Amitabha Biswas >> Acked-by: Numan Siddique > > Thanks, applied to master. I think this was affecting branch-2.6 as well: https://travis-ci.or

Re: [ovs-dev] [PATCH 1/3] check-kernel: add recheck support

2016-09-01 Thread Joe Stringer
On 1 September 2016 at 13:14, Lance Richardson wrote: > Support "make check-kernel RECHECK=yes", similar to existing support > for "make check RECHECK=yes". > > Signed-off-by: Lance Richardson Thanks a lot, applied to master and branch-2.6 . ___ dev ma

Re: [ovs-dev] [PATCH 3/3] rhel: add option to run kernel datapath test when building rpms

2016-09-01 Thread Joe Stringer
On 1 September 2016 at 13:14, Lance Richardson wrote: > Add ability to execute kernel datapath tests when building rpms. > These tests are disabled by default, and can optionally be run > by providing "--with check_datapath_kernel" on the rpmbuild command > line. This is intended to facilitate au

Re: [ovs-dev] [PATCHv2 0/4] Replace ukeys for deleted flows

2016-09-01 Thread Joe Stringer
On 31 August 2016 at 11:06, Joe Stringer wrote: > Recent bugs[1] have highlighted a particular situation where we may handle > significant traffic in userspace via the upcall mechanism either due to flow > table changes, or when bugs in translation logic result in unexpected dele

Re: [ovs-dev] [PATCH] ofproto: Do not override internal port MTU.

2016-08-31 Thread Joe Stringer
On 31 August 2016 at 14:52, Daniele Di Proietto wrote: > Open vSwitch controls the MTU of internal ports and sets it to the > minimum of physical ports MTU on the same bridge. > > Commit 47bf118665a3("ofproto: Always set MTU for new internal ports.") > made this more consistent. Now the MTU is al

Re: [ovs-dev] [PATCHv2 4/4] upcall: Replace ukeys for deleted flows.

2016-08-31 Thread Joe Stringer
On 31 August 2016 at 13:18, Jarno Rajahalme wrote: > With a minor question below, > > Acked-by: Jarno Rajahalme > >> On Aug 31, 2016, at 11:06 AM, Joe Stringer wrote: >> >> If a revalidator dumps/revalidates a flow during the 'dump' phase, >> re

Re: [ovs-dev] [PATCHv2 3/4] upcall: Track ukey states.

2016-08-31 Thread Joe Stringer
On 31 August 2016 at 13:17, Jarno Rajahalme wrote: > With small nits below, > > Acked-by: Jarno Rajahalme Thanks, I also noticed a couple of VLOGs missing their ratelimiters. >> @@ -334,9 +345,9 @@ static int ukey_create_from_dpif_flow(const struct udpif >> *, >>

Re: [ovs-dev] [PATCHv2 2/4] upcall: Only init flow_put if ukey is installed.

2016-08-31 Thread Joe Stringer
On 31 August 2016 at 13:16, Jarno Rajahalme wrote: > With one question below, > > Acked-by: Jarno Rajahalme Thanks for the review, >> On Aug 31, 2016, at 11:06 AM, Joe Stringer wrote: >> >> Currently when processing a batch of upcalls, all datapath operations >

Re: [ovs-dev] [PATCH] system-traffic: add a bonding test case

2016-08-31 Thread Joe Stringer
On 30 August 2016 at 13:45, Lance Richardson wrote: > Add a test case to check connectivity over an OVS bond, using a > Linux bond over veth interfaces. > > Also added a new macro "ADD_VETH_BOND", modeled after "ADD_VETH", > in anticipation of future additional bonding test cases. > > Signed-off-b

[ovs-dev] [PATCHv2 0/4] Replace ukeys for deleted flows

2016-08-31 Thread Joe Stringer
tp://openvswitch.org/pipermail/dev/2016-August/078855.html Joe Stringer (4): upcall: Reuse flow_put initializer. upcall: Only init flow_put if ukey is installed. upcall: Track ukey states. upcall: Replace ukeys for deleted flows. ofproto/ofproto-dpif-upcall.c | 208 +++---

[ovs-dev] [PATCHv2 2/4] upcall: Only init flow_put if ukey is installed.

2016-08-31 Thread Joe Stringer
x27;s a little simpler to only initialize the datapath operation if the ukey could actually be installed. The locks are held longer, but these locks aren't heavily contended and the extended holding of the lock will be removed in a subsequent patch anyway. Signed-off-by: Joe Stringer --- v2:

[ovs-dev] [PATCHv2 4/4] upcall: Replace ukeys for deleted flows.

2016-08-31 Thread Joe Stringer
raffic flow to return to the fastpath. Signed-off-by: Joe Stringer --- v2: Rebase against ukey lifecycle patch. --- ofproto/ofproto-dpif-upcall.c | 32 1 file changed, 32 insertions(+) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c

[ovs-dev] [PATCHv2 1/4] upcall: Reuse flow_put initializer.

2016-08-31 Thread Joe Stringer
Signed-off-by: Joe Stringer --- v2: First post --- ofproto/ofproto-dpif-upcall.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index e4473080ad65..e7fcdd28c9ff 100644 --- a/ofproto

[ovs-dev] [PATCHv2 3/4] upcall: Track ukey states.

2016-08-31 Thread Joe Stringer
of the current code, and also make the following patch easier to reason about. Signed-off-by: Joe Stringer --- v2: First post. --- ofproto/ofproto-dpif-upcall.c | 140 -- 1 file changed, 94 insertions(+), 46 deletions(-) diff --git a/ofproto/ofproto-

Re: [ovs-dev] [PATCH net-next v11 5/6] openvswitch: add layer 3 flow/port support

2016-08-30 Thread Joe Stringer
On 26 August 2016 at 02:13, Simon Horman wrote: > On Thu, Aug 25, 2016 at 05:33:57PM -0700, Joe Stringer wrote: >> On 25 August 2016 at 03:08, Simon Horman wrote: >> > Please find my working patch below. >> > >> > From: Simon Horman >> >

  1   2   3   4   5   6   7   8   9   10   >