Hi Nikhil, 

If your client and server are attached to the same vpp instance, data/segments 
never make it into vpp. Instead, during the connect, after vpp detects that the 
two endpoints are both attached locally it sets up the session buffers (fifos) 
in a piece of shared memory that’s mapped by both peers (we call these 
cut-through sessions). At that point the exchange of data is nothing more than 
memcpy to/from the fifos. 

If you want to see packet pass through vpp, you’ll have to attach the client 
and the server to separate vpp instances that are connected by a network. 

Regards,
Florin

> On Nov 12, 2020, at 7:57 AM, nikhil subhedar <subhedarnik...@gmail.com> wrote:
> 
> [Edited Message Follows]
> 
> Hi All,
> 
> I am testing the VCL socket programs i.e. vcl_test_client and vcl_test_server 
> on ubuntu VM.
> 
> Just wanted to check that the TCP packets are sent by client to server are 
> they coming from TCP graph nodes? i have not observed this on VPPCTL. 
> Also when i saw the trace on VPPCTL, i haven not seen TCP packets.
> 
> Can anyone please shed some light on this?
> 
> Thanks in advance.
> 
> Regards,
> Nikhil 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18008): https://lists.fd.io/g/vpp-dev/message/18008
Mute This Topic: https://lists.fd.io/mt/78209273/21656
Mute #vpp:https://lists.fd.io/g/vpp-dev/mutehashtag/vpp
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