Re: [ovs-dev] [PATCH] OPENFLOW-1.1+: note on table-miss

2013-11-01 Thread Simon Horman
On Fri, Nov 01, 2013 at 03:23:10PM +0900, YAMAMOTO Takashi wrote: > > On Tue, Oct 15, 2013 at 05:12:22PM +0900, YAMAMOTO Takashi wrote: > >> Signed-off-by: YAMAMOTO Takashi > >> --- > >> OPENFLOW-1.1+ | 7 +++ > >> 1 file changed, 7 insertions(+) > >> > >> diff --git a/OPENFLOW-1.1+ b/OPENFL

Re: [ovs-dev] [PATCH] OPENFLOW-1.1+: note on table-miss

2013-11-01 Thread YAMAMOTO Takashi
> On Fri, Nov 01, 2013 at 03:23:10PM +0900, YAMAMOTO Takashi wrote: >> > On Tue, Oct 15, 2013 at 05:12:22PM +0900, YAMAMOTO Takashi wrote: >> >> Signed-off-by: YAMAMOTO Takashi >> >> --- >> >> OPENFLOW-1.1+ | 7 +++ >> >> 1 file changed, 7 insertions(+) >> >> >> >> diff --git a/OPENFLOW-1.1+

Re: [ovs-dev] [PATCH] OPENFLOW-1.1+: note on table-miss

2013-11-01 Thread Simon Horman
On Fri, Nov 01, 2013 at 04:25:25PM +0900, YAMAMOTO Takashi wrote: > > On Fri, Nov 01, 2013 at 03:23:10PM +0900, YAMAMOTO Takashi wrote: > >> > On Tue, Oct 15, 2013 at 05:12:22PM +0900, YAMAMOTO Takashi wrote: > >> >> Signed-off-by: YAMAMOTO Takashi > >> >> --- > >> >> OPENFLOW-1.1+ | 7 +++ >

Re: [ovs-dev] [PATCH] debian: Option to create tunnel through 'interfaces'.

2013-11-01 Thread Vasiliy Tolstov
Is that possible to add ability to bring up ovs interfaces in case it defined not in /etc/network/interfaces but using source xxx, for example i have /etc/network/interfaces: source /etc/network/interfaces.d/* and in /etc/network/interfaces.d/XXX i'm configure each interface. 2013/10/31 Guruchar

Re: [ovs-dev] [PATCH 2/4] Implement the encode/decode Table Features functions

2013-11-01 Thread Alexander Wu
Thanks for your reply! On 01/11/2013 12:29, Simon Horman wrote: On Sat, Oct 26, 2013 at 06:14:28PM +0800, Alexander Wu wrote: Implement the encode/decode table features msgs function, and NOTE that we implement the decode functions *_raw, maybe we should change it the ofpbuf_pull? Signed-off-b

Re: [ovs-dev] [PATCH 1/4] Add/Modify headers for Multipart - Table Features.

2013-11-01 Thread Alexander Wu
On 01/11/2013 12:32, Simon Horman wrote: On Sat, Oct 26, 2013 at 06:12:27PM +0800, Alexander Wu wrote: Add headers and function prototype for table features. And modify the limits of mp-table-features msg Signed-off-by: Alexander Wu --- lib/ofp-msgs.h |4 +- lib/ofp-util.h

Re: [ovs-dev] [PATCH 3/4] Add init/destroy funcs and handle Table Features msgs.

2013-11-01 Thread Alexander Wu
On 01/11/2013 12:32, Simon Horman wrote: On Sat, Oct 26, 2013 at 06:15:30PM +0800, Alexander Wu wrote: Add some functions to init table features(use ofp13_* struct currently, change it to ofputil later). Use the encode/decode functions to handle table features request. Currently we just imple

Re: [ovs-dev] [PATCH] debian: Option to create tunnel through 'interfaces'.

2013-11-01 Thread Gurucharan Shetty
On Fri, Nov 1, 2013 at 3:13 AM, Vasiliy Tolstov wrote: > Is that possible to add ability to bring up ovs interfaces in case it > defined not in /etc/network/interfaces but using source xxx, for > example i have > /etc/network/interfaces: > source /etc/network/interfaces.d/* > > and in /etc/networ

[ovs-dev] [PATCH 2/3] ofp-util: Enforce OpenFlow 1.1+ table_id requirements in flow_mod messages.

2013-11-01 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- lib/ofp-util.c | 21 +- tests/learn.at |4 +-- tests/ofp-print.at | 12 tests/ovs-ofctl.at | 48 +++ utilities/ovs-ofctl.8.in | 71 +++-

[ovs-dev] [PATCH 3/3] ofproto: Centralize action checking, doing it at decode time.

2013-11-01 Thread Ben Pfaff
Jarno pointed out that modify_flows__() didn't really need to check every instance of the flow separately. After some further investigation I decided that this was even more of an improvement. CC: Jarno Rajahalme Signed-off-by: Ben Pfaff --- lib/ofp-actions.c | 23 ++-

[ovs-dev] [PATCH 1/3] ofp-util: Move ofputil_check_output_port() to ofp-actions, rename.

2013-11-01 Thread Ben Pfaff
This function is related to actions to ofp-actions seems like a logical place for it. Signed-off-by: Ben Pfaff --- lib/bundle.c |2 +- lib/ofp-actions.c | 33 + lib/ofp-actions.h |1 + lib/ofp-util.c| 25 - lib/ofp-util

Re: [ovs-dev] [PATCH] ofproto: Avoid abandoning an ofopgroup without committing it.

2013-11-01 Thread Ben Pfaff
On Fri, Oct 25, 2013 at 02:25:10PM -0700, Ben Pfaff wrote: > On Fri, Oct 25, 2013 at 02:04:44PM -0700, Jarno Rajahalme wrote: > > > > On Oct 25, 2013, at 1:56 PM, Ben Pfaff wrote: > > > > > On Fri, Oct 25, 2013 at 01:44:17PM -0700, Jarno Rajahalme wrote: > > >> > > >> On Oct 25, 2013, at 1:32 P

[ovs-dev] [PATCH] ovsdb: Do not leak error in ovsdb_server_compact()

2013-11-01 Thread Thomas Graf
Signed-off-by: Thomas Graf --- ovsdb/ovsdb-server.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ovsdb/ovsdb-server.c b/ovsdb/ovsdb-server.c index ab44b3a..f64122e 100644 --- a/ovsdb/ovsdb-server.c +++ b/ovsdb/ovsdb-server.c @@ -983,6 +983,7 @@ ovsdb_server_compact(struct unixctl_conn *con

Re: [ovs-dev] [PATCH v8 00/16] Enhanced Group Support

2013-11-01 Thread Ben Pfaff
On Wed, Oct 30, 2013 at 06:17:04PM +0900, Simon Horman wrote: > With these patches in place it is possible to use all group types > defined in OpenFlow1.3. I applied patches 1-4 to master. I haven't had a chance to look at the rest yet. ___ dev mailing

Re: [ovs-dev] [PATCH] ovsdb: Do not leak error in ovsdb_server_compact()

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 05:44:52PM +0100, Thomas Graf wrote: > Signed-off-by: Thomas Graf Thanks, applied to master, branch-2.0, branch-1.11, branch-1.10, branch-1.9. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] [PATCH] vtep: add fault notifications to physical switch and ports

2013-11-01 Thread Bruce Davie
Add a "switch_fault" and "port_fault" column to the appropriate tables in the VTEP schema. Signed-off-by: Bruce Davie --- vtep/vtep.ovsschema | 16 vtep/vtep.xml | 48 ++-- 2 files changed, 58 insertions(+), 6 deletions(-) diff

[ovs-dev] [PATCH v1 1/6] dpif-netdev: Change a variable name.

2013-11-01 Thread Gurucharan Shetty
'struct dp_netdev_flow' is currently being instantiated as 'flow'. An upcoming commit introduces a classifier to dpif-netdev which uses 'struct flow' at a few places and that can cause confusion while reading code. Signed-off-by: Gurucharan Shetty --- lib/dpif-netdev.c | 135 +++

[ovs-dev] [PATCH v1 2/6] dpif-netdev: Introduce a classifier in userspace datapath.

2013-11-01 Thread Gurucharan Shetty
Instead of an exact match flow table, we introduce a classifier. This enables mega-flows in userspace datapath. Signed-off-by: Gurucharan Shetty --- lib/dpif-netdev.c | 87 ++ tests/ofproto-dpif.at | 142 + 2 file

[ovs-dev] [PATCH v1 4/6] ofproto-dpif: Unixctl command to dump netdev flows.

2013-11-01 Thread Gurucharan Shetty
Right now, when we want to look at the flows of netdev datapath, we use the dpif/dump-flows command which provides it without querying the netdev datapath but rather through the facets and subfacets. This commit adds the ability to directly query the netdev datapath through the dpif interface. Si

[ovs-dev] [PATCH v1 3/6] dpif-netdev: Flow dump function should populate masks.

2013-11-01 Thread Gurucharan Shetty
Signed-off-by: Gurucharan Shetty --- lib/dpif-netdev.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index ea8a6d3..ae1fecd 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -987,6 +987,7 @@ struct dp_netdev_flow

[ovs-dev] [PATCH v1 6/6] ofproto-dpif: Unixctl command to print userspace datapath summary.

2013-11-01 Thread Gurucharan Shetty
Signed-off-by: Gurucharan Shetty --- ofproto/ofproto-dpif.c | 26 ++ vswitchd/ovs-vswitchd.8.in |7 ++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 1a53766..2d6ea61 100644 --- a/ofproto/

[ovs-dev] [PATCH v1 5/6] ovs-dpctl: Make 'show_dpif' more general.

2013-11-01 Thread Gurucharan Shetty
Currently, with 'ovs-dpctl show', we call show_dpif(). Move this functionality to lib/dpif.c so that it can be used by an upcoming commit. Signed-off-by: Gurucharan Shetty --- lib/dpif.c| 136 +++ lib/dpif.h|1 + utilities/

Re: [ovs-dev] [PATCH v1 1/6] dpif-netdev: Change a variable name.

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 02:15:12AM -0700, Gurucharan Shetty wrote: > 'struct dp_netdev_flow' is currently being instantiated as 'flow'. > An upcoming commit introduces a classifier to dpif-netdev > which uses 'struct flow' at a few places and that can cause > confusion while reading code. > > Sign

[ovs-dev] [PATCH] netdev-linux: Skip miimon execution when disabled

2013-11-01 Thread Joe Stringer
When dealing with a large number of ports, one of the performance bottlenecks is that we loop through all netdevs in the main loop. Miimon is a contributor to this, executing even if it is not enabled on any devices. This patch introduces a counter for the number of netdevs with miimon configured.

Re: [ovs-dev] [PATCH v1 2/6] dpif-netdev: Introduce a classifier in userspace datapath.

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 02:15:13AM -0700, Gurucharan Shetty wrote: > Instead of an exact match flow table, we introduce a classifier. > This enables mega-flows in userspace datapath. > > Signed-off-by: Gurucharan Shetty Clang says: ../lib/dpif-netdev.c:638:5: error: calling function 'classi

Re: [ovs-dev] [PATCH] netdev-linux: Skip miimon execution when disabled

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 01:06:39PM -0700, Joe Stringer wrote: > When dealing with a large number of ports, one of the performance > bottlenecks is that we loop through all netdevs in the main loop. Miimon > is a contributor to this, executing even if it is not enabled on any > devices. > > This pa

Re: [ovs-dev] [PATCH v1 3/6] dpif-netdev: Flow dump function should populate masks.

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 02:15:14AM -0700, Gurucharan Shetty wrote: > Signed-off-by: Gurucharan Shetty Any reason this isn't part of patch 2? It seems to be needed. Why is the in_port mask hard-coded to UINT32_MAX? I don't remember anything in patch 2 that always un-wildcarded the in_port. (Ma

Re: [ovs-dev] [PATCH v1 4/6] ofproto-dpif: Unixctl command to dump netdev flows.

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 02:15:15AM -0700, Gurucharan Shetty wrote: > Right now, when we want to look at the flows of netdev > datapath, we use the dpif/dump-flows command which provides > it without querying the netdev datapath but rather through the > facets and subfacets. > > This commit adds th

Re: [ovs-dev] [PATCH v1 5/6] ovs-dpctl: Make 'show_dpif' more general.

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 02:15:16AM -0700, Gurucharan Shetty wrote: > Currently, with 'ovs-dpctl show', we call show_dpif(). > Move this functionality to lib/dpif.c so that it can > be used by an upcoming commit. > > Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff __

Re: [ovs-dev] [PATCH v1 6/6] ofproto-dpif: Unixctl command to print userspace datapath summary.

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 02:15:17AM -0700, Gurucharan Shetty wrote: > Signed-off-by: Gurucharan Shetty Again this looks useful but why not put it in lib/dpif.c? Thanks, Ben. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listin

Re: [ovs-dev] [PATCH] vtep: add fault notifications to physical switch and ports

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 10:53:23AM -0700, Bruce Davie wrote: > Add a "switch_fault" and "port_fault" column to the appropriate > tables in the VTEP schema. > > Signed-off-by: Bruce Davie Applied, thanks. ___ dev mailing list dev@openvswitch.org http://

Re: [ovs-dev] [PATCH v4 01/10] OF 1.1 set vlan vid/pcp compatibility.

2013-11-01 Thread Ben Pfaff
On Thu, Oct 24, 2013 at 01:19:25PM -0700, Jarno Rajahalme wrote: > OpenFlow 1.1 set vlan actions only modify existing vlan > headers, while OF 1.0 actions push a new vlan header if one > does not exist already. > > Signed-off-by: Jarno Rajahalme Applied. I folded in a couple of minor improvemen

[ovs-dev] [PATCH] ofproto-dpif-xlate: Remove obsolete comment.

2013-11-01 Thread Ben Pfaff
Nothing about the existing code in this function cares whether Goto-Table is the last action. Signed-off-by: Ben Pfaff --- ofproto/ofproto-dpif-xlate.c |1 - 1 file changed, 1 deletion(-) diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index f19dbf1..f5bc12c 100644

Re: [ovs-dev] [PATCH v4 02/10] OF 1.1 pop vlan compatibility.

2013-11-01 Thread Ben Pfaff
On Thu, Oct 24, 2013 at 01:19:26PM -0700, Jarno Rajahalme wrote: > Store the original action code with the strip vlan action, > so that it can be printed back properly. > > Signed-off-by: Jarno Rajahalme Applied, thanks! ___ dev mailing list dev@openvs

Re: [ovs-dev] [PATCH v4 03/10] Inline mf_from_id().

2013-11-01 Thread Ben Pfaff
On Thu, Oct 24, 2013 at 01:19:27PM -0700, Jarno Rajahalme wrote: > mf_from_id accesses a static table, so the compiler should be able to > completely optimize it away. > > Also use OVS_PACKED_ENUM to waste less space. > > Signed-off-by: Jarno Rajahalme Applied, thanks. I added a "meta-flow: "

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Remove obsolete comment.

2013-11-01 Thread Alex Wang
LGTM, On Fri, Nov 1, 2013 at 2:08 PM, Ben Pfaff wrote: > Nothing about the existing code in this function cares whether Goto-Table > is the last action. > > Signed-off-by: Ben Pfaff > --- > ofproto/ofproto-dpif-xlate.c |1 - > 1 file changed, 1 deletion(-) > > diff --git a/ofproto/ofproto

[ovs-dev] [PATCH] ovsdb-tool: replace tabs with spaces

2013-11-01 Thread Alexandru Copot
Signed-off-by: Alexandru Copot --- ovsdb/ovsdb-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ovsdb/ovsdb-tool.c b/ovsdb/ovsdb-tool.c index 11e61e6..5e2b71b 100644 --- a/ovsdb/ovsdb-tool.c +++ b/ovsdb/ovsdb-tool.c @@ -524,7 +524,7 @@ do_show_log(int argc, char *argv[])

Re: [ovs-dev] [PATCH] FAQ: Elaborate further on how one drops packets with OpenFlow.

2013-11-01 Thread Joe Stringer
Hopefully I got the right thread here ("FAQ: Elaborate further on how one drops packets with OpenFlow."). Acked-by: Joe Stringer On Wed, Oct 9, 2013 at 3:22 PM, Ben Pfaff wrote: > > Signed-off-by: Ben Pfaff > --- > FAQ | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > >

Re: [ovs-dev] [PATCH v4 04/10] OXM inspired match field names.

2013-11-01 Thread Ben Pfaff
On Thu, Oct 24, 2013 at 01:19:28PM -0700, Jarno Rajahalme wrote: > Adds OXM inspired aliases for match fields that don't have them > already ("ip_proto", "ip_ecn", "ip_dscp", and "tunnel_id"). > > "ip_dscp" replaces the earlier undocumented "nw_tos_shifted", > and takes the DSCP value (0-63), whic

Re: [ovs-dev] [PATCH] netdev-linux: Skip miimon execution when disabled

2013-11-01 Thread Joe Stringer
On 1 November 2013 13:31, Ben Pfaff wrote: > On Fri, Nov 01, 2013 at 01:06:39PM -0700, Joe Stringer wrote: > > When dealing with a large number of ports, one of the performance > > bottlenecks is that we loop through all netdevs in the main loop. Miimon > > is a contributor to this, executing eve

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Remove obsolete comment.

2013-11-01 Thread Ben Pfaff
Thanks. On Fri, Nov 01, 2013 at 02:17:11PM -0700, Alex Wang wrote: > LGTM, > > > On Fri, Nov 1, 2013 at 2:08 PM, Ben Pfaff wrote: > > > Nothing about the existing code in this function cares whether Goto-Table > > is the last action. > > > > Signed-off-by: Ben Pfaff > > --- > > ofproto/ofpro

Re: [ovs-dev] [PATCH] ovsdb-tool: replace tabs with spaces

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 11:20:56PM +0200, Alexandru Copot wrote: > Signed-off-by: Alexandru Copot Applied, thanks. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] daemon: Precisely document signals that cause the monitor to restart.

2013-11-01 Thread Joe Stringer
Acked-by: Joe Stringer On Fri, Oct 11, 2013 at 4:53 PM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > lib/daemon.c |2 ++ > lib/daemon.man |7 --- > 2 files changed, 6 insertions(+), 3 deletions(-) > > diff --git a/lib/daemon.c b/lib/daemon.c > index 1c9ebe2..54641d0 100644

Re: [ovs-dev] [PATCH v4 05/10] Native Set-Field action.

2013-11-01 Thread Ben Pfaff
On Thu, Oct 24, 2013 at 01:19:29PM -0700, Jarno Rajahalme wrote: > Signed-off-by: Jarno Rajahalme I'm going to fold this in: diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c index a9d4340..9f31449 100644 --- a/lib/ofp-actions.c +++ b/lib/ofp-actions.c @@ -793,7 +793,7 @@ set_field_from_openflo

[ovs-dev] Transaction!

2013-11-01 Thread Christy Rickbrodt
My name is Mark Carney, I am the new Governor of Bank Of England, There is the sum of 22,400,000.00 Pounds in my Bank, There were no beneficiaries stated concerning these funds which means no one would ever come forward to claim it. Please write me back if interested for further explanation. Rep

[ovs-dev] [PATCH 1/3] Classifier: Staged sub-table matching.

2013-11-01 Thread Jarno Rajahalme
v2: Properly finish hashes, more flexible configuration. Signed-off-by: Jarno Rajahalme --- lib/classifier.c | 174 +++--- lib/classifier.h | 12 ++- lib/flow.c | 163 ++- lib/fl

[ovs-dev] [PATCH 0/3] Classifier: Better wildcarding

2013-11-01 Thread Jarno Rajahalme
This series implements two techniques for better wildcarding: 1. Staged sub-table matching: Each sub-table is matched in segments, starting from metadata and lower protocol layer fields, progressing towards higher layers only as needed. That is, if we can determine that there is no match

[ovs-dev] [PATCH 3/3] Classifier: On-demand prefix tree lookup.

2013-11-01 Thread Jarno Rajahalme
There is a bit more bookkeeping, and preliminary measurements did not show significant benefit. Results may differ with larger flow tables, though. Signed-off-by: Jarno Rajahalme --- lib/classifier.c | 156 +- 1 file changed, 84 insertions(+)

[ovs-dev] [PATCH 2/3] Classifier: Track IP addresses for more wildcarding.

2013-11-01 Thread Jarno Rajahalme
Add a prefix tree (trie) structure for tracking the used IP address space, enabling skipping classifier tables containing longer masks than necessary for the given address. This enables more wildcarding for megaflows in parts of the address space without host routes. In fact, the trie lookups resu

Re: [ovs-dev] [PATCH v4 05/10] Native Set-Field action.

2013-11-01 Thread Jarno Rajahalme
Fair enough ;-) Jarno On Nov 1, 2013, at 3:02 PM, Ben Pfaff wrote: > On Thu, Oct 24, 2013 at 01:19:29PM -0700, Jarno Rajahalme wrote: >> Signed-off-by: Jarno Rajahalme > > I'm going to fold this in: > > diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c > index a9d4340..9f31449 100644 > --

Re: [ovs-dev] [PATCH 1/3] ofp-util: Move ofputil_check_output_port() to ofp-actions, rename.

2013-11-01 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme On Nov 1, 2013, at 9:43 AM, Ben Pfaff wrote: > This function is related to actions to ofp-actions seems like a logical > place for it. > > Signed-off-by: Ben Pfaff > --- > lib/bundle.c |2 +- > lib/ofp-actions.c | 33 + > lib/

[ovs-dev] [RFC] ofproto-dpif-upcall: Improve upcall dispatching fairness.

2013-11-01 Thread Alex Wang
This commit improves the upcall dispatching fairness by introduing a 2-stage scheme. At the first stage, the dispatcher thread will try receiving upcalls from dpif and hashing the upcalls to the local queues based on the L2 header information. When either there is no upcall to receive or one of t

Re: [ovs-dev] [RFC] ofproto-dpif-upcall: Improve upcall dispatching fairness.

2013-11-01 Thread Alex Wang
Hey Ethan, This is the implementation of the 2-stage scheme. My experiment shows that it does help reduce both the loss rate and handling latency. I'll format my test result and attach it to this thread later. Thanks, ___ dev mailing list dev@openvswi

Re: [ovs-dev] [PATCH 2/3] ofp-util: Enforce OpenFlow 1.1+ table_id requirements in flow_mod messages.

2013-11-01 Thread Jarno Rajahalme
On Nov 1, 2013, at 9:43 AM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > lib/ofp-util.c | 21 +- > tests/learn.at |4 +-- > tests/ofp-print.at | 12 > tests/ovs-ofctl.at | 48 +++ > utilities/ovs-ofctl

Re: [ovs-dev] [PATCH v4 05/10] Native Set-Field action.

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 03:22:34PM -0700, Jarno Rajahalme wrote: > Fair enough ;-) Thanks. I'm folding in the following additional changes, and then I'll apply this to master. The only really notable part of the changes that I made is that I'm feeling timid about silently adding and removing the

Re: [ovs-dev] [PATCH 3/3] ofproto: Centralize action checking, doing it at decode time.

2013-11-01 Thread Jarno Rajahalme
On Nov 1, 2013, at 9:43 AM, Ben Pfaff wrote: > Jarno pointed out that modify_flows__() didn't really need to check every > instance of the flow separately. After some further investigation I > decided that this was even more of an improvement. > Indeed! Check the actions right after they are

Re: [ovs-dev] [PATCH] ovs-controller: Rename test-controller and do not install or package.

2013-11-01 Thread Joe Stringer
This needs a rebase. The deletion of the content in 'manpages.mk' is surprising; the file states that it is automatically generated, the commit message doesn't mention it, and the file isn't actually deleted, only emptied. Was this intentional? There seems to be another reference to "openvswitch-

Re: [ovs-dev] [PATCH v4 06/10] lib/ofp-actions: Set field OF 1.0/1.1 compatibility.

2013-11-01 Thread Ben Pfaff
On Thu, Oct 24, 2013 at 01:19:30PM -0700, Jarno Rajahalme wrote: > Output set field actions as standard OF1.0/1.1 set actions or to > reg_load instructions, when a compatible set action(s) do not exist. > > Signed-off-by: Jarno Rajahalme Thanks. I broke set_field_to_openflow() into a couple of

Re: [ovs-dev] [PATCH v4 06/10] lib/ofp-actions: Set field OF 1.0/1.1 compatibility.

2013-11-01 Thread Jarno Rajahalme
On Nov 1, 2013, at 4:04 PM, Ben Pfaff wrote: > On Thu, Oct 24, 2013 at 01:19:30PM -0700, Jarno Rajahalme wrote: >> Output set field actions as standard OF1.0/1.1 set actions or to >> reg_load instructions, when a compatible set action(s) do not exist. >> >> Signed-off-by: Jarno Rajahalme > >

Re: [ovs-dev] [PATCH v4 07/10] lib/ofp-action: Simplify interface and internal structure.

2013-11-01 Thread Ben Pfaff
On Thu, Oct 24, 2013 at 01:19:31PM -0700, Jarno Rajahalme wrote: > This makes later changes simpler. > > Signed-off-by: Jarno Rajahalme Thanks! Applied to master. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH v4 08/10] ofp-actions: Send deprecated actions as set fields.

2013-11-01 Thread Ben Pfaff
On Thu, Oct 24, 2013 at 01:19:32PM -0700, Jarno Rajahalme wrote: > Signed-off-by: Jarno Rajahalme Applied, thanks! ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Handle oversized actions more gracefully.

2013-11-01 Thread Joe Stringer
This looks good in principle. Test 706 (ofproto-dpif - too many output actions) fails on this, as it expects the old VLOG_ERR in the logs. There is also an error from ofproto_dpif_xlate in this case, complaining about resubmits yielding >64kB of actions. I assume this is intended to remain as a h

[ovs-dev] [PATCH] netdev-linux: Skip miimon execution when disabled

2013-11-01 Thread Joe Stringer
When dealing with a large number of ports, one of the performance bottlenecks is that we loop through all netdevs in the main loop. Miimon is a contributor to this, checking all devices even if it has never been enabled. This patch introduces a counter for the number of netdevs with miimon configu

Re: [ovs-dev] [PATCH] nicira-ext: Update comment.

2013-11-01 Thread Joe Stringer
Acked-by: Joe Stringer On Thu, Oct 17, 2013 at 3:29 PM, Ben Pfaff wrote: > The ARP headers have been acceptable as NXAST_REG_MOVE destinations since > commit f6c8a6b163 (Add software switch support for modifying ARP headers > in OpenFlow.) > > Reported-by: Anupam Chanda > Signed-off-by: Ben Pfa

Re: [ovs-dev] [PATCH 2/3] ofp-util: Enforce OpenFlow 1.1+ table_id requirements in flow_mod messages.

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 03:42:30PM -0700, Jarno Rajahalme wrote: > > On Nov 1, 2013, at 9:43 AM, Ben Pfaff wrote: > > > Signed-off-by: Ben Pfaff > > --- > > lib/ofp-util.c | 21 +- > > tests/learn.at |4 +-- > > tests/ofp-print.at | 12 > > te

Re: [ovs-dev] [PATCH 3/3] ofproto: Centralize action checking, doing it at decode time.

2013-11-01 Thread Ben Pfaff
On Fri, Nov 01, 2013 at 03:58:52PM -0700, Jarno Rajahalme wrote: > > On Nov 1, 2013, at 9:43 AM, Ben Pfaff wrote: > > > Jarno pointed out that modify_flows__() didn't really need to check every > > instance of the flow separately. After some further investigation I > > decided that this was eve

Re: [ovs-dev] [PATCH v4 09/10] lib/ofp-actions: Warn on deprecated actions.

2013-11-01 Thread Ben Pfaff
On Thu, Oct 24, 2013 at 01:19:33PM -0700, Jarno Rajahalme wrote: > Signed-off-by: Jarno Rajahalme Applied, thanks! ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH v4 10/10] Add OF11 SET MPLS LABEL and SET MPLS TC actions.

2013-11-01 Thread Ben Pfaff
On Thu, Oct 24, 2013 at 01:19:34PM -0700, Jarno Rajahalme wrote: > Signed-off-by: Jarno Rajahalme Applied, thanks! ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

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

2013-11-01 Thread Ben Pfaff
On Thu, Oct 31, 2013 at 04:16:28PM +0900, Simon Horman wrote: > This series implements MPLS actions and matches based on work by > Ravi K, Leo Alterman, Yamahata-san and Joe Stringer. Would you mind rebasing this one more time? ___ dev mailing list dev@o

Re: [ovs-dev] [PATCH] debian: Option to create tunnel through 'interfaces'.

2013-11-01 Thread Vasiliy Tolstov
2013/11/1 Gurucharan Shetty : > It is not possible with the current code. It only looks at > /etc/network/interfaces But if for example cat all files to buffer in case of source and operates not on interfaces but on buffered contents of all files? -- Vasiliy Tolstov, e-mail: v.tols...@selfip.ru

Re: [ovs-dev] [PATCH v8 05/16] ofproto-dpif: Implement group callbacks

2013-11-01 Thread Ben Pfaff
On Wed, Oct 30, 2013 at 06:17:09PM +0900, Simon Horman wrote: > This is a first step towards implementing the dpif side of groups. > > In order to be useful the action translation code needs > to be taught about groups. > > Signed-off-by: Simon Horman Applied, thanks! __

Re: [ovs-dev] [PATCH v8 06/16] ofproto: Verify compatibility of liveness of groups with their type

2013-11-01 Thread Ben Pfaff
On Wed, Oct 30, 2013 at 06:17:10PM +0900, Simon Horman wrote: > Require liveness for fast-failover groups as it is mandated by OpenFlow1.3. > Allow livness for select groups which is in keeping with OpenFlow1.3. > Disallow liveness it for other group types. > > Signed-off-by: Simon Horman Applie