Shiv, 

To clarify, the stack has no name per se. We just refer to the transport and 
session layers part of vnet as “vpp’s host stack”. On top of the the session 
layer we run VCL, a wrapper library that offers more posix-like APIs for app's 
consumption as opposed to the raw, vpp specific, APIs the session layer offers. 
As transport protocols, we now support TCP and UDP and there’s ongoing work 
from Marco to implement SCTP. 

Furthermore, the TCP/UDP implementation from vnet are completely independent 
from TLDK. The two were developed in parallel but unfortunately I can’t speak 
to the differences between them since I’m only familiar with the code part of 
vnet. 

Regards, 
Florin

> On Dec 21, 2017, at 3:52 AM, Shiv Dev <shivfs...@gmail.com> wrote:
> 
> Why would the TLDK be needed if the VCL is already available ? Are there any 
> improvements (perf / features) in TLDK ? 
> 
>  Also,  which release is TLDK is targeted for ?
> 
> Regards,
> Shiv
> 
> On Thu, Dec 21, 2017 at 1:04 PM, Pierre Pfister (ppfister) 
> <ppfis...@cisco.com <mailto:ppfis...@cisco.com>> wrote:
> Hello,
> 
> VPP's user-space TCP stack is called VCL (VPP Communication Library).
> https://wiki.fd.io/view/VPP/VPPCommunicationsLibrary 
> <https://wiki.fd.io/view/VPP/VPPCommunicationsLibrary>
> 
> - Pierre
> 
> 
>> Le 21 déc. 2017 à 07:19, satish karunanithi <satish.f...@gmail.com 
>> <mailto:satish.f...@gmail.com>> a écrit :
>> 
>> Hi,
>> 
>> I see there is a tcp module under vnet which does all the tcp stuffs syn/syn 
>> ack/windowing etc.. 
>> May i know why you feel this cannot be used as user mode TCP stack? Am i 
>> missing something here?
>> 
>> Thanks & Regards,
>> Satish.
>> 
>> 
>> On Thu, Dec 21, 2017 at 10:32 AM, Jim Thompson <j...@netgate.com 
>> <mailto:j...@netgate.com>> wrote:
>> 
>> 
>> On Dec 20, 2017, at 10:21 PM, Shiv Dev <shivfs...@gmail.com 
>> <mailto:shivfs...@gmail.com>> wrote:
>> 
>>> Hi VPP Team,
>>> 
>>>   Is there a user mode TCP stack available as part of VPP ?
>> 
>> https://gerrit.fd.io/r/gitweb?p=tldk.git;a=summary 
>> <https://gerrit.fd.io/r/gitweb?p=tldk.git;a=summary>
>> 
>> “The TLDK (Transport Layer Development Kit) project will implement a set of 
>> libraries for L4 protocol processing (UDP, TCP etc.) and VPP graph nodes, 
>> plugins, etc using those libraries to implement a host stack.”
>> 
>>>    I did see somewhere that there is no user mode stack available as part 
>>> of VPP, and some folks use mTCP..
>> 
>> No idea.  See above.  There was also some work to bolt in libuinet via 
>> netmap. 
>> 
>> Jim
>> 
>> _______________________________________________
>> vpp-dev mailing list
>> vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>
>> https://lists.fd.io/mailman/listinfo/vpp-dev 
>> <https://lists.fd.io/mailman/listinfo/vpp-dev>
>> 
>> _______________________________________________
>> vpp-dev mailing list
>> vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>
>> https://lists.fd.io/mailman/listinfo/vpp-dev 
>> <https://lists.fd.io/mailman/listinfo/vpp-dev>
> 
> _______________________________________________
> vpp-dev mailing list
> vpp-dev@lists.fd.io <mailto:vpp-dev@lists.fd.io>
> https://lists.fd.io/mailman/listinfo/vpp-dev 
> <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 mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Reply via email to