Hi Florin,
Thank you.

Let me be very specific and focused topic:

I have just single worker but having multiple TCP sessions. So, I will poll on 
vppcom_mq_epoll_fd() for all notifications. So, notifications are for me to do 
data read/write also? If there is a data on shm for any session, we will get 
notification on mq and I need to check which session_handle I got this event 
for and I need to get data on shm using session_handle ?

My question is, once EPOLLIN happened on mq and we get mq_event but, how do I 
map it to session_handle if I have many session_handles?

anyway vppcom_session_read(session_handle,....) === this gives me data for that 
TCP session.

I hope that we do not need epoll_ctl APIs?

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