[ovs-dev] [PATCH 3/3] ovs-dpctl: Add mega flow support

2013-06-05 Thread Andy Zhou
Added --mega option to ovs-dpctl command to allow mega flow to be specified and displayed. ovs-dpctl tool is mainly used as debugging tool. This patch also implements the low level user space routines to send and receive mega flow netlink messages. Those netlink support routines are required for

[ovs-dev] [PATCH 1/3] megaflow: Add mask attribute to netlink protocol

2013-06-05 Thread Andy Zhou
This patch is required for subsequent mega flow patchs. Signed-off-by: Andy Zhou --- include/linux/openvswitch.h |4 1 file changed, 4 insertions(+) diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h index e890fd8..6e71b4c 100644 --- a/include/linux/openvswitch.h ++

Re: [ovs-dev] [xc 4/4] ofproto-dpif: Track relevant fields for wildcarding and add xout cache.

2013-06-05 Thread Ben Pfaff
Justin, I know that you're eager for a full review of this patch, but it's just not going to happen tonight. I have some initial feedback here, and I'll finish it up tomorrow morning. On Wed, Jun 05, 2013 at 03:21:39PM -0700, Justin Pettit wrote: > Dynamically determines the flow fields that were

Re: [ovs-dev] [PATCH v4] gre: Restructure tunneling.

2013-06-05 Thread Pravin Shelar
On Wed, Jun 5, 2013 at 5:46 PM, Jesse Gross wrote: > On Tue, Jun 4, 2013 at 1:31 PM, Pravin B Shelar wrote: >> diff --git a/datapath/compat.h b/datapath/compat.h >> index c7fd225..6095323 100644 >> --- a/datapath/compat.h >> +++ b/datapath/compat.h >> @@ -93,5 +93,11 @@ static inline void skb_set

Re: [ovs-dev] [PATCH v4] gre: Restructure tunneling.

2013-06-05 Thread Jesse Gross
On Tue, Jun 4, 2013 at 1:31 PM, Pravin B Shelar wrote: > diff --git a/datapath/compat.h b/datapath/compat.h > index c7fd225..6095323 100644 > --- a/datapath/compat.h > +++ b/datapath/compat.h > @@ -93,5 +93,11 @@ static inline void skb_set_mark(struct sk_buff *skb, u32 > mark) > skb->mark

[ovs-dev] [threads 11/17] rtnetlink-link: Make 'attrs' local variable non-static.

2013-06-05 Thread Ben Pfaff
I don't see any reason for this variable to be static. CC: Ethan Jackson Signed-off-by: Ben Pfaff --- lib/rtnetlink-link.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rtnetlink-link.c b/lib/rtnetlink-link.c index 0b3710f..459e485 100644 --- a/lib/rtnetlink-li

[ovs-dev] [RFC] Making OVS less Ethernet specific

2013-06-05 Thread Lori Jakab
Hi, The LISP tunneling support as of now is not yet ready for upstreaming, for reasons outlined in this message: http://openvswitch.org/pipermail/dev/2013-February/025459.html One solution to the above issues is to make OVS less Ethernet specific, meaning that it should accept and work with pack

[ovs-dev] [subfacet 2/4] ofproto: Track subfacet stats in the backer.

2013-06-05 Thread Ethan Jackson
Subfacets being per-datapath entities, their statistics are really only interesting at per-datapath granularity. This patch moves them to the dpif_backer and makes some related simplifications. Signed-off-by: Ethan Jackson --- ofproto/ofproto-dpif-unixctl.man |6 +- ofproto/ofproto-dpif.c

Re: [ovs-dev] [PATCH] ofp-actions: make sure table_id in goto_table instruction is larger than the current table_id

2013-06-05 Thread Jing Ai
Thanks, Ben! Best, Jing On Wed, Jun 5, 2013 at 1:38 PM, Ben Pfaff wrote: > On Wed, Jun 05, 2013 at 01:18:09PM -0700, Jing Ai wrote: > > Found a bug that OVS allows goto_table_id to be smaller than (or equal > to) the current table id where the flow resides. It potentially creates an > infinite

Re: [ovs-dev] [branch-1.10] ofproto-dpif.c: Modify vsp_realdev_to_vlandev() function

2013-06-05 Thread Alex Wang
Looks good to me. Thanks~ On Wed, Jun 5, 2013 at 12:36 PM, Ben Pfaff wrote: > On Wed, Jun 05, 2013 at 10:46:13AM -0700, Alex Wang wrote: > > Hey Ben, > > > > I found in that the "send_packet()" function in branch-1.10 also invokes > > the "realdev_to_vlandev()" function. So there needs another

Re: [ovs-dev] [branch-1.10] ofproto-dpif.c: Modify vsp_realdev_to_vlandev() function

2013-06-05 Thread Alex Wang
Hey Ben, I found in that the "send_packet()" function in branch-1.10 also invokes the "realdev_to_vlandev()" function. So there needs another fix in branch-1.10. @@ -5743,8 +5744,10 @@ send_packet(const struct ofport_dpif *ofport, struct ofpbuf *packet) odp_put_tunnel_action(&flow.tunnel

[ovs-dev] Bug#710125: Bug#710125: openvswitch: unable to compile kernel module with linux-3.8

2013-06-05 Thread Maciej GaƂkiewicz
The problem with version 1.9.0 is that it does not support kernel greater than 3.8. On the other way kernel 3.9.4 is already in sid. regards Maciej ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev