[Edited Message Follows]

Hi Florin,
I found the root cause of that crash. Its due to session token. If I have 
session{  xxx...}, VPP crashes as we are always expecting a space session token 
and "{ " . May be this problem is common for all tokens.
Regarding my TCP session, I have session is up and could send data over it. I 
am wondering how to make this fd returned by vppcom_session_create() is just a 
mapping pool table ID for this VCL session. Also this fd/sh always starts with 
0 and continue based on number of TCP sessions from same worker. So, I am not 
sure if I can rely on this fd/sh for linux poll. My dispatch loop is part of 
separate and I just need to integrate this VCL app logic to my bigger logic 
where we have common dispatch loop. We have basic epoll() and I can not use LDP 
as it can not fit into our framework.

So, I am using socket and shared memory clients one for binary APIs and shared 
mem client for tx/rx data.

So, how do I get proper fd from VCL which I can add to my framework dispatcher. 
vppcom_epoll_create()  is returning fd but, I am not sure if I can directly add 
it to my unix epoll?

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