Hi Anurag, 

Inline.

> On Jan 19, 2021, at 11:54 PM, anurag.bhumc...@hotmail.com wrote:
> 
> Hi All,
> 
> I have few queries related to VPP Host TCP stack:
> 1. Can we use only VPP TCP stack(L4 layer) only and disable L2/L3. If not 
> what is its advantage of TLDK or similar stacks.

Not sure I follow the question. The whole point of having a host stack is to be 
able to terminate transport protocols (e.g., tcp, udp, tls, quic) within vpp, 
and to provide the result (i.e., byte streams or dgrams) to vpp internal or 
external applications. L2-L3 processing is offloaded to other vpp components 
(both ingress and egress).

> 2. VPP TCP Stack does Batch process. Can VPP TCP Stack also do event based 
> processing?

For internal applications, io/ctrl notifications are delivered via callback 
functions while for external applications, they are delivered via a shared 
memory infrastructure. If you’re interested in things like epoll, that latter 
can be “consumed" in a posix-like fashion using vcl (vppcoms library). More 
here[1].

Regards,
Florin

[1] https://wiki.fd.io/images/9/9c/Vpp-hoststack-kc-eu19.pdf 
<https://wiki.fd.io/images/9/9c/Vpp-hoststack-kc-eu19.pdf>

> 
> Regards
> Anurag 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18561): https://lists.fd.io/g/vpp-dev/message/18561
Mute This Topic: https://lists.fd.io/mt/79974263/21656
Mute #vppwithoutdpdk:https://lists.fd.io/g/vpp-dev/mutehashtag/vppwithoutdpdk
Mute #vpp-hoststack:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-hoststack
Mute #hoststack:https://lists.fd.io/g/vpp-dev/mutehashtag/hoststack
Mute #vppcom:https://lists.fd.io/g/vpp-dev/mutehashtag/vppcom
Mute #vpp-dev:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp-dev
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to