Re: [vpp-dev] how to punt a specific TCP flow into linux kernel?

2017-12-20 Thread Vijay Katamreddy (vkatamre)
Hi

One of the way I see as follows:

With the recent changes I rolled up, all the TCP Packets not handled in VPP’s 
TCP stack would be punted via IP4/6_punt path.
In the punt path, you could configure such that ip4/6_punt traffic to a 
specific Next hop/Interface.

Thanks
Vijay

From:  on behalf of lin huang 
Date: Wednesday, December 20, 2017 at 7:02 AM
To: "vpp-dev@lists.fd.io" 
Subject: [vpp-dev] how to punt a specific TCP flow into linux kernel?

Hi all
 I want to punt a specific TCP flow into linux kernel. and there will 
be an application which receive the packets.
So, how can I solve this problem?? Is there a demo for me???
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] how to punt a specific TCP flow into linux kernel?

2017-12-20 Thread Florin Coras
Hi Lin, 

You can punt all tcp traffic without state in the stack with "set punt tcp”. 
You’ll also have to enable the session layer for that to work with “session 
enable”. Finally, the simplest way to get the traffic into linux is to add to 
vpp’s startup.conf tuntap { enable }.

Hope this helps, 
Florin

> On Dec 20, 2017, at 4:01 AM, lin huang  wrote:
> 
> Hi all
>  I want to punt a specific TCP flow into linux kernel. and there will 
> be an application which receive the packets.
> So, how can I solve this problem?? Is there a demo for me???
> ___
> vpp-dev mailing list
> vpp-dev@lists.fd.io 
> https://lists.fd.io/mailman/listinfo/vpp-dev 
> 
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] how to punt a specific TCP flow into linux kernel?

2017-12-20 Thread lin huang
Hi all
 I want to punt a specific TCP flow into linux kernel. and there will 
be an application which receive the packets.
So, how can I solve this problem?? Is there a demo for me???
___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev