Thank you Dave.
Will import this patch and try.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14597): https://lists.fd.io/g/vpp-dev/message/14597
Mute This Topic: https://lists.fd.io/mt/55586364/21656
Group Owner: vpp-
Please take a look at https://gerrit.fd.io/r/c/vpp/+/23427.
From: vpp-dev@lists.fd.io On Behalf Of Satya Murthy
Sent: Wednesday, November 13, 2019 8:24 PM
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] fd to poll in VPP-API-CLIENT with no RX thread
Thanks a lot Dave for offering the help.
The
Thanks a lot Dave for offering the help.
The change would be of great help for us.
Please let us know, once you have a patch, so that we can selectively take that
patch and import.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply
, instead of the default function.
If you’re interested, I can make those changes.
FWIW... Dave
From: vpp-dev@lists.fd.io On Behalf Of Satya Murthy
Sent: Wednesday, November 13, 2019 8:43 AM
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] fd to poll in VPP-API-CLIENT with no RX thread
Thanks Dave for
Thanks Ole for the response.
We will weigh between performance of "unix domain sockets" vs "lock contention
with rx thread" approached and go accordingly.
--
Thanks & Regards,
Murthy
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14585): https://l
Satya,
> Main problem we are seeing with having RX thread is:
>
> 1) Our application sends VPP-API-request in main thread and stores the
> Request and context information in a list
> 2) If the response comes in the RX thread, we need to access the context
> information list in this thread which
Thanks Dave for the quick reply.
Main problem we are seeing with having RX thread is:
1) Our application sends VPP-API-request in main thread and stores the Request
and context information in a list
2) If the response comes in the RX thread, we need to access the context
information list in thi
against creating an rx pthread in the usual way? You could,
for example, use it to pop an eventfd local to your application...
D.
From: vpp-dev@lists.fd.io On Behalf Of Satya Murthy
Sent: Wednesday, November 13, 2019 4:31 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] fd to poll in VPP-API-CLIENT with
Hi,
We are trying to come up with VPP-API-CLIENT module that has no special RX
thread.
As we dont have no RX thread, we are planning to read messages from shared
memory from our main dispatcher.
To do this, we want to poll on an FD to check if any message arrived in the SHM
queue.
I was looking