Re: [ovs-dev] [PATCH] Fix packet-in reason for OpenFlow1.3 table-miss flow entries

2013-10-16 Thread YAMAMOTO Takashi
> On Thu, Oct 17, 2013 at 02:11:00PM +0900, YAMAMOTO Takashi wrote: >> > On Wed, Oct 16, 2013 at 05:24:36PM +0900, YAMAMOTO Takashi wrote: >> >> As per spec, make packet-in reason for OpenFlow1.3 table-miss flow >> >> entries no_match rather than action. >> >> >> >> Signed-off-by: YAMAMOTO Takashi

Re: [ovs-dev] [PATCH] Fix packet-in reason for OpenFlow1.3 table-miss flow entries

2013-10-16 Thread Ben Pfaff
On Thu, Oct 17, 2013 at 02:11:00PM +0900, YAMAMOTO Takashi wrote: > > On Wed, Oct 16, 2013 at 05:24:36PM +0900, YAMAMOTO Takashi wrote: > >> As per spec, make packet-in reason for OpenFlow1.3 table-miss flow > >> entries no_match rather than action. > >> > >> Signed-off-by: YAMAMOTO Takashi > >

Re: [ovs-dev] [PATCH] Fix packet-in reason for OpenFlow1.3 table-miss flow entries

2013-10-16 Thread YAMAMOTO Takashi
> On Wed, Oct 16, 2013 at 05:24:36PM +0900, YAMAMOTO Takashi wrote: >> As per spec, make packet-in reason for OpenFlow1.3 table-miss flow >> entries no_match rather than action. >> >> Signed-off-by: YAMAMOTO Takashi > > Thanks! I really appreciate that you are working on conformance to > later

Re: [ovs-dev] [PATCH] netdev-dummy: Count rx packets regardless of source

2013-10-16 Thread Ben Pfaff
On Thu, Oct 17, 2013 at 09:54:11AM +0900, Simon Horman wrote: > I did wonder if this solution is slightly sub-optimal as > now the mutex is taken both in netdev_dummy_rx_recv() > and netdev_dummy_rx_recv(). Then again, I'm not sure that > it is critical to optimise netdev-dummy. I agree, netdev-du

Re: [ovs-dev] [PATCH 6/6] ofproto-dpif-monitor: Use heap to order the mport wakeup time.

2013-10-16 Thread Alex Wang
Thanks a lot! Long waited moment~ ;D On Wed, Oct 16, 2013 at 6:05 PM, Ethan Jackson wrote: > Oh also, it's best to enclose arguments to macros with parens so I > folded that in as well. > > > https://www.securecoding.cert.org/confluence/display/seccode/PRE01-C.+Use+parentheses+within+macros+aro

[ovs-dev] [PATCH v2.44 0/5] MPLS actions and matches

2013-10-16 Thread Simon Horman
Hi, This series implements MPLS actions and matches based on work by Ravi K, Leo Alterman, Yamahata-san and Joe Stringer. This series provides two changes * Patches 1 - 3 Provide user-space support for the VLAN/MPLS tag insertion order up to and including OpenFlow 1.2, and the different ord

[ovs-dev] [PATCH v2.44 2/5] ofp-actions: Add separate OpenFlow 1.3 action parser

2013-10-16 Thread Simon Horman
From: Joe Stringer This patch adds new ofpact_from_openflow13() and ofpacts_from_openflow13() functions parallel to the existing ofpact handling code. In the OpenFlow 1.3 version, push_mpls is handled differently, but all other actions are handled by the existing code. In the case of push_mpls f

[ovs-dev] [PATCH v2.44 5/5] datapath: Add basic MPLS support to kernel

2013-10-16 Thread Simon Horman
Allow datapath to recognize and extract MPLS labels into flow keys and execute actions which push, pop, and set labels on packets. Based heavily on work by Leo Alterman, Ravi K, Isaku Yamahata and Joe Stringer. Cc: Ravi K Cc: Leo Alterman Cc: Isaku Yamahata Cc: Joe Stringer Signed-off-by: Sim

[ovs-dev] [PATCH v2.44 3/5] lib: Support pushing of MPLS LSE before or after VLAN tag

2013-10-16 Thread Simon Horman
From: Joe Stringer This patch modifies the push_mpls behaviour to allow pushing of an MPLS LSE either before any VLAN tag that may be present. Pushing the MPLS LSE before any VLAN tag that is present is the behaviour specified in OpenFlow 1.3. Pushing the MPLS LSE after the any VLAN tag that is

[ovs-dev] [PATCH v2.44 1/5] odp: Allow VLAN actions after MPLS actions

2013-10-16 Thread Simon Horman
From: Joe Stringer OpenFlow 1.1 and 1.2, and 1.3 differ in their handling of MPLS actions in the presence of VLAN tags. To allow correct behaviour to be committed in each situation, this patch adds a second round of VLAN tag action handling to commit_odp_actions(), which occurs after MPLS actions

[ovs-dev] [PATCH v2.44 4/5] datapath: Break out deacceleration portion of vlan_push

2013-10-16 Thread Simon Horman
Break out deacceleration portion of vlan_push into vlan_put so that it may be re-used by mpls_push. For both vlan_push and mpls_push if there is an accelerated VLAN tag present then it should be deaccelerated, adding it to the data of the skb, before the new tag is added. Signed-off-by: Simon Hor

Re: [ovs-dev] [PATCH 6/6] ofproto-dpif-monitor: Use heap to order the mport wakeup time.

2013-10-16 Thread Ethan Jackson
Oh also, it's best to enclose arguments to macros with parens so I folded that in as well. https://www.securecoding.cert.org/confluence/display/seccode/PRE01-C.+Use+parentheses+within+macros+around+parameter+names Ethan On Wed, Oct 16, 2013 at 6:03 PM, Ethan Jackson wrote: > I renamed the macro

Re: [ovs-dev] [PATCH 6/6] ofproto-dpif-monitor: Use heap to order the mport wakeup time.

2013-10-16 Thread Ethan Jackson
I renamed the macros to something slightly shorter and will merge this. Thanks a lot. Ethan On Tue, Oct 15, 2013 at 12:32 PM, Alex Wang wrote: > Before this commit, each time ofproto-dpif-monitor thread wakes up, > all monitored ports will be iterated over. This adds a huge overhead > to the m

Re: [ovs-dev] [PATCH v2.43 0/5] MPLS actions and matches

2013-10-16 Thread Simon Horman
On Wed, Oct 16, 2013 at 01:47:43PM -0700, Ben Pfaff wrote: > On Wed, Oct 16, 2013 at 01:21:22PM -0700, Jesse Gross wrote: > > On Tue, Oct 15, 2013 at 8:55 PM, Ben Pfaff wrote: > > > On Thu, Oct 10, 2013 at 09:31:41AM +0900, Simon Horman wrote: > > >> I believe this series addresses the feedback th

Re: [ovs-dev] [PATCH] netdev-dummy: Count rx packets regardless of source

2013-10-16 Thread Simon Horman
On Wed, Oct 16, 2013 at 09:09:15AM -0700, Ben Pfaff wrote: > On Wed, Oct 16, 2013 at 07:17:01PM +0900, Simon Horman wrote: > > This alters the way rx packets are accounted for by > > counting them when they are processed by netdev_dummy_rx_recv(), > > which seems to be a common path used by all rec

[ovs-dev] [PATCH 2/2] ofproto/trace: Show "Relevant fields" of each resubmit.

2013-10-16 Thread Alex Wang
This commit makes the ofproto/dpif command show the "Relevant fields" of each resubmit. Signed-off-by: Alex Wang --- ofproto/ofproto-dpif.c | 22 -- tests/ofproto-dpif.at | 35 +++ 2 files changed, 51 insertions(+), 6 deletions(-) diff --

[ovs-dev] [PATCH 1/2] ofproto-dpif: Use final flow to compute "Relevant fields".

2013-10-16 Thread Alex Wang
Commit bcd2633a (ofproto-dpif: Store relevant fields for wildcarding in facet.) introduced the bug that uses original input flow as final flow to compute the "Relevant fields" in ofproto/trace ouput. This commit fixes this bug. Signed-off-by: Alex Wang --- ofproto/ofproto-dpif.c |2 +- 1 fi

Re: [ovs-dev] [PATCH] oftest: Update default controller port number to match recent OFTest.

2013-10-16 Thread Simon Horman
Yes, looks good to me too. Reviewed-by: Simon Horman On Wed, Oct 16, 2013 at 08:12:39PM +0300, Lori Jakab wrote: > Looks good to me, thanks for fixing! > > On 10/16/13 7:28 PM, Ben Pfaff wrote: > >Also, document how to work around it if you use an older OFTest. > > > >Reported-by: Simon Horman

Re: [ovs-dev] [PATCH] netdev-dummy: Count rx packets regardless of source

2013-10-16 Thread Simon Horman
On Wed, Oct 16, 2013 at 02:32:55PM +0300, Lori Jakab wrote: > On 10/16/13 1:17 PM, Simon Horman wrote: > >This alters the way rx packets are accounted for by > >counting them when they are processed by netdev_dummy_rx_recv(), > >which seems to be a common path used by all received packets. > > > >P

Re: [ovs-dev] [PATCH 1/2] datapath: collect mega flow mask stats

2013-10-16 Thread Jesse Gross
On Fri, Oct 11, 2013 at 3:55 PM, Andy Zhou wrote: > diff --git a/datapath/datapath.c b/datapath/datapath.c > index 9e6df12..859a3b1 100644 > --- a/datapath/datapath.c > +++ b/datapath/datapath.c > +static void get_dp_megaflow_stats(struct datapath *dp, > + struct ovs_dp_megaflow_stat

[ovs-dev] [PATCH 9/9] Log a warning when deprecated actions are received.

2013-10-16 Thread Jarno Rajahalme
Simplify some of the ofp-actions interface. Signed-off-by: Jarno Rajahalme --- lib/ofp-actions.c | 137 +++-- lib/ofp-actions.h | 17 +++--- lib/ofp-util.c| 77 +-- lib/ofp-util.h|1 + utilities/

[ovs-dev] [PATCH 8/9] ofp-actions: Output deprecated set actions as set field's on OF 1.2+.

2013-10-16 Thread Jarno Rajahalme
ofpacts_check() now stores the nw_proto field from flow to port number set actions, so that we later remember which protocol they relate to. This is needed for an accurate tranlation to OF 1.2+ set field action. Simplify some of the ofp-actions interface. Signed-off-by: Jarno Rajahalme --- lib/

[ovs-dev] [PATCH 7/9] ofp-actions: Set field OF 1.0/1.1 compatibility.

2013-10-16 Thread Jarno Rajahalme
Output set field actions as standard OF1.0/1.1 set actions whenever possible. Signed-off-by: Jarno Rajahalme --- lib/ofp-util.c | 160 tests/ovs-ofctl.at |4 +- 2 files changed, 162 insertions(+), 2 deletions(-) diff --git a/lib/ofp-

[ovs-dev] [PATCH 6/9] More compact ofpact_set_field.

2013-10-16 Thread Jarno Rajahalme
Signed-off-by: Jarno Rajahalme --- lib/meta-flow.h |2 +- lib/ofp-actions.c| 44 +++--- lib/ofp-actions.h| 48 +- lib/ofp-parse.c | 14 ++-- lib/ofp-util.c

[ovs-dev] [PATCH 5/9] Native OpenFlow 1.2 set_field action support.

2013-10-16 Thread Jarno Rajahalme
This is a little bit simpler and marginally more efficient, but also makes following changes easier. Signed-off-by: Jarno Rajahalme --- lib/meta-flow.c | 10 +--- lib/meta-flow.h | 10 +++- lib/nx-match.c | 131 ++--

[ovs-dev] [PATCH 3/9] Add OF11 set IP ECN action.

2013-10-16 Thread Jarno Rajahalme
Signed-off-by: Jarno Rajahalme --- lib/ofp-actions.c| 24 lib/ofp-actions.h|9 + lib/ofp-parse.c | 14 +- lib/ofp-util.def |2 +- ofproto/ofproto-dpif-xlate.c |8 tests/ovs-ofctl

[ovs-dev] [PATCH 1/9] include/openflow: Move union ofp_action away from headers.

2013-10-16 Thread Jarno Rajahalme
union ofp_action cannot remain in the OF 1.0 header as it is expanded to include actions from later versions. Also, it is not part of the protocol interface and will be easier to update where it is actually used. Signed-off-by: Jarno Rajahalme --- include/openflow/openflow-1.0.h | 13

[ovs-dev] [PATCH 4/9] Add OF11 SET IP TTL action.

2013-10-16 Thread Jarno Rajahalme
Signed-off-by: Jarno Rajahalme --- lib/ofp-actions.c| 21 + lib/ofp-actions.h|9 + lib/ofp-parse.c | 11 ++- lib/ofp-util.def |2 +- ofproto/ofproto-dpif-xlate.c | 10 ++ tests/ovs-ofctl.at

[ovs-dev] [PATCH 2/9] Fix ovs-ofctl documentation.

2013-10-16 Thread Jarno Rajahalme
Make it clear that match fields are rejected when their prerequisities are not met, rather than just having their values ignored. Also state that if decrementing makes a TTL zero, the controller notification may be sent. Signed-off-by: Jarno Rajahalme --- utilities/ovs-ofctl.8.in | 30 +++

[ovs-dev] [PATCH 0/9] Native OpenFlow 1.2 set field support.

2013-10-16 Thread Jarno Rajahalme
This series avoids using the deprecated field setting actions on OF 1.2+, and logs a warning when they are received over OF 1.2+. Jarno Rajahalme (9): include/openflow: Move union ofp_action away from headers. Fix ovs-ofctl documentation. Add OF11 set IP ECN action. Add OF11 SET IP TTL act

Re: [ovs-dev] [PATCH] vswitch.ovsschema: A new column, 'kmod_version' in Open_vSwitch table.

2013-10-16 Thread Ben Pfaff
On Wed, Oct 16, 2013 at 01:55:41PM -0700, Gurucharan Shetty wrote: > The new column 'kmod_version' will be used by ovs-ctl to set the > kernel module version that ovs-vswitchd will be interacting with. > This column can be quite useful for remote systems to figure out > any discrepancies in the ker

Re: [ovs-dev] [PATCH] ovs-dpctl: Add a 'filter' option to match wildcarded 'dump-flows'.

2013-10-16 Thread Ben Pfaff
On Wed, Oct 16, 2013 at 11:22:31AM -0700, Gurucharan Shetty wrote: > On Tue, Oct 15, 2013 at 5:01 PM, Ben Pfaff wrote: > > On Mon, Oct 14, 2013 at 08:55:35AM -0700, Gurucharan Shetty wrote: > >> With mega-flows, many flows in the kernel datapath are wildcarded. > >> For someone that is debugging a

Re: [ovs-dev] [PATCH] datapath: Add support for Linux 3.11

2013-10-16 Thread Jesse Gross
On Mon, Oct 14, 2013 at 3:26 PM, Pravin B Shelar wrote: > diff --git a/FAQ b/FAQ > index d36495c..e904d35 100644 > --- a/FAQ > +++ b/FAQ > @@ -148,7 +148,7 @@ A: The following table lists the Linux kernel versions > against which the > 1.9.x 2.6.18 to 3.8 > 1.10.x 2.6.18

Re: [ovs-dev] [PATCH v4 net-next] openvswitch: fix vport-netdev unregister

2013-10-16 Thread Jesse Gross
On Tue, Oct 15, 2013 at 2:54 PM, Alexei Starovoitov wrote: > The combination of two commits: > commit 8e4e1713e4 > ("openvswitch: Simplify datapath locking.") > commit 2537b4dd0a > ("openvswitch:: link upper device for port devices") > > introduced a bug where upper_dev wasn't unlinked upon > netd

Re: [ovs-dev] [PATCH 2/2] bfd: Improve log message.

2013-10-16 Thread Alex Wang
Looks good to me, On Mon, Sep 30, 2013 at 2:47 PM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > lib/bfd.c |6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/lib/bfd.c b/lib/bfd.c > index 6c9e920..dbb0e13 100644 > --- a/lib/bfd.c > +++ b/lib/bfd.c > @@ -62

Re: [ovs-dev] [PATCH 1/2] flow: Fill in ->l7 in flow_compose().

2013-10-16 Thread Alex Wang
Have a question, function flow_compose() is called when we specify '-generate' option. in that case, the packet will not have any l7 data. so, seem to me there is no change to the output. Thanks, On Mon, Sep 30, 2013 at 2:47 PM, Ben Pfaff wrote: > flow_extract() fills in ->l7 but flow_compo

Re: [ovs-dev] [PATCH] oftest: Update default controller port number to match recent OFTest.

2013-10-16 Thread Ben Pfaff
Thanks, applied to master. On Wed, Oct 16, 2013 at 08:12:39PM +0300, Lori Jakab wrote: > Looks good to me, thanks for fixing! > > On 10/16/13 7:28 PM, Ben Pfaff wrote: > >Also, document how to work around it if you use an older OFTest. > > > >Reported-by: Simon Horman > >Reported-by: Lori Jakab

[ovs-dev] [PATCH] vswitch.ovsschema: A new column, 'kmod_version' in Open_vSwitch table.

2013-10-16 Thread Gurucharan Shetty
The new column 'kmod_version' will be used by ovs-ctl to set the kernel module version that ovs-vswitchd will be interacting with. This column can be quite useful for remote systems to figure out any discrepancies in the kernel module version being used in all of the hypervisors under its domain.

Re: [ovs-dev] [PATCH v2.43 0/5] MPLS actions and matches

2013-10-16 Thread Ben Pfaff
On Wed, Oct 16, 2013 at 01:21:22PM -0700, Jesse Gross wrote: > On Tue, Oct 15, 2013 at 8:55 PM, Ben Pfaff wrote: > > On Thu, Oct 10, 2013 at 09:31:41AM +0900, Simon Horman wrote: > >> I believe this series addresses the feedback that each of you > >> gave with regards to recent previous postings o

Re: [ovs-dev] [PATCH v2.43 0/5] MPLS actions and matches

2013-10-16 Thread Jesse Gross
On Tue, Oct 15, 2013 at 8:55 PM, Ben Pfaff wrote: > On Thu, Oct 10, 2013 at 09:31:41AM +0900, Simon Horman wrote: >> I believe this series addresses the feedback that each of you >> gave with regards to recent previous postings of this patch-set. >> I'm wondering if you could find some time to rev

Re: [ovs-dev] [PATCHv3] ovsdb-doc: generate vswitch.[pic|gv] files only if dot tool is available

2013-10-16 Thread Ansis Atteka
On Tue, Oct 15, 2013 at 2:49 PM, Ben Pfaff wrote: > On Tue, Oct 15, 2013 at 02:38:11PM -0700, Ansis Atteka wrote: >> These are auto-generated files, so it would be better not to keep them >> inside Open vSwitch repository. >> >> Behaviour before this patch was that if dot tool was not present on >

[ovs-dev] [PATCHv4] ovsdb-doc: generate vswitch.[pic|gv] files only if dot tool is available

2013-10-16 Thread Ansis Atteka
These are auto-generated files, so it would be better not to keep them inside Open vSwitch repository. Behaviour before this patch was that if dot tool was not present on the system, then ovs-vswitchd.conf.db.5 would have used pre-generated vswitch.pic file that was already checked in the git repo

Re: [ovs-dev] [PATCH] ovs-dpctl: Add a 'filter' option to match wildcarded 'dump-flows'.

2013-10-16 Thread Gurucharan Shetty
On Tue, Oct 15, 2013 at 5:01 PM, Ben Pfaff wrote: > On Mon, Oct 14, 2013 at 08:55:35AM -0700, Gurucharan Shetty wrote: >> With mega-flows, many flows in the kernel datapath are wildcarded. >> For someone that is debugging a system and wants to find a particular >> flow and its actions, it is a lit

Re: [ovs-dev] [PATCH] oftest: Update default controller port number to match recent OFTest.

2013-10-16 Thread Lori Jakab
Looks good to me, thanks for fixing! On 10/16/13 7:28 PM, Ben Pfaff wrote: Also, document how to work around it if you use an older OFTest. Reported-by: Simon Horman Reported-by: Lori Jakab Signed-off-by: Ben Pfaff --- README-OFTest|7 +++ tests/run-oftest |2 +- 2 files

Re: [ovs-dev] [PATCH] ofproto: Re-use port numbers of ports that were deleted an hour ago.

2013-10-16 Thread Gurucharan Shetty
On Tue, Oct 15, 2013 at 4:41 PM, Ben Pfaff wrote: > On Mon, Oct 14, 2013 at 01:55:37PM -0700, Gurucharan Shetty wrote: >> We have a least recently used algorithm for assigning ofport values >> to newly created ports. i.e., when we don't have any unused ofport >> numbers, we use ofport numbers from

Re: [ovs-dev] [PATCH] Fix packet-in reason for OpenFlow1.3 table-miss flow entries

2013-10-16 Thread Ben Pfaff
On Wed, Oct 16, 2013 at 05:24:36PM +0900, YAMAMOTO Takashi wrote: > As per spec, make packet-in reason for OpenFlow1.3 table-miss flow > entries no_match rather than action. > > Signed-off-by: YAMAMOTO Takashi Thanks! I really appreciate that you are working on conformance to later OpenFlow spe

Re: [ovs-dev] OFtest failures

2013-10-16 Thread Ben Pfaff
On Wed, Oct 16, 2013 at 02:21:07PM +0300, Lori Jakab wrote: > I started looking at this too before Simon sent this email, with the > same OFtest and OVS revisions. I had to apply the same patch to > tests/run-oftest to make it work, so I suggest applying it to the > tree. I agree, I sent this out

Re: [ovs-dev] OFtest failures

2013-10-16 Thread Ben Pfaff
On Wed, Oct 16, 2013 at 07:16:31PM +0900, Simon Horman wrote: > I also applied the following patch to ovs as OFtest seems > to want to use a different (the new?) port. > > --- begin --- > --- a/tests/run-oftest > +++ b/tests/run-oftest > @@ -74,7 +74,7 @@ for port in p1 p2 p3 p4; do >

[ovs-dev] [PATCH] oftest: Update default controller port number to match recent OFTest.

2013-10-16 Thread Ben Pfaff
Also, document how to work around it if you use an older OFTest. Reported-by: Simon Horman Reported-by: Lori Jakab Signed-off-by: Ben Pfaff --- README-OFTest|7 +++ tests/run-oftest |2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README-OFTest b/README-OFTe

Re: [ovs-dev] [PATCH] netdev-dummy: Count rx packets regardless of source

2013-10-16 Thread Ben Pfaff
On Wed, Oct 16, 2013 at 02:32:55PM +0300, Lori Jakab wrote: > On 10/16/13 1:17 PM, Simon Horman wrote: > >This alters the way rx packets are accounted for by > >counting them when they are processed by netdev_dummy_rx_recv(), > >which seems to be a common path used by all received packets. > > > >P

Re: [ovs-dev] [PATCH] netdev-dummy: Count rx packets regardless of source

2013-10-16 Thread Ben Pfaff
On Wed, Oct 16, 2013 at 07:17:01PM +0900, Simon Horman wrote: > This alters the way rx packets are accounted for by > counting them when they are processed by netdev_dummy_rx_recv(), > which seems to be a common path used by all received packets. > > Previously accounting was done earlier, in netd

Re: [ovs-dev] [PATCH] netdev-dummy: Count rx packets regardless of source

2013-10-16 Thread Lori Jakab
On 10/16/13 1:17 PM, Simon Horman wrote: This alters the way rx packets are accounted for by counting them when they are processed by netdev_dummy_rx_recv(), which seems to be a common path used by all received packets. Previously accounting was done earlier, in netdev_dummy_receive(), however t

Re: [ovs-dev] OFtest failures

2013-10-16 Thread Lori Jakab
Hi Ben, On 10/16/13 1:16 PM, Simon Horman wrote: Hi Ben, On Tue, Oct 15, 2013 at 09:55:12AM -0700, Ben Pfaff wrote: I see that "make check-oftest" reports 8 failures and 1 error. (I haven't updated OFtest in ages, maybe newer versions would give different results.) I don't have time to chase

[ovs-dev] [PATCH] netdev-dummy: Count rx packets regardless of source

2013-10-16 Thread Simon Horman
This alters the way rx packets are accounted for by counting them when they are processed by netdev_dummy_rx_recv(), which seems to be a common path used by all received packets. Previously accounting was done earlier, in netdev_dummy_receive(), however this does not appear to count packets that a

Re: [ovs-dev] OFtest failures

2013-10-16 Thread Simon Horman
Hi Ben, On Tue, Oct 15, 2013 at 09:55:12AM -0700, Ben Pfaff wrote: > I see that "make check-oftest" reports 8 failures and 1 error. (I > haven't updated OFtest in ages, maybe newer versions would give > different results.) I don't have time to chase these down this week, > but it would be a much

[ovs-dev] [PATCH 1/3] ofp-actins: consistently use a helper function

2013-10-16 Thread YAMAMOTO Takashi
no functional changes. Signed-off-by: YAMAMOTO Takashi --- lib/ofp-actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c index 06f9f6b..d6747b0 100644 --- a/lib/ofp-actions.c +++ b/lib/ofp-actions.c @@ -1092,7 +1092,7 @@ ofpacts_from_

[ovs-dev] [PATCH 3/3] nx-match: fix comments

2013-10-16 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- lib/nx-match.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/nx-match.c b/lib/nx-match.c index 15143f1..11cbff3 100644 --- a/lib/nx-match.c +++ b/lib/nx-match.c @@ -280,8 +280,8 @@ oxm_pull_match__(struct ofpbuf *b, bool strict,

[ovs-dev] [PATCH 2/3] ofputil_match_from_ofp11_match: fix a comment

2013-10-16 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- lib/ofp-util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ofp-util.c b/lib/ofp-util.c index 173b534..2bf595a 100644 --- a/lib/ofp-util.c +++ b/lib/ofp-util.c @@ -296,8 +296,8 @@ ofputil_pull_ofp11_match(struct ofpbuf *buf, struc

[ovs-dev] [PATCH 0/3] some non-functional changes

2013-10-16 Thread YAMAMOTO Takashi
comment fixes and cosmetic clean-up. YAMAMOTO Takashi (3): ofp-actins: consistently use a helper function ofputil_match_from_ofp11_match: fix a comment nx-match: fix comments lib/nx-match.c| 6 +++--- lib/ofp-actions.c | 2 +- lib/ofp-util.c| 4 ++-- 3 files changed, 6 insertions(+

[ovs-dev] [PATCH] Fix packet-in reason for OpenFlow1.3 table-miss flow entries

2013-10-16 Thread YAMAMOTO Takashi
As per spec, make packet-in reason for OpenFlow1.3 table-miss flow entries no_match rather than action. Signed-off-by: YAMAMOTO Takashi --- OPENFLOW-1.1+ | 3 --- include/openflow/openflow-common.h | 5 - lib/ofp-util.c | 3 +++ ofproto/connmgr.c