Re: [ovs-dev] [groups v3] Implement OpenFlow 1.1+ "groups" protocol.

2013-08-30 Thread Simon Horman
On Thu, Aug 29, 2013 at 02:00:51PM -0700, Ben Pfaff wrote: > From: Neil Zhu > > This doesn't include a dpif implementation of groups functionality. In its > current form, it is untested. Before this is committed, it needs some > more comments and an ovs-ofctl manpage update. > > Signed-off-by:

[ovs-dev] [PATCH] ovs-ofctl: Document group commands

2013-08-30 Thread Simon Horman
Signed-off-by: Simon Horman --- Ben, feel free to squash this into 'Implement OpenFlow 1.1+ "groups" protocol'. --- utilities/ovs-ofctl.8.in | 108 +++ 1 file changed, 108 insertions(+) diff --git a/utilities/ovs-ofctl.8.in b/utilities/ovs-ofctl.8.in

[ovs-dev] [PATCH] util.c: Include pthread_np.h on FreeBSD

2013-08-30 Thread Ed Maste
Signed-off-by: Ed Maste --- On FreeBSD pthread_set_name_np's prototype is provided by pthread_np.h. As I believe it is the only platform to provide the "set_name" (with an underscore) variant I hope it's fine to use the existing autoconf macro HAVE_PTHREAD_SET_NAME_NP. lib/util.c | 3 +++ 1 file

Re: [ovs-dev] [ovs-announce] Task List for Open vSwitch Hackathon Sep. 6 and 7

2013-08-30 Thread Ben Pfaff
[redirecting to ovs-dev] On Fri, Aug 30, 2013 at 06:17:52AM -0700, Gurucharan Shetty wrote: > On Aug 29, 2013, at 9:57 PM, Ben Pfaff wrote: > > >Unclaimed Tasks (Small, Required) > >- > > > >The following tasks could use volunteers. These tasks are all > >require

Re: [ovs-dev] 1.9.1, 1.9.2, 1.10.1 "released"?

2013-08-30 Thread Ben Pfaff
On Thu, Aug 29, 2013 at 03:05:05PM -0700, Ben Pfaff wrote: > James pointed out that branch-1.9 has version 1.9.2 and branch-1.10 > has version 1.10.1, but that none of those has any tarball or tag or > announcement. I can do the tags, but you usually do the rest. Also, > each of those branches ha

Re: [ovs-dev] [PATCH] ovs-ofctl: Document group commands

2013-08-30 Thread Ben Pfaff
On Fri, Aug 30, 2013 at 05:42:54PM +0900, Simon Horman wrote: > Signed-off-by: Simon Horman > > --- > > Ben, feel free to squash this into 'Implement OpenFlow 1.1+ "groups" > protocol'. Thanks, done. I added your sign-off and gave you co-authorship also (I really like to encourage documentatio

Re: [ovs-dev] 1.9.1, 1.9.2, 1.10.1 "released"?

2013-08-30 Thread James Page
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 30/08/13 17:02, Ben Pfaff wrote: > On Thu, Aug 29, 2013 at 03:05:05PM -0700, Ben Pfaff wrote: >>> James pointed out that branch-1.9 has version 1.9.2 and >>> branch-1.10 has version 1.10.1, but that none of those has any >>> tarball or tag or anno

Re: [ovs-dev] [PATCH] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Guolin Yang, VMware
I will send a v2 soon based on Andy's feedback. Thanks Guolin On Thu, Aug 29, 2013 at 8:43 PM, Ben Pfaff wrote: > Andy, thanks for the review. > > Guolin, are you willing to submit a v2? > > Thanks, > > Ben. > > On Thu, Aug 29, 2013 at 05:21:03PM -0700, Andy Zhou wrote: > > Good catch. The log

Re: [ovs-dev] [groups v3] Implement OpenFlow 1.1+ "groups" protocol.

2013-08-30 Thread Ben Pfaff
On Fri, Aug 30, 2013 at 04:30:39PM +0900, Simon Horman wrote: > On Thu, Aug 29, 2013 at 02:00:51PM -0700, Ben Pfaff wrote: > > From: Neil Zhu > > > > This doesn't include a dpif implementation of groups functionality. In its > > current form, it is untested. Before this is committed, it needs s

[ovs-dev] [PATCH] FAQ: Explain the two kinds of "promiscuous mode" and how to configure them.

2013-08-30 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- FAQ | 34 ++ 1 file changed, 34 insertions(+) diff --git a/FAQ b/FAQ index 75d9007..5406e84 100644 --- a/FAQ +++ b/FAQ @@ -250,6 +250,40 @@ A: The following commands configure br0 with eth0 and tap0 as trunk ovs-vsctl clea

[ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread gyang
From: Guolin Yang In odp_flow_key_from_flow__(), when converting ICMPv6 flow/mask to flow/mask key, we should always use flow to check for whether ND informaition is present or not. In mask case, both type and code field should be masked, otherwise ND fields can be masked. Similarly in reverse c

Re: [ovs-dev] [PATCH] util.c: Include pthread_np.h on FreeBSD

2013-08-30 Thread Ben Pfaff
On Fri, Aug 30, 2013 at 10:56:08AM -0400, Ed Maste wrote: > Signed-off-by: Ed Maste Thanks, applied to master and branch-2.0. > --- > On FreeBSD pthread_set_name_np's prototype is provided by pthread_np.h. > As I believe it is the only platform to provide the "set_name" (with an > underscore) va

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Andy Zhou
Looks good to me. Thanks for the revision. Acked-by: Andy Zhou On Fri, Aug 30, 2013 at 9:57 AM, wrote: > From: Guolin Yang > > In odp_flow_key_from_flow__(), when converting ICMPv6 flow/mask > to flow/mask key, we should always use flow to check for whether > ND informaition is present or no

[ovs-dev] [PATCH] ofproto: Convert units correctly in ofport_open().

2013-08-30 Thread Ben Pfaff
netdev_features_to_bps() returns a speed in bps, but struct ofputil_phy_port's curr_speed and max_speed are in kbps, so a conversion is necessary. This commit fixes the problem. Reported-by: Benjamin Lunsky Signed-off-by: Ben Pfaff --- ofproto/ofproto.c |4 ++-- 1 file changed, 2 insertion

Re: [ovs-dev] [PATCH] FAQ: Explain the two kinds of "promiscuous mode" and how to configure them.

2013-08-30 Thread Pritesh Kothari (pritkoth)
ack, looks good to me. -pritesh On Aug 30, 2013, at 10:02 AM, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > --- > FAQ | 34 ++ > 1 file changed, 34 insertions(+) > > diff --git a/FAQ b/FAQ > index 75d9007..5406e84 100644 > --- a/FAQ > +++ b/FAQ > @@ -250,6 +250,

[ovs-dev] [PATCH] openvswitch: fix sw_flow_key alignment

2013-08-30 Thread Andy Zhou
sw_flow_key alignment was declared as " __aligned(__alignof__(long))" However, this breaks on m68k architecture where long is 32 bit in size but 16 bit aligned by default. Use __aligned(sizeof(long) instead. Reported by: Fengguang Wu Signed-off-by: Andy Zhou --- net/openvswitch/flow.c |4 +

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Ben Pfaff
It doesn't apply directly to branch-1.11. Can you take a look and see whether there's some other commit we're missing there? Thanks, Ben. On Fri, Aug 30, 2013 at 11:09:21AM -0700, Andy Zhou wrote: > Yes, this patch fixes a bug. > > > On Fri, Aug 30, 2013 at 11:06 AM, Ben Pfaff wrote: > > >

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Ben Pfaff
On Fri, Aug 30, 2013 at 11:03:24AM -0700, Andy Zhou wrote: > On Fri, Aug 30, 2013 at 11:01 AM, Ben Pfaff wrote: > > > On Fri, Aug 30, 2013 at 09:57:13AM -0700, gy...@nicira.com wrote: > > > @@ -2981,7 +2986,8 @@ parse_l2_5_onward(const struct nlattr > > *attrs[OVS_KEY_ATTR_MAX + 1], > > >

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Ben Pfaff
On Fri, Aug 30, 2013 at 09:57:13AM -0700, gy...@nicira.com wrote: > @@ -2981,7 +2986,8 @@ parse_l2_5_onward(const struct nlattr > *attrs[OVS_KEY_ATTR_MAX + 1], > if (is_mask) { > if (!is_all_zeros((const uint8_t *) nd_key, >

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Andy Zhou
On Fri, Aug 30, 2013 at 11:01 AM, Ben Pfaff wrote: > On Fri, Aug 30, 2013 at 09:57:13AM -0700, gy...@nicira.com wrote: > > @@ -2981,7 +2986,8 @@ parse_l2_5_onward(const struct nlattr > *attrs[OVS_KEY_ATTR_MAX + 1], > > if (is_mask) { > > if (!is_all_z

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Andy Zhou
Yes, this patch fixes a bug. On Fri, Aug 30, 2013 at 11:06 AM, Ben Pfaff wrote: > On Fri, Aug 30, 2013 at 11:03:24AM -0700, Andy Zhou wrote: > > On Fri, Aug 30, 2013 at 11:01 AM, Ben Pfaff wrote: > > > > > On Fri, Aug 30, 2013 at 09:57:13AM -0700, gy...@nicira.com wrote: > > > > @@ -2981,7 +29

Re: [ovs-dev] [PATCH V2 1/2] coverage: Reimplement the "ovs-appctl coverage/show" command

2013-08-30 Thread Alex Wang
> After this patch, coverage_read() seems halfway between two designs. > My goal was to avoid holding coverage_mutex while constructing the log > message, to keep the hold time low, by copying out the totals and then > building the message with the copies. Your version retains the > copy-out for t

Re: [ovs-dev] [PATCH] openvswitch: fix sw_flow_key alignment

2013-08-30 Thread Jesse Gross
On Fri, Aug 30, 2013 at 10:32 AM, Andy Zhou wrote: > diff --git a/net/openvswitch/flow.c b/net/openvswitch/flow.c > index ad1aeeb..fe7524c4 100644 > --- a/net/openvswitch/flow.c > +++ b/net/openvswitch/flow.c > int ovs_flow_init(void) > { > BUILD_BUG_ON(sizeof(struct sw_flow_key) % sizeo

Re: [ovs-dev] [PATCH V2 1/2] coverage: Reimplement the "ovs-appctl coverage/show" command

2013-08-30 Thread Ben Pfaff
On Tue, Aug 27, 2013 at 09:25:10PM -0700, Alex Wang wrote: > This commit changes the "ovs-appctl coverage/show" command to show the > per-second, per-minute and per-hour rates of function invocation. More > importantly, this makes using coverage counter an easy way to monitor > the execution of sp

Re: [ovs-dev] [PATCH V2 1/2] coverage: Reimplement the "ovs-appctl coverage/show" command

2013-08-30 Thread Ben Pfaff
On Fri, Aug 30, 2013 at 11:20:54AM -0700, Alex Wang wrote: > > After this patch, coverage_read() seems halfway between two designs. > > My goal was to avoid holding coverage_mutex while constructing the log > > message, to keep the hold time low, by copying out the totals and then > > building the

Re: [ovs-dev] [PATCH V2 1/2] coverage: Reimplement the "ovs-appctl coverage/show" command

2013-08-30 Thread Alex Wang
> > Ah. I understand now. But I'm not sure that this is actually a good > way to do it, because it makes the output harder to interpret. If I > see that the rate over the last 5 seconds is 123/s, for the last > minute is 4920/min, and for the last hour is 19680/h, then I have a > hard time figur

[ovs-dev] Recotizá tu seguro y ahorrá un 35%, congelamos tu cuota! todas las aseguradoras

2013-08-30 Thread abSeguro.com
+ Conseguí los mejores descuentos + Elegí entre las mejores empresas + Congelamos tu cuota semestralmente !!! Porque... más atención y más beneficios es mucho más que un seguro!. abSeguro.com/cotizar___ dev mailing list dev@openvswitch.org http://openv

Re: [ovs-dev] [PATCH] openvswitch: fix sw_flow_key alignment

2013-08-30 Thread David Miller
From: Jesse Gross Date: Fri, 30 Aug 2013 11:22:11 -0700 > The suggestion that Geert made was to just drop this entirely and > rely on the natural alignment from these values. Indeed, Geert's patch was 1,000 times superior to this one. ___ dev mailing l

[ovs-dev] [PATCH] groups: Add groups API to ofproto-provider.h

2013-08-30 Thread Casey Barker
This declares a new API extension between ofproto and the ofproto-provider to support Openflow forwarding groups as introduced in the 1.1 spec. This patch depends on an earlier submission that defines 'struct ofpbucket.' There is no executable code in this patch. The API is modeled after that for

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Andy Zhou
May be it caused by missing commit 4a2216156e6e168 ? On Fri, Aug 30, 2013 at 11:11 AM, Ben Pfaff wrote: > It doesn't apply directly to branch-1.11. Can you take a look and see > whether there's some other commit we're missing there? > > Thanks, > > Ben. > > On Fri, Aug 30, 2013 at 11:09:21AM -

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Ben Pfaff
I still get conflicts: blp@sigsegv:~/ovs$ git checkout openvswitch/branch-1.11 HEAD is now at 37f9d3a... Set release date for 1.11.0. blp@sigsegv:~/ovs$ git cherry-pick 4a2216156e6e168 error: could not apply 4a22161... odp-util: New function odp_flow_key_to_mask(). hint: after

[ovs-dev] [PATCH 00/11] datapath: Remove old compatibility code.

2013-08-30 Thread Pravin B Shelar
datapath support for older kernel is been broken for kernel older than 2.6.32 for some time now. There have not been any complains about this. So it makes sense to get rid of the code. This make datapath module much close to upstream datapath and make code easy to understand. To make review easy I

[ovs-dev] [PATCH 08/11] datapath: Cleanup compat support.

2013-08-30 Thread Pravin B Shelar
cleanup various header file. Signed-off-by: Pravin B Shelar --- datapath/linux/compat/include/linux/if_ether.h | 13 datapath/linux/compat/include/linux/kernel.h| 31 - datapath/linux/compat/include/linux/netdevice.h | 81 --- datapath/linux/compat/inc

[ovs-dev] [PATCH 06/11] datapath: Remove vlan compat support

2013-08-30 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- datapath/Modules.mk |1 - datapath/datapath.c | 10 -- datapath/datapath.h |5 --- datapath/linux/compat/netdevice.c |4 -- datapath/linux/compat/vxlan.c | 10 +- datapath/vlan.c

[ovs-dev] [PATCH 11/11] datapath: Remove compat files.

2013-08-30 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- acinclude.m4 |3 - datapath/linux/Modules.mk | 16 - datapath/linux/compat/addrconf_core-openvswitch.c | 82 datapath/linux/compat/include/linux/dmi.h | 114 - datapath/li

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Andy Zhou
It will be simpler if we just fix the bug instead of pulling in more patches. I will derive a patch and send it out. On Fri, Aug 30, 2013 at 1:19 PM, Ben Pfaff wrote: > I still get conflicts: > > blp@sigsegv:~/ovs$ git checkout openvswitch/branch-1.11 > HEAD is now at 37f9d3a... Set rel

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Ben Pfaff
That's perfect, thanks a lot! On Fri, Aug 30, 2013 at 01:26:44PM -0700, Andy Zhou wrote: > It will be simpler if we just fix the bug instead of pulling in more > patches. I will derive a patch and send it out. > > > On Fri, Aug 30, 2013 at 1:19 PM, Ben Pfaff wrote: > > > I still get conflicts:

[ovs-dev] [PATCH 04/11] datapath: Remove skb->mask compat code.

2013-08-30 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- datapath/actions.c |2 +- datapath/compat.h | 39 --- datapath/datapath.c| 10 ++ datapath/flow.c|9 ++--- datapath/vport-gre.c |2 +- datapath/vport-lisp.c |2 +- datapa

[ovs-dev] [PATCH 09/11] datapath: Remove compat support for NLA_NUL_STRING

2013-08-30 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- acinclude.m4|1 - datapath/compat.h | 26 datapath/datapath.c | 55 --- 3 files changed, 0 insertions(+), 82 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index e

[ovs-dev] [PATCH 10/11] datapath: Remove reciprocal_div compat code.

2013-08-30 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- .../linux/compat/include/linux/reciprocal_div.h| 40 datapath/linux/compat/reciprocal_div.c |1 + 2 files changed, 1 insertions(+), 40 deletions(-) delete mode 100644 datapath/linux/compat/include/linux/reciprocal_div.

[ovs-dev] [PATCH 05/11] datapath: Remove checksum compat support

2013-08-30 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- datapath/Modules.mk |2 - datapath/actions.c| 15 +- datapath/checksum.c | 271 - datapath/checksum.h | 173

[ovs-dev] [PATCH 07/11] datapath: Cleanup netlink compat code.

2013-08-30 Thread Pravin B Shelar
Patch removes genl, netlink, rtnl compat code. Signed-off-by: Pravin B Shelar --- datapath/compat.h |8 -- datapath/datapath.c | 12 +- datapath/dp_notify.c|2 +- datapath/linux/compat/genetlink-openv

[ovs-dev] [PATCH 01/11] datapath: Move kernel version check to configure.

2013-08-30 Thread Pravin B Shelar
Rather than having compile time check in datapath.c, its better to check kernel version at configuration step. This patch also removes support for older kernel. Signed-off-by: Pravin B Shelar --- acinclude.m4| 12 ++-- datapath/datapath.c |5 - 2 files changed, 10 inser

[ovs-dev] [PATCH 02/11] datapath: vport: Remove compat support

2013-08-30 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- datapath/linux/compat/include/linux/if.h |7 --- datapath/linux/compat/include/net/ip.h |6 -- datapath/vport-internal_dev.c| 13 - datapath/vport-lisp.c|4 datapath/vport-netdev.c

[ovs-dev] [PATCH 03/11] datapath: Remove namespace compat support.

2013-08-30 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- datapath/linux/Modules.mk |1 - datapath/linux/compat/include/net/genetlink.h | 18 - datapath/linux/compat/include/net/net_namespace.h | 80 + datapath/linux/compat/include/net/netns/generic.h | 12 -

[ovs-dev] [PATCH 3/3] Locking for groups.

2013-08-30 Thread Jarno Rajahalme
The "groups" container is protected with a rwlock, and each group is protected with their own rwlock. Whenever groups are looked up, the container's lock is taken. If a group is found, the group is locked before the container is released, as otherwise the group might be deleted while the lock is

[ovs-dev] [PATCH 2/3] Delete groups in ofproto_destruct.

2013-08-30 Thread Jarno Rajahalme
Also, since all kinds of groups can refer to other groups, there is no reason to delete indirect groups first. Signed-off-by: Jarno Rajahalme --- ofproto/ofproto.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c in

[ovs-dev] [PATCH 1/3] Check the number of buckets for indirect groups.

2013-08-30 Thread Jarno Rajahalme
Indirect groups can have at most one bucket. Signed-off-by: Jarno Rajahalme --- lib/ofp-parse.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c index 9098467..f17364f 100644 --- a/lib/ofp-parse.c +++ b/lib/ofp-parse.c @@ -20

[ovs-dev] [PATCH 0/3] Incrementals on groups v3

2013-08-30 Thread Jarno Rajahalme
These should apply on the groups 2/2 v3. Jarno Rajahalme (3): Check the number of buckets for indirect groups. Delete groups in ofproto_destruct. Locking for groups. lib/ofp-parse.c| 14 ++- ofproto/ofproto-provider.h | 23 - ofproto/ofproto.c | 220 ++

Re: [ovs-dev] [PATCH v2] Fix a bug in conversion between flow/mask and flow key

2013-08-30 Thread Andy Zhou
Patch for branch 1.11 is attached. On Fri, Aug 30, 2013 at 1:27 PM, Ben Pfaff wrote: > That's perfect, thanks a lot! > > On Fri, Aug 30, 2013 at 01:26:44PM -0700, Andy Zhou wrote: > > It will be simpler if we just fix the bug instead of pulling in more > > patches. I will derive a patch and sen

[ovs-dev] [PATCH V3 1/2] coverage: Reimplement the "ovs-appctl coverage/show" command

2013-08-30 Thread Alex Wang
This commit changes the "ovs-appctl coverage/show" command to show the the averaged per-second rates for the last few seconds, the last minute and the last hour, and the total counts of all of the coverage counters. Signed-off-by: Alex Wang --- v2 -> v3: - fix typo. - provide the averaged per-s

[ovs-dev] [PATCH] timeval: Remove CACHE_TIME scheme.

2013-08-30 Thread Alex Wang
This commit removes the CACHE_TIME scheme from timeval module. This is for eliminating the lock contention over the read/write lock of the cached time. To get the time, the thread now will directly do the system call 'clock_gettime()'. As a side effect, time can only be warpped after timer is st

Re: [ovs-dev] [PATCH 00/11] datapath: Remove old compatibility code.

2013-08-30 Thread Justin Pettit
It's probably worth mentioning in NEWS and updating FAQ, SubmittingPatches, and README to remove references to 2.6.18. --Justin On Aug 30, 2013, at 1:22 PM, Pravin B Shelar wrote: > datapath support for older kernel is been broken for kernel > older than 2.6.32 for some time now. There have n

Re: [ovs-dev] [PATCH] openvswitch: fix sw_flow_key alignment

2013-08-30 Thread Jesse Gross
On Fri, Aug 30, 2013 at 11:42 AM, David Miller wrote: > From: Jesse Gross > Date: Fri, 30 Aug 2013 11:22:11 -0700 > >> The suggestion that Geert made was to just drop this entirely and >> rely on the natural alignment from these values. > > Indeed, Geert's patch was 1,000 times superior to this o

Re: [ovs-dev] [LNG] Re: datapath: remove HAVE_MAC_RAW

2013-08-30 Thread Jesse Gross
On Wed, Aug 28, 2013 at 1:57 AM, Viresh Kumar wrote: > On 28 August 2013 05:37, Jesse Gross wrote: >> On Tue, Aug 27, 2013 at 3:51 AM, Viresh Kumar >> wrote: >>> On 26 August 2013 21:59, Jesse Gross wrote: >>> This is compatibility code for older kernels so by definition it doesn't e

Re: [ovs-dev] [LNG] Re: [ovs-discuss] OVS Support for RT Kernel

2013-08-30 Thread Jesse Gross
On Wed, Aug 28, 2013 at 2:57 AM, Viresh Kumar wrote: > On 28 August 2013 05:48, Jesse Gross wrote: > >> The implementation is actually pretty much exactly the same as before. >> The only reason why there are no longer separate process/interrupt >> counters is because we started disabling bottom h

Re: [ovs-dev] [PATCH] ovs-ofctl: Document group commands

2013-08-30 Thread Simon Horman
On Fri, Aug 30, 2013 at 09:15:19AM -0700, Ben Pfaff wrote: > On Fri, Aug 30, 2013 at 05:42:54PM +0900, Simon Horman wrote: > > Signed-off-by: Simon Horman > > > > --- > > > > Ben, feel free to squash this into 'Implement OpenFlow 1.1+ "groups" > > protocol'. > > Thanks, done. I added your sign

Re: [ovs-dev] [PATCH] openvswitch: fix sw_flow_key alignment

2013-08-30 Thread David Miller
From: Jesse Gross Date: Fri, 30 Aug 2013 16:20:25 -0700 > I looked through the struct definition and I think that the idea of > manually padding as Geert did in his patch will be difficult to > maintain over time (and actually there are a few that he missed) since > there are a number of differen

Re: [ovs-dev] [PATCH] OPENFLOW-1.1+: Remove completed tasks.

2013-08-30 Thread Simon Horman
On Thu, Aug 29, 2013 at 09:52:07PM -0700, Ben Pfaff wrote: > It appears to me that OFPST_TABLE is correct for OF1.1+, so I'm removing > that. > > DESIGN describes OF1.2 flow_mod, so I'm removing that. > > Port and queue stats include duration these days. The proposed patch to > implement groups

Re: [ovs-dev] [PATCH 1/3] Check the number of buckets for indirect groups.

2013-08-30 Thread Simon Horman
On Fri, Aug 30, 2013 at 01:40:16PM -0700, Jarno Rajahalme wrote: > Indirect groups can have at most one bucket. > > Signed-off-by: Jarno Rajahalme Reviewed-by: Simon Horman > --- > lib/ofp-parse.c | 14 +++--- > 1 file changed, 11 insertions(+), 3 deletions(-) > > diff --git a/lib/

Re: [ovs-dev] [PATCH 2/3] Delete groups in ofproto_destruct.

2013-08-30 Thread Simon Horman
On Fri, Aug 30, 2013 at 01:40:17PM -0700, Jarno Rajahalme wrote: > Also, since all kinds of groups can refer to other groups, there is no > reason to delete indirect groups first. This seems reasonable to me, but its not clear to me how the code prevents the deletion of groups that are still refer

Re: [ovs-dev] Recirculation with milti-threaded miss handling

2013-08-30 Thread Simon Horman
On Wed, Aug 28, 2013 at 05:45:28PM +0900, Simon Horman wrote: > Hi Ethan, > > On Wed, Aug 28, 2013 at 12:25:31AM -0700, Ethan Jackson wrote: > > > In short, it would make my life much easier if facets could be looked up > > > execute_flow_miss(). And I am interested to know if you have any plans i

Re: [ovs-dev] [RFC PATCH net-next 1/4] iptunnels: remove net arg from iptunnel_xmit()

2013-08-30 Thread Pravin Shelar
On Wed, Aug 28, 2013 at 8:20 AM, Nicolas Dichtel wrote: > This argument is not used, let's remove it. > > Signed-off-by: Nicolas Dichtel > --- > drivers/net/vxlan.c | 3 +-- > include/net/ip_tunnels.h| 3 +-- > net/ipv4/ip_tunnel.c| 3 +-- > net/ipv4/ip_tunnel_core.c | 3 +-