Hi Sastry,
Few of the session layer apis are executed on main thread (some ctrl messages,
i.e., listen, connect) but most are executed on workers. Also, the binary apis
is one of the two options applications/vcl have to attach to vpp. Those are not
used to exchange data or ctrl/io events.
Re
Hi Florin,
Sorry for confusing. My point is, whatever we send through VCL APIs, those APIs
execution at VPP inside session layer is at main thread? I assume its executed
at main thread.
Is there anyway we can run the session layer execution for VCL APIs at worker
thread?
I know memif, af_packe
Hi Sastry,
VCL is a library applications link against to consume the session layer in vpp
via apis that are posix-like. So vcl is executed within the application’s
context. As for data exchanges between vcl and vpp, those are done without a
worker barrier.
Regards,
Florin
> On Jul 22, 2021
Hi Florin,
Is it that VCL is going to be executed in the context of main thread as its
being connected to VPP main.
Do you see any issue with thread barrier if I send huge data? I know it is
going to impact.
With Regards
Sastry
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to th
Hi Sastry,
Inline.
> On May 25, 2021, at 7:44 AM, Sastry Sista wrote:
>
> 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. S
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
Hi Sastry,
Inline.
> On May 21, 2021, at 11:22 AM, Sastry Sista wrote:
>
> Hi Florin,
> Gone through your old mails on eventfd of mq and given me decent
> inputs.
> vppcom_mq_epoll_fd() is returning mq_epfd which I can use for my app dispatch
> linux epoll. But, My concern is, Can I
Hi Florin,
Gone through your old mails on eventfd of mq and given me decent inputs.
vppcom_mq_epoll_fd() is returning mq_epfd which I can use for my app dispatch
linux epoll. But, My concern is, Can I use this mq_epfd for all my TCP sessions
i.e single mq for multiple TCP sessions? I have single