Re: [ovs-dev] [PATCH 01/13] Upstream GRE: Use RTNL for atomic protocol registration.

2012-11-06 Thread Ben Pfaff
OK, can you add this to the commit message (assuming Jesse doesn't disagree)? Thanks. On Tue, Nov 06, 2012 at 05:29:24PM -0800, Pravin Shelar wrote: > Most of protocol in kernel are registered with RTNL lock, so GRE protocol > registration shld also use same lock rather than introducing new lock.

Re: [ovs-dev] [PATCH] tunnel: Zero keys if marked as not present.

2012-11-06 Thread Pravin Shelar
On Tue, Nov 6, 2012 at 6:32 PM, Jesse Gross wrote: > If a key used to find a port then we mark it as being not present > (previously this was accomplished by setting it to zero). However, > we also still pass the key to userspace which could lead to an > inconsistent state. This also zeros out

Re: [ovs-dev] [PATCH 3/5] datapath: Don't allow flows installed with only TUN_ID.

2012-11-06 Thread Kyle Mestery (kmestery)
On Nov 6, 2012, at 8:45 PM, Jesse Gross wrote: > On Tue, Nov 6, 2012 at 6:39 PM, Kyle Mestery (kmestery) > wrote: > > On Nov 6, 2012, at 6:50 PM, Jesse Gross wrote: > > > Tunnel ports now always include full outer IP information, even if > > userspace can't understand it. Since our flows o

Re: [ovs-dev] [PATCH 3/5] datapath: Don't allow flows installed with only TUN_ID.

2012-11-06 Thread Jesse Gross
On Tue, Nov 6, 2012 at 6:39 PM, Kyle Mestery (kmestery) wrote: > > On Nov 6, 2012, at 6:50 PM, Jesse Gross wrote: > > > Tunnel ports now always include full outer IP information, even if > > userspace can't understand it. Since our flows our exact match this > > information must also be provided

Re: [ovs-dev] [PATCH] tunnel: Zero keys if marked as not present.

2012-11-06 Thread Kyle Mestery (kmestery)
On Nov 6, 2012, at 8:32 PM, Jesse Gross wrote: > If a key used to find a port then we mark it as being not present > (previously this was accomplished by setting it to zero). However, > we also still pass the key to userspace which could lead to an > inconsistent state. This also zeros out the k

Re: [ovs-dev] [PATCH 3/5] datapath: Don't allow flows installed with only TUN_ID.

2012-11-06 Thread Kyle Mestery (kmestery)
On Nov 6, 2012, at 6:50 PM, Jesse Gross wrote: > Tunnel ports now always include full outer IP information, even if > userspace can't understand it. Since our flows our exact match this > information must also be provided when setting up flows. Since flows > with only OVS_KEY_ATTR_TUN_ID keys

Re: [ovs-dev] [PATCH 2/5] datapath: Don't write into IPV4_TUNNEL data when using TUN_ID.

2012-11-06 Thread Kyle Mestery (kmestery)
On Nov 6, 2012, at 6:50 PM, Jesse Gross wrote: > When the IPV4_TUNNEL action is executed, a pointer in the skb is > directly assigned the address of the action, which is protected by > RCU. If a TUN_ID action is later executed it will write into the > action, which is not allowed by RCU. This av

Re: [ovs-dev] [PATCH 5/5] datapath: Allow GRE64 to use flow based tunneling.

2012-11-06 Thread Kyle Mestery (kmestery)
On Nov 6, 2012, at 6:50 PM, Jesse Gross wrote: > There's no reason why GRE64 can't be configured using flow based > tunneling. Since that's the direction we are moving, everything > should support that. Once this special casing is removed, it's > possible to unify the tunnel parameter parsing co

Re: [ovs-dev] [PATCH 4/5] datapath: Shorten flow tunneling flags.

2012-11-06 Thread Kyle Mestery (kmestery)
On Nov 6, 2012, at 6:50 PM, Jesse Gross wrote: > The names for the flags used by flow based tunneling are pretty long. > This shortens them a little by removing the word FLOW, which is a > distinction that won't be meaningful in the near future. > > Signed-off-by: Jesse Gross Acked-by: Kyle Me

Re: [ovs-dev] [PATCH 1/5] datapath: Include OVS_KEY_ATTR_IPV4_TUNNEL in upstream range.

2012-11-06 Thread Kyle Mestery (kmestery)
On Nov 6, 2012, at 6:50 PM, Jesse Gross wrote: > During development it was preferable to keep OVS_KEY_ATTR_IPV4_TUNNEL > in the non-upstream range of identifiers to avoid conflicts or > compatibility issues as it evolved. However, since the intention is > to get it upstream, it makes sense to mov

[ovs-dev] [PATCH] tunnel: Zero keys if marked as not present.

2012-11-06 Thread Jesse Gross
If a key used to find a port then we mark it as being not present (previously this was accomplished by setting it to zero). However, we also still pass the key to userspace which could lead to an inconsistent state. This also zeros out the key as before in order to make our reported results consi

Re: [ovs-dev] [PATCH 01/13] Upstream GRE: Use RTNL for atomic protocol registration.

2012-11-06 Thread Pravin Shelar
Most of protocol in kernel are registered with RTNL lock, so GRE protocol registration shld also use same lock rather than introducing new lock. On Tue, Nov 6, 2012 at 5:09 PM, Ben Pfaff wrote: > On Tue, Nov 06, 2012 at 04:59:01PM -0800, Pravin B Shelar wrote: > > Currently gre demultiplexer us

Re: [ovs-dev] [PATCH 01/13] Upstream GRE: Use RTNL for atomic protocol registration.

2012-11-06 Thread Ben Pfaff
On Tue, Nov 06, 2012 at 04:59:01PM -0800, Pravin B Shelar wrote: > Currently gre demultiplexer uses its own spin-lock. We should rather > RTNL lock. The commit message doesn't make it clear why this change is desirable. ___ dev mailing list dev@openvswit

[ovs-dev] [PATCH 13/13] Upstream VXLAN: Add segmentation.

2012-11-06 Thread Pravin B Shelar
Use UDP Tunnel segmention. Signed-off-by: Pravin B Shelar --- drivers/net/vxlan.c | 27 +++ 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 983a239..07e43bb 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net

[ovs-dev] [PATCH 12/13] Upstream UDP: Add generic Tunnel segmentation.

2012-11-06 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- include/linux/skbuff.h |3 ++ net/ipv4/af_inet.c |6 ++- net/ipv4/udp.c | 106 net/ipv6/af_inet6.c|1 + net/ipv6/udp.c |7 +++- 5 files changed, 96 insertions(+), 27 deleti

[ovs-dev] [PATCH 11/13] Upstream VXLAN: Add checksum offload.

2012-11-06 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- drivers/net/vxlan.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 8faaeb8..983a239 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -638,6 +638,21 @@ static netdev_tx_t

[ovs-dev] [PATCH 10/13] Upstream VXLAN: Use IP Tunnels rtnl-netlink functions.

2012-11-06 Thread Pravin B Shelar
IP Tunnel modules defines generic rtnl-netlink ops for tunneling devices VXLAN can directly use them. Signed-off-by: Pravin B Shelar --- drivers/net/vxlan.c | 105 ++- 1 file changed, 37 insertions(+), 68 deletions(-) diff --git a/drivers/net/vxl

[ovs-dev] [PATCH 09/13] Upstream VXLAN: Add VXLAN socket create API

2012-11-06 Thread Pravin B Shelar
Export vxlan_create_socket() so that other modules, like Open vSwitch, can have configurable destination port for VXLAN. Signed-off-by: Pravin B Shelar --- drivers/net/vxlan.c | 46 +++--- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/d

[ovs-dev] [PATCH 08/13] Upstream VXLAN: use IP Tunnels tunnel ENC Encap API

2012-11-06 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- drivers/net/vxlan.c | 26 ++ 1 file changed, 2 insertions(+), 24 deletions(-) diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index be2064b..dacd20f 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vxlan.c @@ -604,28 +604,6 @@

[ovs-dev] [PATCH 07/13] Upstream VXLAN: use IP Tunnel protocol handler.

2012-11-06 Thread Pravin B Shelar
IP Tunnel protocol handler allows multiple modules register for same protocol, e.g. linux vxlan devices and Open vSwitch both can register for VXLAN device. Signed-off-by: Pravin B Shelar --- drivers/net/vxlan.c | 68 +++ 1 file changed, 53 inser

[ovs-dev] [PATCH 05/13] Upstream VXLAN: Use ip_tunnel structure for vxlan preivate device.

2012-11-06 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- drivers/net/vxlan.c | 119 --- 1 file changed, 56 insertions(+), 63 deletions(-) diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index 030559d..c8939ab2 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/v

[ovs-dev] [PATCH 06/13] Upstream VXLAN: use IP Tunnel stats APIs

2012-11-06 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- drivers/net/vxlan.c | 71 +-- 1 file changed, 7 insertions(+), 64 deletions(-) diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c index c8939ab2..d2449f3 100644 --- a/drivers/net/vxlan.c +++ b/drivers/net/vx

[ovs-dev] [PATCH 04/13] Upstream GRE: Add segmentation offload for GRE TAP device.

2012-11-06 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- include/linux/skbuff.h | 12 ++ net/ipv4/af_inet.c |1 + net/ipv4/gre.c | 95 net/ipv4/ip_gre.c |7 net/ipv4/tcp.c |1 + net/ipv4/udp.c |3 +- net/ipv6

[ovs-dev] [PATCH 03/13] Upstream IPIP: Use ip-tunneling code.

2012-11-06 Thread Pravin B Shelar
Reuse common ip-tunneling code which is re-factored from GRE module. Signed-off-by: Pravin B Shelar --- net/ipv4/ipip.c | 743 --- 1 file changed, 101 insertions(+), 642 deletions(-) diff --git a/net/ipv4/ipip.c b/net/ipv4/ipip.c index d3b004

[ovs-dev] [PATCH 01/13] Upstream GRE: Use RTNL for atomic protocol registration.

2012-11-06 Thread Pravin B Shelar
Currently gre demultiplexer uses its own spin-lock. We should rather RTNL lock. Suggested-by: Stephen Hemminger Signed-off-by: Pravin B Shelar --- drivers/net/ppp/pptp.c |5 + net/ipv4/gre.c | 18 +- net/ipv4/ip_gre.c |5 + 3 files changed, 15 inse

Re: [ovs-dev] [PATCH 18/18] ofp-util: Optimize ofputil_version_bitmap_scanr

2012-11-06 Thread Simon Horman
On Tue, Nov 06, 2012 at 04:49:07PM -0800, Ben Pfaff wrote: > On Wed, Nov 07, 2012 at 09:45:59AM +0900, Simon Horman wrote: > > Do you have any thoughts on if it is worth implementing something > > similar for bitmap_scan() using ffs()? > > I've never seen bitmap_scan() show up in profiling data so

[ovs-dev] [PATCH 3/5] datapath: Don't allow flows installed with only TUN_ID.

2012-11-06 Thread Jesse Gross
Tunnel ports now always include full outer IP information, even if userspace can't understand it. Since our flows our exact match this information must also be provided when setting up flows. Since flows with only OVS_KEY_ATTR_TUN_ID keys don't contain all of this information they can never be hi

[ovs-dev] [PATCH 5/5] datapath: Allow GRE64 to use flow based tunneling.

2012-11-06 Thread Jesse Gross
There's no reason why GRE64 can't be configured using flow based tunneling. Since that's the direction we are moving, everything should support that. Once this special casing is removed, it's possible to unify the tunnel parameter parsing code since both GRE and CAPWAP are the same. Signed-off-b

[ovs-dev] [PATCH 4/5] datapath: Shorten flow tunneling flags.

2012-11-06 Thread Jesse Gross
The names for the flags used by flow based tunneling are pretty long. This shortens them a little by removing the word FLOW, which is a distinction that won't be meaningful in the near future. Signed-off-by: Jesse Gross --- datapath/flow.c | 12 ++-- datapath/tunnel.c

[ovs-dev] [PATCH 2/5] datapath: Don't write into IPV4_TUNNEL data when using TUN_ID.

2012-11-06 Thread Jesse Gross
When the IPV4_TUNNEL action is executed, a pointer in the skb is directly assigned the address of the action, which is protected by RCU. If a TUN_ID action is later executed it will write into the action, which is not allowed by RCU. This avoids the problem by making a copy of the data and writin

[ovs-dev] [PATCH 1/5] datapath: Include OVS_KEY_ATTR_IPV4_TUNNEL in upstream range.

2012-11-06 Thread Jesse Gross
During development it was preferable to keep OVS_KEY_ATTR_IPV4_TUNNEL in the non-upstream range of identifiers to avoid conflicts or compatibility issues as it evolved. However, since the intention is to get it upstream, it makes sense to move it down now to avoid issues with compatibility when up

Re: [ovs-dev] [PATCH 18/18] ofp-util: Optimize ofputil_version_bitmap_scanr

2012-11-06 Thread Ben Pfaff
On Wed, Nov 07, 2012 at 09:45:59AM +0900, Simon Horman wrote: > Do you have any thoughts on if it is worth implementing something > similar for bitmap_scan() using ffs()? I've never seen bitmap_scan() show up in profiling data so it's a low priority. The current implementation has the advantage o

Re: [ovs-dev] [PATCH 18/18] ofp-util: Optimize ofputil_version_bitmap_scanr

2012-11-06 Thread Simon Horman
On Sun, Nov 04, 2012 at 10:27:48PM -0800, Ben Pfaff wrote: > On Fri, Oct 26, 2012 at 11:36:06AM +0900, Simon Horman wrote: > > Make use of __builtin_clz if available which should optimize > > ofputil_version_bitmap_scanr() by replacing a loop with > > a single CLZ instruction when available. > > >

Re: [ovs-dev] [PATCH 03/18] ofp-util: Add version bitmap support to hello messages

2012-11-06 Thread Simon Horman
On Sun, Nov 04, 2012 at 10:20:09PM -0800, Ben Pfaff wrote: > On Thu, Nov 01, 2012 at 08:33:04AM +0800, Simon Horman wrote: > > On Wed, Oct 31, 2012 at 11:16:06AM -0700, Ben Pfaff wrote: > > > On Fri, Oct 26, 2012 at 11:35:51AM +0900, Simon Horman wrote: > > > > Allow encoding and decoding of versio

Re: [ovs-dev] Current state of tunnel rework

2012-11-06 Thread Kyle Mestery (kmestery)
Hey Jesse, This sounds like a plan. It is pretty current (I think I last updated my github last week). I'll go ahead and update things, make sure things work, and apply your comments below. Thanks! Kyle On Nov 6, 2012, at 1:27 PM, Jesse Gross wrote: > Hi Kyle, > > Things are continuing to

Re: [ovs-dev] Current state of tunnel rework

2012-11-06 Thread Jesse Gross
Hi Kyle, Things are continuing to move along and I think that most of the major infrastructure pieces are either complete or coming along nicely. One area that might make sense for you to work on is the VXLAN dataplane support. I know that you've been maintaining Ben's patch out of tree so hopef

[ovs-dev] [PATCH 2/2] ovs-save: Set ofport_request while saving flows.

2012-11-06 Thread Gurucharan Shetty
Populate the interface table's 'ofport_request' column with the value in the column 'ofport' while saving flows. When vswitchd restarts, it will use the ofport_request value to set the value of ofport. Signed-off-by: Gurucharan Shetty --- utilities/ovs-save | 19 ++- 1 file ch

[ovs-dev] [PATCH 1/2] ovs-ctl.in: Don't save kernel datapath config.

2012-11-06 Thread Gurucharan Shetty
Now that we have a single datapath and the datapath port number has no relation to openflow port numbers, it does not make sense to save and restore kernel datapath configuration for the purpose of restoring openflow flows. Signed-off-by: Gurucharan Shetty --- utilities/ovs-ctl.8 |9 +++---

Re: [ovs-dev] [PATCHv2 1/4] datapath: Add ipv6_find_hdr() compatibility function.

2012-11-06 Thread Ben Pfaff
On Tue, Nov 06, 2012 at 08:41:50PM +0200, Ansis Atteka wrote: > Implementation of the IPv6 'set' action depends on ipv6_find_exthdr() > function to find routing header. By looking at the routing headers, > it is possible to tell, whether L4 checksums will need to be > recalculated, whenever the des

Re: [ovs-dev] [PATCHv2 1/4] datapath: Add ipv6_find_hdr() compatibility function.

2012-11-06 Thread Jesse Gross
On Tue, Nov 6, 2012 at 10:41 AM, Ansis Atteka wrote: > Implementation of the IPv6 'set' action depends on ipv6_find_exthdr() > function to find routing header. By looking at the routing headers, > it is possible to tell, whether L4 checksums will need to be > recalculated, whenever the destinatio

[ovs-dev] [PATCHv2 2/4] datapath: improve ipv6_find_hdr() function for IPv6 'set' action

2012-11-06 Thread Ansis Atteka
This patch prepares ipv6_find_hdr() function so that it could be able to skip routing headers, where segements_left is 0. This is required for us to handle multiple routing header case correctly. Signed-off-by: Ansis Atteka --- datapath/linux/compat/exthdrs_core.c | 31

[ovs-dev] [PATCHv2 1/4] datapath: Add ipv6_find_hdr() compatibility function.

2012-11-06 Thread Ansis Atteka
Implementation of the IPv6 'set' action depends on ipv6_find_exthdr() function to find routing header. By looking at the routing headers, it is possible to tell, whether L4 checksums will need to be recalculated, whenever the destination address is changed in the main IPv6 header. This function wi

Re: [ovs-dev] [PATCH 2/2] datapath: improve ipv6_find_hdr() function for IPv6 'set' action

2012-11-06 Thread Ansis Atteka
On Tue, Nov 6, 2012 at 8:26 PM, Ben Pfaff wrote: > On Tue, Nov 06, 2012 at 08:25:41PM +0200, Ansis Atteka wrote: >> On Tue, Nov 6, 2012 at 8:19 PM, Ben Pfaff wrote: >> > On Tue, Nov 06, 2012 at 10:16:47AM -0800, Jesse Gross wrote: >> >> On Tue, Nov 6, 2012 at 7:25 AM, Ansis Atteka wrote: >> >> >

Re: [ovs-dev] [PATCH 2/2] datapath: improve ipv6_find_hdr() function for IPv6 'set' action

2012-11-06 Thread Ben Pfaff
On Tue, Nov 06, 2012 at 08:25:41PM +0200, Ansis Atteka wrote: > On Tue, Nov 6, 2012 at 8:19 PM, Ben Pfaff wrote: > > On Tue, Nov 06, 2012 at 10:16:47AM -0800, Jesse Gross wrote: > >> On Tue, Nov 6, 2012 at 7:25 AM, Ansis Atteka wrote: > >> > >> > This patch prepares ipv6_find_hdr() function so th

Re: [ovs-dev] [PATCH 2/2] datapath: improve ipv6_find_hdr() function for IPv6 'set' action

2012-11-06 Thread Ansis Atteka
On Tue, Nov 6, 2012 at 8:19 PM, Ben Pfaff wrote: > On Tue, Nov 06, 2012 at 10:16:47AM -0800, Jesse Gross wrote: >> On Tue, Nov 6, 2012 at 7:25 AM, Ansis Atteka wrote: >> >> > This patch prepares ipv6_find_hdr() function so that it could be >> > able to skip routing headers, where segements_left i

Re: [ovs-dev] [PATCH 2/2] datapath: improve ipv6_find_hdr() function for IPv6 'set' action

2012-11-06 Thread Jesse Gross
On Tue, Nov 6, 2012 at 10:21 AM, Ansis Atteka wrote: > On Tue, Nov 6, 2012 at 8:16 PM, Jesse Gross wrote: > > On Tue, Nov 6, 2012 at 7:25 AM, Ansis Atteka wrote: > >> > >> This patch prepares ipv6_find_hdr() function so that it could be > >> able to skip routing headers, where segements_left is

Re: [ovs-dev] Interop testing of nvgre tunnel with ms server 2012

2012-11-06 Thread Jesse Gross
On Tue, Nov 6, 2012 at 10:03 AM, Ahsan Rafique < ahsan.rafi...@xflowresearch.com> wrote: > ** > Hi, > I have added the nvgre support in OVS.Now i want to do interop testing of > this tunnel with the microsoft windows server 2012.The ping is successful > when i ping from one host to another both

Re: [ovs-dev] [PATCH 2/2] datapath: improve ipv6_find_hdr() function for IPv6 'set' action

2012-11-06 Thread Ben Pfaff
On Tue, Nov 06, 2012 at 10:16:47AM -0800, Jesse Gross wrote: > On Tue, Nov 6, 2012 at 7:25 AM, Ansis Atteka wrote: > > > This patch prepares ipv6_find_hdr() function so that it could be > > able to skip routing headers, where segements_left is 0. This is > > required for us to handle multiple rou

Re: [ovs-dev] [PATCH 2/2] datapath: improve ipv6_find_hdr() function for IPv6 'set' action

2012-11-06 Thread Jesse Gross
On Tue, Nov 6, 2012 at 7:25 AM, Ansis Atteka wrote: > This patch prepares ipv6_find_hdr() function so that it could be > able to skip routing headers, where segements_left is 0. This is > required for us to handle multiple routing header case correctly. > > Signed-off-by: Ansis Atteka This loo

[ovs-dev] Interop testing of nvgre tunnel with ms server 2012

2012-11-06 Thread Ahsan Rafique
Hi, I have added the nvgre support in OVS.Now i want to do interop testing of this tunnel with the microsoft windows server 2012.The ping is successful when i ping from one host to another both having OVS.But when i ping from host 1 having OVS with nvgre support to host 2 having windows server 2012

Re: [ovs-dev] [PATCH] ovs-vsctl: Allow command-specific options to mingle with global options.

2012-11-06 Thread Adam Heath
On 11/06/2012 11:10 AM, Ben Pfaff wrote: > On Fri, Nov 02, 2012 at 02:26:20PM -0700, Ben Pfaff wrote: >> On Fri, Nov 02, 2012 at 04:21:56PM -0500, Adam Heath wrote: >>> On 11/02/2012 04:19 PM, Ben Pfaff wrote: I still don't understand. Why would an existing script call ovs-vsctl with --m

Re: [ovs-dev] [PATCH 1/2] datapath: Add ipv6_find_hdr() compatibility function.

2012-11-06 Thread Jesse Gross
On Tue, Nov 6, 2012 at 7:25 AM, Ansis Atteka wrote: > Implementation of the IPv6 'set' action depends on ipv6_find_exthdr() > function to find routing header. By looking at the routing headers, > it is possible to tell, whether L4 checksums will need to be > recalculated, whenever the destination

Re: [ovs-dev] [PATCH 4/8] User-Space MPLS actions and matches

2012-11-06 Thread Jesse Gross
On Mon, Nov 5, 2012 at 8:01 PM, Ben Pfaff wrote: > Jesse has been back for a week or so. > > He's focusing on the tunneling changes. I hope that he will get to MPLS > soon after that is ready to go. Yes, that sounds right. ___ dev mailing list dev@op

Re: [ovs-dev] [PATCH] netdev-vport: Fix warning due to new GRE type.

2012-11-06 Thread Ben Pfaff
On Mon, Nov 05, 2012 at 06:29:02PM -0800, Ethan Jackson wrote: > This patch fixes the following warning caused by a switch case > which was not handled. > > lib/netdev-vport.c:144:5: error: enumeration value > ‘OVS_VPORT_TYPE_FT_GRE’ not handled in switch > > Signed-off-by: Ethan Jackson Looks

Re: [ovs-dev] [PATCH] netdev-vport: Fix warning due to new GRE type.

2012-11-06 Thread Jesse Gross
On Mon, Nov 5, 2012 at 6:29 PM, Ethan Jackson wrote: > This patch fixes the following warning caused by a switch case > which was not handled. > > lib/netdev-vport.c:144:5: error: enumeration value > ‘OVS_VPORT_TYPE_FT_GRE’ not handled in switch > > Signed-off-by: Ethan Jackson Looks good, tha

Re: [ovs-dev] [PATCH] datapath: Remove flow refcount functionality.

2012-11-06 Thread Jesse Gross
On Mon, Nov 5, 2012 at 5:51 PM, Pravin Shelar wrote: > On Mon, Nov 5, 2012 at 3:50 PM, Jesse Gross wrote: >> >> diff --git a/datapath/datapath.c b/datapath/datapath.c >> index 9c253e1..976a5f2 100644 >> --- a/datapath/datapath.c >> +++ b/datapath/datapath.c >> @@ -818,13 +818,13 @@ static int ov

Re: [ovs-dev] [PATCH] ovs-vsctl: Allow command-specific options to mingle with global options.

2012-11-06 Thread Ben Pfaff
On Fri, Nov 02, 2012 at 02:26:20PM -0700, Ben Pfaff wrote: > On Fri, Nov 02, 2012 at 04:21:56PM -0500, Adam Heath wrote: > > On 11/02/2012 04:19 PM, Ben Pfaff wrote: > > > I still don't understand. Why would an existing script call ovs-vsctl > > > with --may-exist as a global option? The call wou

[ovs-dev] [PATCH 2/2] datapath: improve ipv6_find_hdr() function for IPv6 'set' action

2012-11-06 Thread Ansis Atteka
This patch prepares ipv6_find_hdr() function so that it could be able to skip routing headers, where segements_left is 0. This is required for us to handle multiple routing header case correctly. Signed-off-by: Ansis Atteka --- datapath/linux/compat/exthdrs_core.c | 41

[ovs-dev] [PATCH 1/2] datapath: Add ipv6_find_hdr() compatibility function.

2012-11-06 Thread Ansis Atteka
Implementation of the IPv6 'set' action depends on ipv6_find_exthdr() function to find routing header. By looking at the routing headers, it is possible to tell, whether L4 checksums will need to be recalculated, whenever the destination address is changed in the main IPv6 header. This function wi

[ovs-dev] Current state of tunnel rework

2012-11-06 Thread Kyle Mestery (kmestery)
Jesse and Pravin: Curious what the current state of the tunnel work is. About 4 weeks back, Jesse had sent out an email with some work items. I have some cycles now to continue working on this, but wanted to touch base with you guys to see where things are at and what areas you may need help wi

[ovs-dev] Que le misericordieux soit avec vous

2012-11-06 Thread Mme Burton Laure
Bonjour Bien Aimé Ce sont nos œuvres qui resteront quand tombera sur nous, le rideau de la mort. En mourant nous n'emportons aucun bien matériel avec nous. Les prières et la foi en son seigneur valent beaucoup plus que l'or ; le diamant ou tous autres pier

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

2012-11-06 Thread Simon Horman
On Tue, Nov 06, 2012 at 05:03:22PM +0900, Isaku Yamahata wrote: > Except minor typo, Thanks, I will fix the typo. > Reviewed-by: Isaku Yamahata > > thanks, ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

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

2012-11-06 Thread Isaku Yamahata
Except minor typo, Reviewed-by: Isaku Yamahata thanks, On Mon, Nov 05, 2012 at 10:22:34AM +0800, Simon Horman wrote: > Hi, > > This series implements basic MPLS actions and matches based on work by > Ravi K, Leo Alterman and Yamahata-san. > > The main limitation of this implementation is that

Re: [ovs-dev] [PATCH 6/6] Add support for copy_ttl_in action

2012-11-06 Thread Isaku Yamahata
Minor nitpick On Mon, Nov 05, 2012 at 10:22:40AM +0800, Simon Horman wrote: > This adds support for the OpenFlow 1.1+ copy_ttl_out action. typo. copy-n-paste > And also adds an NX copy_ttl_out action. > > The implementation does not support copy