numam-dpdk/lib/eal/linux
Bruce Richardson ce382fdddb eal: create runtime dir even when shared data is not used
When multi-process is not wanted and DPDK is run with the "no-shconf"
flag, the telemetry library still needs a runtime directory to place the
unix socket for telemetry connections. Therefore, rather than not
creating the directory when this flag is set, we can change the code to
attempt the creation anyway, but not error out if it fails. If it
succeeds, then telemetry will be available, but if it fails, the rest of
DPDK will run without telemetry. This ensures that the "in-memory" flag
will allow DPDK to run even if the whole filesystem is read-only, for
example.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Morten Brørup <mb@smartsharesystems.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
2021-07-07 15:23:09 +02:00
..
include
eal_alarm.c
eal_cpuflags.c
eal_debug.c
eal_dev.c
eal_hugepage_info.c
eal_interrupts.c
eal_lcore.c
eal_log.c
eal_memalloc.c
eal_memory.c
eal_thread.c
eal_timer.c
eal_vfio_mp_sync.c
eal_vfio.c
eal_vfio.h
eal.c
meson.build