eal: limit telemetry to primary processes
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 14 Oct 2021 10:49:04 +0000 (11:49 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 14 Oct 2021 18:31:10 +0000 (20:31 +0200)
commite89463a36604c9fded482b0c1b066e90ef69d50f
treed5323a7df721caa2929a421181c406d36370f60a
parent7501968808432cebf6a07d9212ee6b1d9e275eea
eal: limit telemetry to primary processes

Telemetry interface should be exposed for primary processes only, since
secondary processes will conflict on socket creation, and since all
data in secondary process is generally available to primary. For
example, all device stats for ethdevs, cryptodevs, etc. will all be
common across processes.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Ciara Power <ciara.power@intel.com>
Tested-by: Conor Walsh <conor.walsh@intel.com>
lib/eal/freebsd/eal.c
lib/eal/linux/eal.c