numam-dpdk/lib/eal
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
..
arm config/arm: fix SVE build with GCC 8.3 2021-07-09 22:25:24 +02:00
common eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
freebsd eal/freebsd: lock memory device to prevent conflicts 2021-10-02 16:30:16 +02:00
include log: promote some function to stable 2021-10-02 11:12:32 +02:00
linux eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
ppc eal/ppc: ignore GCC 10 stringop-overflow warnings 2021-09-13 09:18:06 +02:00
unix eal: handle compressed firmware 2021-07-07 16:41:53 +02:00
windows eal: remove sys/queue.h from public headers 2021-10-01 13:09:43 +02:00
x86 eal: add power monitor for multiple events 2021-07-09 21:13:13 +02:00
meson.build lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
version.map log: promote some function to stable 2021-10-02 11:12:32 +02:00