Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-24 Thread Jesse Gross
On Fri, Apr 24, 2015 at 11:25 AM, Pravin Shelar wrote: > On Thu, Apr 23, 2015 at 12:11 PM, Pravin Shelar wrote: >> On Thu, Apr 23, 2015 at 11:55 AM, Jesse Gross wrote: >> >>> I'm a little nervous about orphaning the packets in this case since it >>> can potentially affect socket accounting and f

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-24 Thread Pravin Shelar
On Thu, Apr 23, 2015 at 12:11 PM, Pravin Shelar wrote: > On Thu, Apr 23, 2015 at 11:55 AM, Jesse Gross wrote: > >> I'm a little nervous about orphaning the packets in this case since it >> can potentially affect socket accounting and from a high level, >> there's no logical reason to do so (i.e.

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-23 Thread Pravin Shelar
On Thu, Apr 23, 2015 at 11:55 AM, Jesse Gross wrote: > On Wed, Apr 22, 2015 at 8:55 PM, Pravin Shelar wrote: >> On Wed, Apr 22, 2015 at 8:50 PM, Jesse Gross wrote: >>> On Wed, Apr 22, 2015 at 8:37 PM, Pravin Shelar wrote: On Wed, Apr 22, 2015 at 8:29 PM, Jesse Gross wrote: > On Wed, A

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-23 Thread Jesse Gross
On Wed, Apr 22, 2015 at 8:55 PM, Pravin Shelar wrote: > On Wed, Apr 22, 2015 at 8:50 PM, Jesse Gross wrote: >> On Wed, Apr 22, 2015 at 8:37 PM, Pravin Shelar wrote: >>> On Wed, Apr 22, 2015 at 8:29 PM, Jesse Gross wrote: On Wed, Apr 22, 2015 at 8:22 PM, Pravin Shelar wrote: > On Wed,

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Pravin Shelar
On Wed, Apr 22, 2015 at 8:50 PM, Jesse Gross wrote: > On Wed, Apr 22, 2015 at 8:37 PM, Pravin Shelar wrote: >> On Wed, Apr 22, 2015 at 8:29 PM, Jesse Gross wrote: >>> On Wed, Apr 22, 2015 at 8:22 PM, Pravin Shelar wrote: On Wed, Apr 22, 2015 at 7:48 PM, Jesse Gross wrote: > On Wed, Ap

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Jesse Gross
On Wed, Apr 22, 2015 at 8:37 PM, Pravin Shelar wrote: > On Wed, Apr 22, 2015 at 8:29 PM, Jesse Gross wrote: >> On Wed, Apr 22, 2015 at 8:22 PM, Pravin Shelar wrote: >>> On Wed, Apr 22, 2015 at 7:48 PM, Jesse Gross wrote: On Wed, Apr 22, 2015 at 3:38 PM, Pravin Shelar wrote: > On Wed,

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Pravin Shelar
On Wed, Apr 22, 2015 at 8:29 PM, Jesse Gross wrote: > On Wed, Apr 22, 2015 at 8:22 PM, Pravin Shelar wrote: >> On Wed, Apr 22, 2015 at 7:48 PM, Jesse Gross wrote: >>> On Wed, Apr 22, 2015 at 3:38 PM, Pravin Shelar wrote: On Wed, Apr 22, 2015 at 3:24 PM, Jesse Gross wrote: > On Wed, Ap

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Jesse Gross
On Wed, Apr 22, 2015 at 8:22 PM, Pravin Shelar wrote: > On Wed, Apr 22, 2015 at 7:48 PM, Jesse Gross wrote: >> On Wed, Apr 22, 2015 at 3:38 PM, Pravin Shelar wrote: >>> On Wed, Apr 22, 2015 at 3:24 PM, Jesse Gross wrote: On Wed, Apr 22, 2015 at 3:19 PM, Pravin Shelar wrote: > On Wed,

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Pravin Shelar
On Wed, Apr 22, 2015 at 7:48 PM, Jesse Gross wrote: > On Wed, Apr 22, 2015 at 3:38 PM, Pravin Shelar wrote: >> On Wed, Apr 22, 2015 at 3:24 PM, Jesse Gross wrote: >>> On Wed, Apr 22, 2015 at 3:19 PM, Pravin Shelar wrote: On Wed, Apr 22, 2015 at 11:31 AM, Jesse Gross wrote: > On Wed, A

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Jesse Gross
On Wed, Apr 22, 2015 at 3:38 PM, Pravin Shelar wrote: > On Wed, Apr 22, 2015 at 3:24 PM, Jesse Gross wrote: >> On Wed, Apr 22, 2015 at 3:19 PM, Pravin Shelar wrote: >>> On Wed, Apr 22, 2015 at 11:31 AM, Jesse Gross wrote: On Wed, Apr 22, 2015 at 11:09 AM, Pravin Shelar wrote: > On Wed

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Pravin Shelar
On Wed, Apr 22, 2015 at 3:24 PM, Jesse Gross wrote: > On Wed, Apr 22, 2015 at 3:19 PM, Pravin Shelar wrote: >> On Wed, Apr 22, 2015 at 11:31 AM, Jesse Gross wrote: >>> On Wed, Apr 22, 2015 at 11:09 AM, Pravin Shelar wrote: On Wed, Apr 22, 2015 at 10:52 AM, Jesse Gross wrote: > On Wed,

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Jesse Gross
On Wed, Apr 22, 2015 at 3:19 PM, Pravin Shelar wrote: > On Wed, Apr 22, 2015 at 11:31 AM, Jesse Gross wrote: >> On Wed, Apr 22, 2015 at 11:09 AM, Pravin Shelar wrote: >>> On Wed, Apr 22, 2015 at 10:52 AM, Jesse Gross wrote: On Wed, Apr 22, 2015 at 10:03 AM, Pravin Shelar wrote: > On M

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Pravin Shelar
On Wed, Apr 22, 2015 at 11:31 AM, Jesse Gross wrote: > On Wed, Apr 22, 2015 at 11:09 AM, Pravin Shelar wrote: >> On Wed, Apr 22, 2015 at 10:52 AM, Jesse Gross wrote: >>> On Wed, Apr 22, 2015 at 10:03 AM, Pravin Shelar wrote: On Mon, Apr 20, 2015 at 9:54 PM, Jesse Gross wrote: > On Mon

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Jesse Gross
On Wed, Apr 22, 2015 at 11:09 AM, Pravin Shelar wrote: > On Wed, Apr 22, 2015 at 10:52 AM, Jesse Gross wrote: >> On Wed, Apr 22, 2015 at 10:03 AM, Pravin Shelar wrote: >>> On Mon, Apr 20, 2015 at 9:54 PM, Jesse Gross wrote: On Mon, Apr 20, 2015 at 7:33 PM, Pravin Shelar wrote: > On Mo

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Pravin Shelar
On Wed, Apr 22, 2015 at 10:52 AM, Jesse Gross wrote: > On Wed, Apr 22, 2015 at 10:03 AM, Pravin Shelar wrote: >> On Mon, Apr 20, 2015 at 9:54 PM, Jesse Gross wrote: >>> On Mon, Apr 20, 2015 at 7:33 PM, Pravin Shelar wrote: On Mon, Apr 20, 2015 at 5:56 PM, Jesse Gross wrote: > On Mon,

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Jesse Gross
On Wed, Apr 22, 2015 at 10:03 AM, Pravin Shelar wrote: > On Mon, Apr 20, 2015 at 9:54 PM, Jesse Gross wrote: >> On Mon, Apr 20, 2015 at 7:33 PM, Pravin Shelar wrote: >>> On Mon, Apr 20, 2015 at 5:56 PM, Jesse Gross wrote: On Mon, Apr 20, 2015 at 3:54 PM, Pravin Shelar wrote: > On Mon,

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-22 Thread Pravin Shelar
On Mon, Apr 20, 2015 at 9:54 PM, Jesse Gross wrote: > On Mon, Apr 20, 2015 at 7:33 PM, Pravin Shelar wrote: >> On Mon, Apr 20, 2015 at 5:56 PM, Jesse Gross wrote: >>> On Mon, Apr 20, 2015 at 3:54 PM, Pravin Shelar wrote: On Mon, Apr 20, 2015 at 3:36 PM, Jesse Gross wrote: > On Mon, Ap

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-20 Thread Jesse Gross
On Mon, Apr 20, 2015 at 7:33 PM, Pravin Shelar wrote: > On Mon, Apr 20, 2015 at 5:56 PM, Jesse Gross wrote: >> On Mon, Apr 20, 2015 at 3:54 PM, Pravin Shelar wrote: >>> On Mon, Apr 20, 2015 at 3:36 PM, Jesse Gross wrote: On Mon, Apr 20, 2015 at 1:29 PM, Pravin B Shelar wrote: >

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-20 Thread Pravin Shelar
On Mon, Apr 20, 2015 at 5:56 PM, Jesse Gross wrote: > On Mon, Apr 20, 2015 at 3:54 PM, Pravin Shelar wrote: >> On Mon, Apr 20, 2015 at 3:36 PM, Jesse Gross wrote: >>> On Mon, Apr 20, 2015 at 1:29 PM, Pravin B Shelar wrote: diff --git a/datapath/linux/compat/stt.c b/datapath/linux/compat/st

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-20 Thread Jesse Gross
On Mon, Apr 20, 2015 at 3:54 PM, Pravin Shelar wrote: > On Mon, Apr 20, 2015 at 3:36 PM, Jesse Gross wrote: >> On Mon, Apr 20, 2015 at 1:29 PM, Pravin B Shelar wrote: >>> diff --git a/datapath/linux/compat/stt.c b/datapath/linux/compat/stt.c >>> new file mode 100644 >>> index 000..209bf1a >>

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-20 Thread Pravin Shelar
On Mon, Apr 20, 2015 at 3:36 PM, Jesse Gross wrote: > On Mon, Apr 20, 2015 at 1:29 PM, Pravin B Shelar wrote: >> diff --git a/datapath/linux/compat/stt.c b/datapath/linux/compat/stt.c >> new file mode 100644 >> index 000..209bf1a >> --- /dev/null >> +++ b/datapath/linux/compat/stt.c >> +stati

Re: [ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-20 Thread Jesse Gross
On Mon, Apr 20, 2015 at 1:29 PM, Pravin B Shelar wrote: > diff --git a/datapath/linux/compat/stt.c b/datapath/linux/compat/stt.c > new file mode 100644 > index 000..209bf1a > --- /dev/null > +++ b/datapath/linux/compat/stt.c > +static void update_headers(struct sk_buff *skb, bool head, > +

[ovs-dev] [PATCH v7] datapath: Add Stateless TCP Tunneling protocol.

2015-04-20 Thread Pravin B Shelar
The Stateless TCP Tunnel (STT) protocol encapsulates traffic in IPv4/TCP packets. STT uses TCP segmentation offload available in most of NIC. On packet xmit STT driver appends STT header along with TCP header to the packet. For GSO packet GSO parameters are set according to tunnel configuration and