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

2013-02-19 Thread Jesse Gross
On Mon, Feb 18, 2013 at 4:45 AM, Lori Jakab wrote: > On 02/18/13 14:31, Lori Jakab wrote: >> On 02/16/13 00:45, Jesse Gross wrote: >>> On Fri, Feb 15, 2013 at 10:34 AM, Lori Jakab wrote: On 02/15/13 01:32, Jesse Gross wrote: > On Wed, Feb 13, 2013 at 6:44 AM, Lorand Jakab wrote: >>

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

2013-02-18 Thread Lori Jakab
On 02/18/13 14:31, Lori Jakab wrote: > On 02/16/13 00:45, Jesse Gross wrote: >> On Fri, Feb 15, 2013 at 10:34 AM, Lori Jakab wrote: >>> On 02/15/13 01:32, Jesse Gross wrote: On Wed, Feb 13, 2013 at 6:44 AM, Lorand Jakab wrote: > +/* Compute source port for outgoing packet. > + * Curr

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

2013-02-18 Thread Lori Jakab
On 02/16/13 00:45, Jesse Gross wrote: > On Fri, Feb 15, 2013 at 10:34 AM, Lori Jakab wrote: >> On 02/15/13 01:32, Jesse Gross wrote: >>> On Wed, Feb 13, 2013 at 6:44 AM, Lorand Jakab wrote: diff --git a/datapath/vport-lisp.c b/datapath/vport-lisp.c new file mode 100644 index 00

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

2013-02-15 Thread Jesse Gross
On Fri, Feb 15, 2013 at 10:34 AM, Lori Jakab wrote: > On 02/15/13 01:32, Jesse Gross wrote: >> On Wed, Feb 13, 2013 at 6:44 AM, Lorand Jakab wrote: >>> diff --git a/datapath/vport-lisp.c b/datapath/vport-lisp.c >>> new file mode 100644 >>> index 000..9ca851c >>> --- /dev/null >>> +++ b/datapa

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

2013-02-15 Thread Lori Jakab
On 02/15/13 01:32, Jesse Gross wrote: > On Wed, Feb 13, 2013 at 6:44 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 remo

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

2013-02-14 Thread Jesse Gross
On Wed, Feb 13, 2013 at 6:44 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] [PATCHv2] Add support for LISP tunneling

2013-02-14 Thread Lorand Jakab -X (lojakab - M SQUARED CONSULTING INC. at Cisco)
On Feb 14, 2013, at 12:59 PM, Rajahalme, Jarno (NSN - FI/Espoo) wrote: > > On Feb 13, 2013, at 16:44 , 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 IP

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

2013-02-14 Thread Rajahalme, Jarno (NSN - FI/Espoo)
On Feb 13, 2013, at 16:44 , 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 (ntohs(skb->protocol)) { > + case ETH_

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

2013-02-13 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

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

2013-01-28 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