Re: [ovs-dev] [PATCH 03/11] datapath: Fold key_len and hash into sw_flow_key.

2013-02-20 Thread Rajahalme, Jarno (NSN - FI/Espoo)
On Feb 19, 2013, at 21:38 , ext Jesse Gross wrote: > On Mon, Feb 18, 2013 at 12:13 AM, Rajahalme, Jarno (NSN - FI/Espoo) > wrote: >> >> I'd be happy to break it apart. >> >> In datapath.c ovs_flow_cmd_build_info(), there is first a call to >> ovs_flow_tbl_lookup(), which currently computes th

Re: [ovs-dev] [PATCH] Tunnel: Cleanup old tunnel infrastructure.

2013-02-20 Thread Kyle Mestery (kmestery)
On Feb 19, 2013, at 7:35 PM, Pravin B Shelar wrote: > Since userspace flow based tunneling code is checked in, the kernel > port based tunneling code can be removed. Following patch removes > this tunnel compatibility code and simplifies it. > > Signed-off-by: Pravin B Shelar > > Bug #15078 I

[ovs-dev] [PATCHv3] Add support for LISP tunneling

2013-02-20 Thread Lorand Jakab
LISP is an experimental layer 3 tunneling protocol, described in RFC 6830. This patch adds support for LISP tunneling. Since LISP encapsulated packets do not carry an Ethernet header, it is removed before encapsulation, and added with hardcoded source and destination MAC addresses after decapsula

Re: [ovs-dev] [PATCH] Tunnel: Cleanup old tunnel infrastructure.

2013-02-20 Thread Rajahalme, Jarno (NSN - FI/Espoo)
On Feb 20, 2013, at 18:00 , ext Kyle Mestery (kmestery) wrote: > On Feb 19, 2013, at 7:35 PM, Pravin B Shelar wrote: >> Since userspace flow based tunneling code is checked in, the kernel >> port based tunneling code can be removed. Following patch removes >> this tunnel compatibility code and s

Re: [ovs-dev] [PATCHv3] Add support for LISP tunneling

2013-02-20 Thread Rajahalme, Jarno (NSN - FI/Espoo)
On Feb 20, 2013, at 11:00 , ext Lorand Jakab wrote: > +static int lisp_tnl_send(struct vport *vport, struct sk_buff *skb) > +{ > + int network_offset = skb_network_offset(skb); > + > + /* We only encapsulate IPv4 and IPv6 packets */ > + switch (skb->protocol) { > + case htons(ETH_

[ovs-dev] GPS tracker with multi discrete input and output /Attn: purchase manager与您共享了相册。

2013-02-20 Thread GPS tracker with multi discrete input and output /Attn: purchase manager
Tips: GPS tracker with multi discrete input and output /Attn: purchase manager Dear Sir This is Anna,the sales manager of Redview GPS in China. VT310 is a GPS tracker with 5 discrete inputs ,5 discrete outputs and 2 analog ports . With VT310,you can get vehicle windows status

Re: [ovs-dev] [PATCH] Tunnel: Cleanup old tunnel infrastructure.

2013-02-20 Thread Kyle Mestery (kmestery)
On Feb 20, 2013, at 10:15 AM, "Rajahalme, Jarno (NSN - FI/Espoo)" wrote: > > On Feb 20, 2013, at 18:00 , ext Kyle Mestery (kmestery) wrote: > >> On Feb 19, 2013, at 7:35 PM, Pravin B Shelar wrote: >>> Since userspace flow based tunneling code is checked in, the kernel >>> port based tunneling

Re: [ovs-dev] [PATCHv3] Add support for LISP tunneling

2013-02-20 Thread Lori Jakab
On 02/20/13 18:26, Rajahalme, Jarno (NSN - FI/Espoo) wrote: > > On Feb 20, 2013, at 11:00 , ext Lorand Jakab wrote: > >> +static int lisp_tnl_send(struct vport *vport, struct sk_buff *skb) >> +{ >> +int network_offset = skb_network_offset(skb); >> + >> +/* We only encapsulate IPv4 and IPv

[ovs-dev] [PATCHv3.1] Add support for LISP tunneling

2013-02-20 Thread Lorand Jakab
LISP is an experimental layer 3 tunneling protocol, described in RFC 6830. This patch adds support for LISP tunneling. Since LISP encapsulated packets do not carry an Ethernet header, it is removed before encapsulation, and added with hardcoded source and destination MAC addresses after decapsula

Re: [ovs-dev] [PATCH] Tunnel: Cleanup old tunnel infrastructure.

2013-02-20 Thread Pravin Shelar
On Wed, Feb 20, 2013 at 8:51 AM, Kyle Mestery (kmestery) wrote: > On Feb 20, 2013, at 10:15 AM, "Rajahalme, Jarno (NSN - FI/Espoo)" > wrote: >> >> On Feb 20, 2013, at 18:00 , ext Kyle Mestery (kmestery) wrote: >> >>> On Feb 19, 2013, at 7:35 PM, Pravin B Shelar wrote: Since userspace flow

Re: [ovs-dev] [PATCH] Tunnel: Cleanup old tunnel infrastructure.

2013-02-20 Thread Jesse Gross
Here are a couple of small comments that I'd already written. I haven't gone through the main part of the patch yet but I figured that I might as well send them if you are going to respin the patch. On Tue, Feb 19, 2013 at 5:35 PM, Pravin B Shelar wrote: > diff --git a/datapath/actions.c b/datap

Re: [ovs-dev] [PATCHv4 3/3] tunnel: set skb mark for IPsec tunnel packets

2013-02-20 Thread Ansis Atteka
On Fri, Feb 15, 2013 at 1:16 PM, Jesse Gross wrote: > On Fri, Feb 15, 2013 at 11:43 AM, Ansis Atteka wrote: >> The new ovs-monitor-ipsec implementation will use skb marks in >> IPsec policies. This patch will configure datapath to use these >> skb marks for IPsec tunnel packets. >> >> Issue: 1487

Re: [ovs-dev] [PATCH] Tunnel: Cleanup old tunnel infrastructure.

2013-02-20 Thread Kyle Mestery (kmestery)
On Feb 20, 2013, at 12:44 PM, Jesse Gross wrote: > Here are a couple of small comments that I'd already written. I > haven't gone through the main part of the patch yet but I figured that > I might as well send them if you are going to respin the patch. > > On Tue, Feb 19, 2013 at 5:35 PM, Pravi

Re: [ovs-dev] [PATCH] Tunnel: Cleanup old tunnel infrastructure.

2013-02-20 Thread Kyle Mestery (kmestery)
On Feb 20, 2013, at 1:56 PM, Kyle Mestery (kmestery) wrote: > On Feb 20, 2013, at 12:44 PM, Jesse Gross wrote: >> Here are a couple of small comments that I'd already written. I >> haven't gone through the main part of the patch yet but I figured that >> I might as well send them if you are goin

Re: [ovs-dev] [PATCHv3.1] Add support for LISP tunneling

2013-02-20 Thread Jesse Gross
On Wed, Feb 20, 2013 at 2:33 AM, Lorand Jakab wrote: > LISP is an experimental layer 3 tunneling protocol, described in RFC > 6830. This patch adds support for LISP tunneling. Since LISP > encapsulated packets do not carry an Ethernet header, it is removed > before encapsulation, and added with

Re: [ovs-dev] [PATCH 03/11] datapath: Fold key_len and hash into sw_flow_key.

2013-02-20 Thread Jesse Gross
On Wed, Feb 20, 2013 at 1:30 AM, Rajahalme, Jarno (NSN - FI/Espoo) wrote: > > On Feb 19, 2013, at 21:38 , ext Jesse Gross wrote: > >> On Mon, Feb 18, 2013 at 12:13 AM, Rajahalme, Jarno (NSN - FI/Espoo) >> wrote: >>> >>> I'd be happy to break it apart. >>> >>> In datapath.c ovs_flow_cmd_build_info