[dpdk-dev] [PATCH 02/11] telemetry: add initial connection socket

Burakov, Anatoly anatoly.burakov at intel.com
Fri Sep 7 11:48:19 CEST 2018


On 23-Aug-18 1:08 PM, Ciara Power wrote:
> This patch adds the telemetry UNIX socket. It is used to
> allow connections from external clients.
> 
> On the initial connection from a client, ethdev stats are
> registered in the metrics library, to allow for their retrieval
> at a later stage.
> 
> Signed-off-by: Ciara Power <ciara.power at intel.com>
> Signed-off-by: Brian Archbold <brian.archbold at intel.com>
> ---

Quick question: is there really a need for a separate thread? Can't you 
just register the socket as an interrupt, and just get a callback when 
something arrives? IPC works like that right now, i see no reason to not 
do it this way for telemetry?

-- 
Thanks,
Anatoly


More information about the dev mailing list