Re: [vpp-dev] User-space TCP Stack

2017-08-09 Thread Florin Coras
Hi Stephen,

The goal is to have a complete userspace stack, i.e., a session layer 
accessible over VPP’s binary API, a transport layer, a POSIX-like wrapper 
library for interacting with the stack and a shared memory mechanism to pass 
data between apps and VPP. We have support for pluggable transports but the 
only one actively being developed right now is TCP. The wrapper library (VCL) 
will soon be published, but Keith can tell you more about it.

Florin 

> On Aug 9, 2017, at 7:55 AM, STEPHEN PETRIDES  
> wrote:
> 
> Hi All,
> 
> I came across this exchange 
> (https://www.mail-archive.com/vpp-dev@lists.fd.io/msg03112.html 
> ) in the 
> mailing list and wanted to learn more about what features of the stack are 
> available currently and what is still being developed.
> 
> For the internal/external apps mentioned, how do these work and what features 
> are currently supported?
> 
> For the wrapper library being developed, what will this look like? Will there 
> be an API or interface for endpoint applications?
> 
> Thank you.
> 
> -- 
> Stephen
> ___
> 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

Re: [vpp-dev] user space TCP stack

2017-08-07 Thread Florin Coras
Hi Hamid, 

Yes, we do have a userspace TCP stack but it is still under development. You 
can find examples of external apps here [1] and internal apps here [2, 3]. 

All of these use the binary api to interact with the session layer code. We’ll 
soon publish a wrapper library that should make interaction with the stack much 
easier. 

Regards, 
Florin

[1] https://git.fd.io/vpp/tree/src/uri/uri_tcp_test.c 

[2] https://git.fd.io/vpp/tree/src/vnet/tcp/builtin_server.c 

[3] https://git.fd.io/vpp/tree/src/vnet/tcp/builtin_client.c 


> On Aug 7, 2017, at 3:38 AM, kheirabadi  wrote:
> 
> ​Hi,
> I trying to use mTCP in my application but it is very primitive, for example 
> it permits only one epoll instance and does not have shutdown API equivalent. 
> Does VPP support user space TCP stack similar to mTCP? if so where is a 
> sample application using it?
> Thanks,
> hamid
> ___
> 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] user space TCP stack

2017-08-07 Thread kheirabadi

​Hi,
I trying to use mTCP in my application but it is very primitive, for example it 
permits only one epoll instance and does not have shutdown API equivalent. Does 
VPP support user space TCP stack similar to mTCP? if so where is a sample 
application using it?
Thanks,
hamid

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev