[ovs-dev] [PATCH] MAINTAINERS: Move Joe to emeritus status.

2021-12-12 Thread Joe Stringer
, and I'll see you around wherever our paths cross again :-) Signed-off-by: Joe Stringer --- MAINTAINERS.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS.rst b/MAINTAINERS.rst index f4f6188c85cb..414df68758c1 100644 --- a/MAINTAINERS.rst +++ b/MAINTAINERS.rst

Re: [ovs-dev] [PATCH] openvswitch: perform refragmentation for packets which pass through conntrack

2021-03-21 Thread Joe Stringer
Hey Aaron, long time no chat :) On Fri, Mar 19, 2021 at 1:43 PM Aaron Conole wrote: > > When a user instructs a flow pipeline to perform connection tracking, > there is an implicit L3 operation that occurs - namely the IP fragments > are reassembled and then processed as a single unit. After

Re: [ovs-dev] openvswitch crash on i386

2019-03-05 Thread Joe Stringer
ying which > > conntrack events (IPCT_*) should be delivered via the Netfilter > > netlink multicast groups. Default behavior depends on the system > > configuration, but typically a lot of events are delivered. This can be > > very chatty for the NFNLGRP

Re: [ovs-dev] [PATCH] Revert "openvswitch: Fix template leak in error cases."

2018-10-01 Thread Joe Stringer
h tmpl_free.") replaced that with nf_ct_tmpl_free which > is a more appropriate. Now the original problem is removed. > > Then 44d6e2f27328 ("net: Replace NF_CT_ASSERT() with WARN_ON().") > replaced a debug assert with a WARN_ON() which is trigged now. > > Signed-off-by: Flavi

Re: [ovs-dev] [PATCH] ofproto-dpif: Init ukey->dump_seq to zero

2018-04-08 Thread Joe Stringer
e >> > seeing problems in another branch, let me know and I will backport. >> >> Thanks! >> >> I think the issue was introduced into OVS by the following commit a long >> time ago. >> >> commit 23597df052262dec961fd86eb7c54d10984a1ec0 >>

Re: [ovs-dev] [PATCH 1/4] ovs-kmod-ctl: introduce a kernel module load script

2018-03-26 Thread Joe Stringer
On 26 March 2018 at 14:32, Aaron Conole wrote: > Thanks for the review, Ansis! > > Ansis Atteka writes: > >> On 20 March 2018 at 14:05, Aaron Conole wrote: >>> +. >>> +.PP >>> +Each of \fBovs\-ctl\fR's commands is described

Re: [ovs-dev] try_ukey_replace() try lock strategy

2018-03-21 Thread Joe Stringer
On 20 March 2018 at 06:12, Eelco Chaudron wrote: > Hi Joe, > > I'm investigating an issue where I've seen "handler_duplicate_upcall" > incrementing once, and where "upcall_ukey_replace" is happening quite often. Without other evidence of undesirable behaviour, I wouldn't be

Re: [ovs-dev] [PATCH v1 1/2] userspace datapath: Add GTP-U tunnel support

2018-03-05 Thread Joe Stringer
Ok, thanks for the clarification. On Mon, 5 Mar 2018, 03:23 Yang, Yi, <yi.y.y...@intel.com> wrote: > On Mon, Mar 05, 2018 at 04:19:58AM +0800, Joe Stringer wrote: > > ?On 2 March 2018 at 04:32, Yi Yang <yi.y.y...@intel.com> wrote: > > > From:

Re: [ovs-dev] [PATCH v1 1/2] userspace datapath: Add GTP-U tunnel support

2018-03-04 Thread Joe Stringer
On 4 March 2018 at 19:58, Yang, Yi <yi.y.y...@intel.com> wrote: > On Sun, Mar 04, 2018 at 07:40:49PM -0800, Joe Stringer wrote: >> On 4 March 2018 at 18:48, Yang, Yi <yi.y.y...@intel.com> wrote: >> > On Mon, Mar 05, 2018 at 04:19:58AM +0800, Joe Stringer wrote: >&

Re: [ovs-dev] [PATCH v1 1/2] userspace datapath: Add GTP-U tunnel support

2018-03-04 Thread Joe Stringer
On 4 March 2018 at 18:48, Yang, Yi <yi.y.y...@intel.com> wrote: > On Mon, Mar 05, 2018 at 04:19:58AM +0800, Joe Stringer wrote: >> ?On 2 March 2018 at 04:32, Yi Yang <yi.y.y...@intel.com> wrote: >> > >> > Signed-off-by: Feng Yang <feng.y...@inte

Re: [ovs-dev] [PATCH v1 1/2] userspace datapath: Add GTP-U tunnel support

2018-03-04 Thread Joe Stringer
On 4 March 2018 at 12:19, Joe Stringer <j...@ovn.org> wrote: > ?On 2 March 2018 at 04:32, Yi Yang <yi.y.y...@intel.com> wrote: >> From: Feng Yang <feng.y...@intel.com> >> >> GPRS Tunneling Protocol (GTP) is a group of IP-based communications >> protoco

Re: [ovs-dev] netlink, ovs-datapath

2018-03-04 Thread Joe Stringer
On 4 March 2018 at 00:31, Damo Brisbane wrote: > Hello; > > I am trying to do basic ovs but confused by vswitchd messages, could be > platform issue, but having hard time trying to decipher. Am running 4.15.x > kernel on gentoo, so going with latest github (openvswitch/ovs).

Re: [ovs-dev] [PATCH v1 1/2] userspace datapath: Add GTP-U tunnel support

2018-03-04 Thread Joe Stringer
?On 2 March 2018 at 04:32, Yi Yang wrote: > From: Feng Yang > > GPRS Tunneling Protocol (GTP) is a group of IP-based communications > protocols used to carry general packet radio service (GPRS) within > GSM, UMTS and LTE networks. > > GTP can be

Re: [ovs-dev] [PATCH] docs: fix the documentation of n-handler-threads and n-revalidator-threads

2018-02-06 Thread Joe Stringer
On 6 February 2018 at 06:44, Matteo Croce wrote: > Documentation for both n-handler-threads and n-revalidator-threads was > wrong, the spawned threads are per port instead of per datapath. > > Update the docs according to vswitchd/ovs-vswitchd.8.in and code behaviour. > >

Re: [ovs-dev] [PATCH] odp-util: Fix buffer overread in parsing string form of ODP flows.

2017-11-26 Thread Joe Stringer
ed-by: Bhargava Shastry <bshas...@sec.t-labs.tu-berlin.de> > Signed-off-by: Ben Pfaff <b...@ovn.org> > --- Acked-by: Joe Stringer <j...@ovn.org> ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] ofproto-dpif-upcall: Transition ukey on dp_ops error.

2017-11-05 Thread Joe Stringer
On Thu, 2 Nov 2017, 15:02 Ben Pfaff, <b...@ovn.org> wrote: > On Mon, Sep 18, 2017 at 02:56:35PM -0700, Greg Rose wrote: > > On 09/06/2017 03:12 PM, Joe Stringer wrote: > > >In most situations, we don't expect that a flow we've successfully > > >dumped, which we in

Re: [ovs-dev] [PATCH net-next] openvswitch: add ct_clear action

2017-10-10 Thread Joe Stringer
On 10 October 2017 at 12:13, Eric Garver <e...@erig.me> wrote: > On Tue, Oct 10, 2017 at 10:24:20AM -0700, Joe Stringer wrote: >> On 10 October 2017 at 08:09, Eric Garver <e...@erig.me> wrote: >> > On Tue, Oct 10, 2017 at 05:33:48AM -0700, Joe Stringer wrote: &g

Re: [ovs-dev] [PATCH net-next] openvswitch: add ct_clear action

2017-10-10 Thread Joe Stringer
On 10 October 2017 at 08:09, Eric Garver <e...@erig.me> wrote: > On Tue, Oct 10, 2017 at 05:33:48AM -0700, Joe Stringer wrote: >> On 9 October 2017 at 21:41, Pravin Shelar <pshe...@ovn.org> wrote: >> > On Fri, Oct 6, 2017 at 9:44 AM, Eric Garver <e...@erig.me&g

Re: [ovs-dev] [PATCH net-next] openvswitch: add ct_clear action

2017-10-10 Thread Joe Stringer
On 9 October 2017 at 21:41, Pravin Shelar wrote: > On Fri, Oct 6, 2017 at 9:44 AM, Eric Garver wrote: >> This adds a ct_clear action for clearing conntrack state. ct_clear is >> currently implemented in OVS userspace, but is not backed by an action >> in the kernel

Re: [ovs-dev] [PATCH] dpif-netdev: Use portable error code for zero rate meter band

2017-09-28 Thread Joe Stringer
for meter) > CC: Ali Volkan ATLI <volkan.a...@argela.com.tr> > Signed-off-by: Andy Zhou <az...@ovn.org> LGTM. Acked-by: Joe Stringer <j...@ovn.org> ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [v2] bridge: Fix controller status update to passive connections

2017-09-13 Thread Joe Stringer
ed and not trigger asserts. > > Fixes: 85c55772a453 ("bridge: Fix controller status update") > Reported-by: Josh Bailey <j...@faucet.nz> > Signed-off-by: Andy Zhou <az...@ovn.org> Acked-by: Joe Stringer <j...@ovn.org> _

Re: [ovs-dev] [PATCH] bridge: Fix controller status update to passive connections

2017-09-07 Thread Joe Stringer
On 6 September 2017 at 15:24, Andy Zhou wrote: > The bug can cause ovs-vswitchd to crash (due to assert) when it is > set up with a passive controller connection. Since only active > connections are kept, the passive connection status update should be > ignored and not trigger

[ovs-dev] [PATCH] ofproto-dpif-upcall: Transition ukey on dp_ops error.

2017-09-06 Thread Joe Stringer
at happens. Signed-off-by: Joe Stringer <j...@ovn.org> --- ofproto/ofproto-dpif-upcall.c | 5 + 1 file changed, 5 insertions(+) diff --git a/ofproto/ofproto-dpif-upcall.c b/ofproto/ofproto-dpif-upcall.c index 4a71bbe258df..bd324fbb6323 100644 --- a/ofproto/ofproto-dpif-upcall.c +++ b/ofpr

Re: [ovs-dev] [PATCH] docs: Add references to git-pw

2017-08-31 Thread Joe Stringer
On 31 August 2017 at 02:02, Stephen Finucane <step...@that.guru> wrote: > On Thu, 2017-08-31 at 09:59 +0100, Stephen Finucane wrote: >> On Wed, 2017-08-30 at 10:38 -0700, Joe Stringer wrote: >> > On 29 August 2017 at 02:54, Stephen Finucane <step...@that.guru> wr

Re: [ovs-dev] [PATCH 1/2] datapath: compat: Fix build on RHEL 7.4

2017-08-23 Thread Joe Stringer
On 22 August 2017 at 18:00, Joe Stringer <j...@ovn.org> wrote: > On 22 August 2017 at 17:52, Yi-Hung Wei <yihung@gmail.com> wrote: >> RHEL 7.4 introduces netdev_master_upper_dev_link_rh() that breaks the >> backport of OVS kernel module on RHEL 7.4. This patch fix

Re: [ovs-dev] how to run script in *.at file in tests folder?

2017-08-23 Thread Joe Stringer
On 23 August 2017 at 10:32, Joe Stringer <j...@ovn.org> wrote: > On 23 August 2017 at 01:04, Sam <batmanu...@gmail.com> wrote: >> Hi all, >> >> I'm testing, I add a new at file, and in that file, I run another shell >> script like this: >

Re: [ovs-dev] how to run script in *.at file in tests folder?

2017-08-23 Thread Joe Stringer
On 23 August 2017 at 01:04, Sam wrote: > Hi all, > > I'm testing, I add a new at file, and in that file, I run another shell > script like this: > > AT_SETUP([vhost - run prepare-env.sh]) >> #OVS_VSWITCHD_START >> # No need to create, as bond1 has been created. >> echo

Re: [ovs-dev] [PATCH 1/2] datapath: compat: Fix build on RHEL 7.4

2017-08-22 Thread Joe Stringer
On 22 August 2017 at 17:52, Yi-Hung Wei wrote: > RHEL 7.4 introduces netdev_master_upper_dev_link_rh() that breaks the > backport of OVS kernel module on RHEL 7.4. This patch fixes that issue. > > Signed-off-by: Yi-Hung Wei > --- Thanks YiHung, LGTM.

Re: [ovs-dev] [PATCH 3/4] tc: Add header rewrite using tc pedit action

2017-08-22 Thread Joe Stringer
On 22 August 2017 at 13:31, Paul Blakey <pa...@mellanox.com> wrote: > > > On 22/08/2017 23:07, Paul Blakey wrote: >> >> >> >> On 21/08/2017 20:45, Joe Stringer wrote: >>> >>> On 20 August 2017 at 01:50, Paul Blakey <pa...@mellanox.com&g

Re: [ovs-dev] [PATCH] datapath: fix skb_panic due to the incorrect actions attrlen

2017-08-22 Thread Joe Stringer
On 22 August 2017 at 08:26, Greg Rose <gvrose8...@gmail.com> wrote: > On 08/18/2017 02:41 PM, Joe Stringer wrote: >> >> On 16 August 2017 at 15:48, Greg Rose <gvrose8...@gmail.com> wrote: >> > Upstream commit: >> > commit 494bea39f3201776cdfddc2327

Re: [ovs-dev] [PATCHv2] ofproto-dpif: Mark packets as "untracked" after call to ct().

2017-08-21 Thread Joe Stringer
ict the availability of ct_state following the ct() action execution, controller writers who wish to preserve access to this content across a CT action execution can do so using registers. In practice I'm not aware of any controller that is currently operating this way

Re: [ovs-dev] [PATCHv2] checkpatch: Enforce bracing around conditionals.

2017-08-21 Thread Joe Stringer
On 21 August 2017 at 06:31, Aaron Conole <acon...@redhat.com> wrote: > Joe Stringer <j...@ovn.org> writes: > >> The coding style states that BSD-style brace placement should be used, >> and even single statements should be enclosed. Add checks to checkpatch >&

Re: [ovs-dev] [PATCH 3/4] tc: Add header rewrite using tc pedit action

2017-08-21 Thread Joe Stringer
On 20 August 2017 at 01:50, Paul Blakey <pa...@mellanox.com> wrote: > > > On 18/08/2017 00:52, Joe Stringer wrote: >> >> On 17 August 2017 at 02:18, Paul Blakey <pa...@mellanox.com> wrote: >>> >>> >>> >>> On 15/08/2017 20:04

Re: [ovs-dev] [PATCH] datapath: fix skb_panic due to the incorrect actions attrlen

2017-08-18 Thread Joe Stringer
On 16 August 2017 at 15:48, Greg Rose wrote: > Upstream commit: > commit 494bea39f3201776cdfddc232705f54a0bd210c4 > Author: Liping Zhang > Date: Wed Aug 16 13:30:07 2017 +0800 > > For sw_flow_actions, the actions_len only represents

Re: [ovs-dev] [PATCH 1/2] tests/system-offloads-traffic.at: add sanity check

2017-08-18 Thread Joe Stringer
On 17 August 2017 at 11:07, Joe Stringer <j...@ovn.org> wrote: > On 17 August 2017 at 00:17, Roi Dayan <r...@mellanox.com> wrote: >> >> >> On 17/08/2017 08:32, Roi Dayan wrote: >>> >>> >>> >>> On 17/08/2017 01:17, J

Re: [ovs-dev] [PATCH V3 1/2] dpif: Fix cleanup of netdev_ports map

2017-08-18 Thread Joe Stringer
On 16 August 2017 at 22:59, Roi Dayan wrote: > Executing dpctl commands from userspace also calls to > dpif_open()/dpif_close() but not really creating another dpif > but using a clone. > As for netdev_ports map is global we avoid adding duplicate entries > but also need to

Re: [ovs-dev] [PATCH 4/4] netdev-tc-offloads: Add support for action set

2017-08-17 Thread Joe Stringer
On 17 August 2017 at 00:52, Paul Blakey <pa...@mellanox.com> wrote: > > > On 15/08/2017 20:24, Joe Stringer wrote: >> >> On 15 August 2017 at 01:19, Paul Blakey <pa...@mellanox.com> wrote: >>> >>> >>> >>> On 15/08/2017 10:28,

Re: [ovs-dev] [dpdk-dev] [ovs-dpdk-tests] where is ovs-dpdk test case?

2017-08-17 Thread Joe Stringer
On 17 August 2017 at 05:07, Kavanagh, Mark B wrote: > >>From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Sam >>Sent: Thursday, August 17, 2017 7:31 AM >>To: ovs-disc...@openvswitch.org; ovs-dev@openvswitch.org; d...@dpdk.org > > Hi Sam, > > Just a heads-up that

[ovs-dev] [PATCHv2] checkpatch: Enforce bracing around conditionals.

2017-08-17 Thread Joe Stringer
The coding style states that BSD-style brace placement should be used, and even single statements should be enclosed. Add checks to checkpatch for this, particularly for 'else' statements. Signed-off-by: Joe Stringer <j...@ovn.org> --- v2: Combine in same

Re: [ovs-dev] [PATCH] checkpatch: Enforce bracing around conditionals.

2017-08-17 Thread Joe Stringer
On 17 August 2017 at 07:35, Aaron Conole <acon...@redhat.com> wrote: > Hi Joe, > > Joe Stringer <j...@ovn.org> writes: > >> The coding style states that BSD-style brace placement should be used, >> and even single statements should be enclosed. Add checks to

Re: [ovs-dev] [PATCH 1/2] tests/system-offloads-traffic.at: add sanity check

2017-08-17 Thread Joe Stringer
On 17 August 2017 at 00:17, Roi Dayan <r...@mellanox.com> wrote: > > > On 17/08/2017 08:32, Roi Dayan wrote: >> >> >> >> On 17/08/2017 01:17, Joe Stringer wrote: >>> >>> On 16 August 2017 at 05:14, Roi Dayan <r...@mellanox.com> wrote:

[ovs-dev] [PATCH] checkpatch: Enforce bracing around conditionals.

2017-08-16 Thread Joe Stringer
The coding style states that BSD-style brace placement should be used, and even single statements should be enclosed. Add checks to checkpatch for this. Signed-off-by: Joe Stringer <j...@ovn.org> --- utilities/checkpatch.py | 13 + 1 file changed, 13 insertions(+) diff

Re: [ovs-dev] [PATCH] netdev-tc-offloads: Add prefix to identify source of log msg

2017-08-16 Thread Joe Stringer
On 16 August 2017 at 05:27, Roi Dayan wrote: > There is an identical log msg from multiple api calls. > Add a prefix to identify the source function of the log msg. > > Signed-off-by: Roi Dayan > Reviewed-by: Paul Blakey > --- Applied,

Re: [ovs-dev] [PATCH 1/2] tests/system-offloads-traffic.at: add sanity check

2017-08-16 Thread Joe Stringer
On 16 August 2017 at 05:14, Roi Dayan wrote: > Doing dump-flows also altering the netdev ports list. > So doing it pre the actual test is adding a check to > make sure we don't break the that list. > > Signed-off-by: Roi Dayan > Reviewed-by: Paul Blakey

Re: [ovs-dev] [PATCH V3 2/2] dpif: Fix cleanup of netdev_ports map

2017-08-16 Thread Joe Stringer
On 16 August 2017 at 05:12, Roi Dayan wrote: > Executing dpctl commands from userspace also calls to > dpif_open()/dpif_close() but not really creating another dpif > but using a clone. > As for netdev_ports map is global we avoid adding duplicate entries > but also need to

Re: [ovs-dev] [PATCHv2 2/2] tests: Comment which netcat version the opts are for.

2017-08-15 Thread Joe Stringer
On 15 August 2017 at 16:45, Flavio Leitner <f...@sysclose.org> wrote: > On Tue, 15 Aug 2017 16:15:55 -0700 > Joe Stringer <j...@ovn.org> wrote: > >> Signed-off-by: Joe Stringer <j...@ovn.org> >> --- >> tests/atlocal.in | 2 ++ >> 1 file changed,

Re: [ovs-dev] [PATCHv2 1/2] tests: Put maximum timeout on netcat calls.

2017-08-15 Thread Joe Stringer
On 15 August 2017 at 16:45, Flavio Leitner <f...@sysclose.org> wrote: > On Tue, 15 Aug 2017 16:15:54 -0700 > Joe Stringer <j...@ovn.org> wrote: > >> This was causing test script execution to hang forever on Ubuntu Zesty. >> Make sure it times out within 5 seco

[ovs-dev] [PATCHv2 2/2] tests: Comment which netcat version the opts are for.

2017-08-15 Thread Joe Stringer
Signed-off-by: Joe Stringer <j...@ovn.org> --- tests/atlocal.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/atlocal.in b/tests/atlocal.in index ba143d30f1d7..7c5e9e3357e5 100644 --- a/tests/atlocal.in +++ b/tests/atlocal.in @@ -152,8 +152,10 @@ find_command nc # Det

Re: [ovs-dev] [PATCH] tests: Put maximum timeout on netcat calls.

2017-08-15 Thread Joe Stringer
On 15 August 2017 at 15:23, Flavio Leitner <f...@sysclose.org> wrote: > On Tue, 15 Aug 2017 15:03:25 -0700 > Joe Stringer <j...@ovn.org> wrote: > >> This was causing test script execution to hang forever on Ubuntu Zesty. >> Make sure it times out within 5 seco

[ovs-dev] [PATCH] tests: Put maximum timeout on netcat calls.

2017-08-15 Thread Joe Stringer
This was causing test script execution to hang forever on Ubuntu Zesty. Make sure it times out within 5 seconds, so at least it will fail out properly. Signed-off-by: Joe Stringer <j...@ovn.org> --- tests/atlocal.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a

Re: [ovs-dev] [PATCHv3 0/4] Improve C++ support for OVSDB IDL.

2017-08-15 Thread Joe Stringer
On 11 August 2017 at 11:06, Joe Stringer <j...@ovn.org> wrote: > In the OVSDB IDL, we use C++ keywords such as "new", "mutable", "class" > for variable and field names. This series updates these names so that > they don't conflict with the C++ keywor

Re: [ovs-dev] [PATCH 4/4] netdev-tc-offloads: Add support for action set

2017-08-15 Thread Joe Stringer
On 8 August 2017 at 07:21, Roi Dayan wrote: > From: Paul Blakey > > Implement support for offloading ovs action set using > tc header rewrite action. > > Signed-off-by: Paul Blakey > Reviewed-by: Roi Dayan > ---

Re: [ovs-dev] [PATCH 4/4] netdev-tc-offloads: Add support for action set

2017-08-15 Thread Joe Stringer
On 15 August 2017 at 01:19, Paul Blakey <pa...@mellanox.com> wrote: > > > On 15/08/2017 10:28, Paul Blakey wrote: >> >> >> >> On 15/08/2017 04:04, Joe Stringer wrote: >>> >>> On 8 August 2017 at 07:21, Roi Dayan <r...@mellanox

Re: [ovs-dev] [PATCH 3/4] tc: Add header rewrite using tc pedit action

2017-08-15 Thread Joe Stringer
On 15 August 2017 at 01:19, Paul Blakey <pa...@mellanox.com> wrote: > > > On 15/08/2017 00:56, Joe Stringer wrote: >> >> On 8 August 2017 at 07:21, Roi Dayan <r...@mellanox.com> wrote: >>> >>> From: Paul Blakey <pa...@mellanox.com> >

Re: [ovs-dev] [PATCH 4/4] netdev-tc-offloads: Add support for action set

2017-08-14 Thread Joe Stringer
On 8 August 2017 at 07:21, Roi Dayan wrote: > From: Paul Blakey > > Implement support for offloading ovs action set using > tc header rewrite action. > > Signed-off-by: Paul Blakey > Reviewed-by: Roi Dayan > --- >

Re: [ovs-dev] [PATCH 3/4] tc: Add header rewrite using tc pedit action

2017-08-14 Thread Joe Stringer
On 8 August 2017 at 07:21, Roi Dayan wrote: > From: Paul Blakey > > To be later used to implement ovs action set offloading. > > Signed-off-by: Paul Blakey > Reviewed-by: Roi Dayan > --- Hi Paul and folks, some

Re: [ovs-dev] [PATCH 0/7] Add offload support for ip ttl and tcp flags

2017-08-11 Thread Joe Stringer
On 8 August 2017 at 01:03, Simon Horman wrote: > On Mon, Aug 07, 2017 at 06:19:04PM +0300, Roi Dayan wrote: >> Hi, >> >> This series adds support for offloading ip ttl and tcp flags >> using tc interface. > > This looks nice, thanks. > > Acked-by: Simon Horman

[ovs-dev] [PATCHv3 4/4] ovsdb-idl: Rename 'old' to 'old_datum'.

2017-08-11 Thread Joe Stringer
Now that the 'new' datum is named 'new_datum', be more consistent by renaming 'old' to 'old_datum' to match. Signed-off-by: Joe Stringer <j...@ovn.org> Acked-by: Ben Pfaff <b...@ovn.org> --- v3: Add ack. v2: New patch. --- lib/ovsdb-data.h | 4 +-- lib/ovsdb-idl-pro

[ovs-dev] [PATCHv3 3/4] ovsdb-idl: Avoid new expression.

2017-08-11 Thread Joe Stringer
In C++, 'new' is a keyword. If this is used as the name for a field, then C++ compilers can get confused about the context and fail to compile references to such fields. Rename the field to 'new_datum' to avoid this issue. Signed-off-by: Joe Stringer <j...@ovn.org> Acked-by: Ben Pf

[ovs-dev] [PATCHv3 2/4] ovsdb-idl: Avoid mutable type specifier.

2017-08-11 Thread Joe Stringer
In C++, 'mutable' is a keyword. If this is used as the name for a field, then C++ compilers can get confused about the context and fail to compile references to such fields. Rename the field to 'is_mutable' to avoid this issue. Signed-off-by: Joe Stringer <j...@ovn.org> --- v3:

[ovs-dev] [PATCHv3 1/4] ovsdb-idl: Avoid class declaration.

2017-08-11 Thread Joe Stringer
In C++, 'class' is a keyword. If this is used as the name for a field, then C++ compilers can get confused about the context and fail to compile references to such fields. Rename the field to 'class_' to avoid this issue. Signed-off-by: Joe Stringer <j...@ovn.org> --- v3: Also update ovsdb

[ovs-dev] [PATCHv3 0/4] Improve C++ support for OVSDB IDL.

2017-08-11 Thread Joe Stringer
d.h" + +#ifdef __cplusplus +extern "C" { +#endif''' % {'prefix': prefix.upper()}) for tableName, table in sorted(schema.tables.items()): structName = "%s%s" % (prefix, tableName.lower()) @@ -1050,6 +1054,10 @@ const char * { return "%s"; } + +

Re: [ovs-dev] [PATCHv2 3/4] ovsdb-idl: Avoid new expression.

2017-08-11 Thread Joe Stringer
On 10 August 2017 at 13:30, Ben Pfaff <b...@ovn.org> wrote: > On Wed, Aug 09, 2017 at 03:27:41PM -0700, Joe Stringer wrote: >> In C++, 'new' is a keyword. If this is used as the name for a field, >> then C++ compilers can get confused about the context and fail to

Re: [ovs-dev] [PATCHv2 2/4] ovsdb-idl: Avoid mutable type specifier.

2017-08-11 Thread Joe Stringer
On 9 August 2017 at 20:54, Gao Zhenyu wrote: > How about mutable --> is_mutable ? Thanks, I'll apply this change and respin. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCHv2] netdev: Free ifidx mapping in netdev_ports_remove().

2017-08-11 Thread Joe Stringer
On 9 August 2017 at 17:18, Joe Stringer <j...@ovn.org> wrote: > Previously, netdev_ports_insert() would allocate and insert an > ifindex->odp_port mapping, but netdev_ports_remove() would never remove > the mapping or free the mapping structure. This patch fixes these up. > &g

Re: [ovs-dev] [PATCH] openvswitch: Remove unnecessary newlines from OVS_NLERR uses

2017-08-11 Thread Joe Stringer
On 11 August 2017 at 04:26, Joe Perches <j...@perches.com> wrote: > OVS_NLERR already adds a newline so these just add blank > lines to the logging. > > Signed-off-by: Joe Perches <j...@perches.com> Acked-by: Joe Stringer <j...@ovn.org> _

Re: [ovs-dev] [PATCHv2 1/4] ovsdb-idl: Avoid class declaration.

2017-08-10 Thread Joe Stringer
On 10 August 2017 at 11:41, Ben Pfaff wrote: > On Thu, Aug 10, 2017 at 01:01:32PM +0800, Gao Zhenyu wrote: >> How about: >> struct ovsdb_idl_table { >> ... >> const struct ovsdb_idl_table_class *table_class >> >> } >> >> struct ovsdb_idl { >> >> const struct

[ovs-dev] [PATCHv2] netdev: Free ifidx mapping in netdev_ports_remove().

2017-08-09 Thread Joe Stringer
Andy Zhou <az...@ovn.org> Signed-off-by: Joe Stringer <j...@ovn.org> Acked-by: Andy Zhou <az...@ovn.org> --- v2: Added more safety checks for ifindex, NULL pointers. Added warning message if the ifindex can't be obtained. --- lib/netdev.c | 20 1 file change

Re: [ovs-dev] [PATCH 2/3] checkpatch: Fix matching on C filenames.

2017-08-09 Thread Joe Stringer
On 9 August 2017 at 13:58, Ben Pfaff <b...@ovn.org> wrote: > On Wed, Aug 09, 2017 at 01:37:51PM -0700, Joe Stringer wrote: >> Most of the prerequisite checks so far matched on filenames that ended >> in some character followed by 'c' or 'h', rather than a filename that >>

Re: [ovs-dev] [PATCH 1/3] checkpatch: Check for infix operator whitespace.

2017-08-09 Thread Joe Stringer
On 9 August 2017 at 13:58, Ben Pfaff <b...@ovn.org> wrote: > On Wed, Aug 09, 2017 at 01:37:50PM -0700, Joe Stringer wrote: >> The 'Expressions' section of the coding style specifies that one space >> should be on either side of infix binary and ternary operators.

Re: [ovs-dev] [PATCH trivial 1/3] netdev-dummy: Fix minor style variation.

2017-08-09 Thread Joe Stringer
On 9 August 2017 at 13:46, Ben Pfaff <b...@ovn.org> wrote: > On Wed, Aug 09, 2017 at 01:38:05PM -0700, Joe Stringer wrote: >> Signed-off-by: Joe Stringer <j...@ovn.org> > > For all three patches: > Acked-by: Ben Pfaff <b...@ov

Re: [ovs-dev] [PATCHv3 1/2] netdev: Free ifidx mapping in netdev_ports_remove().

2017-08-09 Thread Joe Stringer
On 8 August 2017 at 18:16, Andy Zhou <az...@ovn.org> wrote: > On Tue, Aug 8, 2017 at 5:10 PM, Joe Stringer <j...@ovn.org> wrote: >> Previously, netdev_ports_insert() would allocate and insert an >> ifindex->odp_port mapping, but netdev_ports_remove() would never

Re: [ovs-dev] [PATCHv3 2/2] dpif: Clean up netdev_ports map on dpif_close().

2017-08-09 Thread Joe Stringer
On 8 August 2017 at 18:33, Andy Zhou <az...@ovn.org> wrote: > On Tue, Aug 8, 2017 at 5:10 PM, Joe Stringer <j...@ovn.org> wrote: >> Commit 32b77c316d9982("dpif: Save added ports in a port map.") >> introduced tracking of all dpif ports by taking a refer

[ovs-dev] [PATCHv2 4/4] ovsdb-idl: Rename 'old' to 'old_datum'.

2017-08-09 Thread Joe Stringer
Now that the 'new' datum is named 'new_datum', be more consistent by renaming 'old' to 'old_datum' to match. Signed-off-by: Joe Stringer <j...@ovn.org> --- v2: New patch. --- lib/ovsdb-data.h | 4 +-- lib/ovsdb-idl-provider.h | 22 +++--- lib/ovsdb-idl.c

[ovs-dev] [PATCHv2 3/4] ovsdb-idl: Avoid new expression.

2017-08-09 Thread Joe Stringer
In C++, 'new' is a keyword. If this is used as the name for a field, then C++ compilers can get confused about the context and fail to compile references to such fields. Rename the field to 'new_datum' to avoid this issue. Signed-off-by: Joe Stringer <j...@ovn.org> --- v2: Rebase.

[ovs-dev] [PATCHv2 2/4] ovsdb-idl: Avoid mutable type specifier.

2017-08-09 Thread Joe Stringer
In C++, 'mutable' is a keyword. If this is used as the name for a field, then C++ compilers can get confused about the context and fail to compile references to such fields. Rename the field to 'mutable_' to avoid this issue. Signed-off-by: Joe Stringer <j...@ovn.org> --- v2: Rebase. --

[ovs-dev] [PATCHv2 1/4] ovsdb-idl: Avoid class declaration.

2017-08-09 Thread Joe Stringer
In C++, 'class' is a keyword. If this is used as the name for a field, then C++ compilers can get confused about the context and fail to compile references to such fields. Rename the field to 'class_' to avoid this issue. Signed-off-by: Joe Stringer <j...@ovn.org> --- v2: Rebase. --- lib/

[ovs-dev] [PATCHv2 0/4] Improve C++ support for OVSDB IDL.

2017-08-09 Thread Joe Stringer
us +extern "C" { +#endif''' % {'prefix': prefix.upper()}) for tableName, table in sorted(schema.tables.items()): structName = "%s%s" % (prefix, tableName.lower()) @@ -1050,6 +1054,10 @@ const char * { return "%s"; } + +#ifdef __cplusplus +} +#endif

[ovs-dev] [PATCH trivial 3/3] ovn-northd: Fix minor style variation.

2017-08-09 Thread Joe Stringer
Signed-off-by: Joe Stringer <j...@ovn.org> --- ovn/northd/ovn-northd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovn/northd/ovn-northd.c b/ovn/northd/ovn-northd.c index 99d15a7a56c4..49e4ac3383d3 100644 --- a/ovn/northd/ovn-northd.c +++ b/ovn/northd/ovn-no

[ovs-dev] [PATCH trivial 1/3] netdev-dummy: Fix minor style variation.

2017-08-09 Thread Joe Stringer
Signed-off-by: Joe Stringer <j...@ovn.org> --- lib/netdev-dummy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netdev-dummy.c b/lib/netdev-dummy.c index 62ddd0c67834..f731af1dfd0e 100644 --- a/lib/netdev-dummy.c +++ b/lib/netdev-dummy.c @@ -1574,7 +

[ovs-dev] [PATCH 3/3] checkpatch: Check for trailing operators.

2017-08-09 Thread Joe Stringer
The style guide states that lines should not end with '?' or ':'. Check for this and report an error. Signed-off-by: Joe Stringer <j...@ovn.org> --- v2: Restrict to '?' and ':'. Make sure that goto tags aren't flagged. --- utilities/checkpatch.py | 14 +- 1 file chang

[ovs-dev] [PATCH 1/3] checkpatch: Check for infix operator whitespace.

2017-08-09 Thread Joe Stringer
to the contents of strings. This check is left at warning level because there isn't a good way to determine whether a line is within a multiline comment or string, so it will occasionally flag such lines which contain hyphenated words. Signed-off-by: Joe Stringer <j...@ovn.org> --- utilities/checkpa

Re: [ovs-dev] [patch_v4] dp-packet: Reset DPDK HWOL checksum flags on init.

2017-08-09 Thread Joe Stringer
On 8 August 2017 at 19:10, Darrell Ball wrote: > Thanks Joe > I forgot to add your Tested-by to V5; I have been testing this myself; but > let me know if you would like it added – I can send a V6. No worries, it looks like you'll resubmit with a slightly different approach so

[ovs-dev] [PATCHv3 2/2] dpif: Clean up netdev_ports map on dpif_close().

2017-08-08 Thread Joe Stringer
cular problem by not adding such devices to the netdev_ports map, but the referencing/unreferencing upon dpif_open()/dpif_close() is still not balanced. Balance the referencing of netdevs by clearing these during dpif_close(). Fixes: 32b77c316d9982("dpif: Save added ports in a port map.")

[ovs-dev] [PATCHv3 1/2] netdev: Free ifidx mapping in netdev_ports_remove().

2017-08-08 Thread Joe Stringer
Andy Zhou <az...@ovn.org> Signed-off-by: Joe Stringer <j...@ovn.org> --- v3: First post. --- lib/netdev.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/lib/netdev.c b/lib/netdev.c index 7e9896b82928..a8f5348264c8 100644 --- a/lib/netdev.c +++ b/lib/net

Re: [ovs-dev] [PATCH 2/3] ovsdb-idl: Avoid new expression.

2017-08-08 Thread Joe Stringer
On 8 August 2017 at 00:46, Gao Zhenyu wrote: > Thanks for working on it! > > I think new_ is not a good name. Could you please try to revise it? > like: old --> old_datum >new -->new_datum Sure thing, that's a better name. > BTW, you also need to update 'new'

Re: [ovs-dev] [patch_v4] dp-packet: Reset DPDK HWOL checksum flags on init.

2017-08-08 Thread Joe Stringer
um flag is checked. > > Fixes: 7451af618e0d ("dp-packet : Update DPDK rx checksum validation > functions.") > CC: Sugesh Chandran <sugesh.chand...@intel.com> > Signed-off-by: Darrell Ball <dlu...@gmail.com> > --- Tested-by: Joe Stringer <j...@ovn.org&g

Re: [ovs-dev] [PATCH] ofp-print: #include its own header first.

2017-08-08 Thread Joe Stringer
n Pfaff <b...@ovn.org> > --- Acked-by: Joe Stringer <j...@ovn.org> ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [PATCH] include: Add struct declaration to ofp-print.h.

2017-08-08 Thread Joe Stringer
On 8 August 2017 at 16:10, Ben Pfaff <b...@ovn.org> wrote: > On Tue, Aug 08, 2017 at 02:30:28PM -0700, Joe Stringer wrote: >> If a libopenvswitch user includes ofp-print.h before ofp-util.h (which >> is standard alphabetical order), and turns on -Werror, then they would &g

Re: [ovs-dev] [PATCHv2 2/2] dpif: Fix clean up of dpif_ports on dpif_close().

2017-08-08 Thread Joe Stringer
On 8 August 2017 at 13:48, Andy Zhou <az...@ovn.org> wrote: > On Tue, Aug 8, 2017 at 11:23 AM, Joe Stringer <j...@ovn.org> wrote: >> Commit 32b77c316d9982("dpif: Save added ports in a port map.") >> introduced tracking of all dpif ports by taking a refer

[ovs-dev] [PATCH] include: Add struct declaration to ofp-print.h.

2017-08-08 Thread Joe Stringer
or declaration [-Werror] void ofp_print(FILE *, const void *, size_t *, const struct ofputil_port_map *, Fixes: 50f96b10e1c8 ("Support accepting and displaying port names in OVS tools.") Signed-off-by: Joe Stringer <j...@ovn.org> --- include/openvswitch/ofp-print.h | 1 + 1

[ovs-dev] [PATCHv2 2/2] dpif: Fix clean up of dpif_ports on dpif_close().

2017-08-08 Thread Joe Stringer
Save added ports in a port map.") Signed-off-by: Joe Stringer <j...@ovn.org> --- v2: Update commit message. Rebase. v1: Initial posting. --- lib/dpif.c | 1 + lib/netdev.c | 15 +++ lib/netdev.h | 1 + 3 files changed, 17 insertions(+) diff --git a/lib/dpif.c b/lib/

Re: [ovs-dev] [PATCH 2/2] dpif: Fix clean up of dpif_ports on dpif_close().

2017-08-07 Thread Joe Stringer
On 7 August 2017 at 17:00, Ben Pfaff <b...@ovn.org> wrote: > On Tue, Jun 27, 2017 at 11:13:10AM -0700, Joe Stringer wrote: >> Commit 32b77c316d9982("dpif: Save added ports in a port map.") >> introduced tracking of all dpif ports by taking a reference on each &g

Re: [ovs-dev] [PATCH] system-kmod-macros: Load TFTP module.

2017-08-07 Thread Joe Stringer
On 7 August 2017 at 16:56, Andy Zhou <az...@ovn.org> wrote: > On Mon, Aug 7, 2017 at 2:58 PM, Joe Stringer <j...@ovn.org> wrote: >> Just like the FTP module needs to be loaded to ensure that the FTP tests >> work, the TFTP module needs to be loaded to ensure that the TFT

Re: [ovs-dev] [PATCH] system-traffic: Fix TFTP NAT skip check.

2017-08-07 Thread Joe Stringer
On 7 August 2017 at 13:35, Andy Zhou <az...@ovn.org> wrote: > On Mon, Aug 7, 2017 at 1:05 PM, Joe Stringer <j...@ovn.org> wrote: >> This test checked whether FTP support was available rather than TFTP. >> It should check for TFTP, fix it. >> >> Fixes: 200

[ovs-dev] [PATCH] system-kmod-macros: Load TFTP module.

2017-08-07 Thread Joe Stringer
Just like the FTP module needs to be loaded to ensure that the FTP tests work, the TFTP module needs to be loaded to ensure that the TFTP tests work. This patch does so. Fixes: 200a9af97d1c ("System tests: Add 4 new ftp and tftp tests.") Signed-off-by: Joe Stringer <j...@ovn.or

Re: [ovs-dev] [PATCH 2/2] ofproto-dpif-upcall: Fix key attr iteration.

2017-08-07 Thread Joe Stringer
On 3 August 2017 at 14:35, Ben Pfaff <b...@ovn.org> wrote: > On Mon, Jul 31, 2017 at 04:54:22PM -0700, Joe Stringer wrote: >> This call is operating on messages generated by the datapath. If a >> datapath implementation sends improperly formatted netlink attributes,

[ovs-dev] [PATCH] system-traffic: Fix TFTP NAT skip check.

2017-08-07 Thread Joe Stringer
This test checked whether FTP support was available rather than TFTP. It should check for TFTP, fix it. Fixes: 200a9af97d1c ("System tests: Add 4 new ftp and tftp tests.") Signed-off-by: Joe Stringer <j...@ovn.org> --- tests/system-traffic.at | 2 +- 1 file changed, 1 insertio

Re: [ovs-dev] [PATCH 1/2] ofproto-dpif-upcall: Fix action attr iteration.

2017-08-07 Thread Joe Stringer
On 3 August 2017 at 14:34, Ben Pfaff <b...@ovn.org> wrote: > On Mon, Jul 31, 2017 at 04:54:21PM -0700, Joe Stringer wrote: >> This calls is operating on messages generated by the datapath. If a >> datapath implementation sends improperly formatted netlink attributes,

Re: [ovs-dev] [PATCH 1/2] ofproto-dpif-upcall: Fix action attr iteration.

2017-08-07 Thread Joe Stringer
On 2 August 2017 at 17:11, Greg Rose <gvrose8...@gmail.com> wrote: > On 07/31/2017 04:54 PM, Joe Stringer wrote: >> >> This calls is operating on messages generated by the datapath. If a > > > s/calls/call > >> datapath implementation sends improperly for

  1   2   3   4   5   6   7   8   9   10   >