numam-dpdk/lib/eal/freebsd
Bruce Richardson 47a4f2650c eal/freebsd: lock memory device to prevent conflicts
Only a single DPDK process on the system can be using the /dev/contigmem
mappings at a time, but this was never explicitly enforced, e.g. when
using --in-memory flag on two processes. To prevent possible conflict
issues, we lock the dev node when it's in use, preventing other DPDK
processes from starting up and causing problems for us.

Fixes: 764bf26873 ("add FreeBSD support")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
2021-10-02 16:30:16 +02:00
..
include eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
eal_alarm_private.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_alarm.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_cpuflags.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_debug.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_dev.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_hugepage_info.c eal/freebsd: lock memory device to prevent conflicts 2021-10-02 16:30:16 +02:00
eal_interrupts.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_lcore.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_memalloc.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_memory.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_thread.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_timer.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal.c eal: create runtime dir even when shared data is not used 2021-07-07 15:23:09 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00