numam-dpdk/lib/eal/freebsd
David Marchand 2f51bc9c27 eal/freebsd: fix use of newer cpuset macros
FreeBSD has updated its CPU macros to align more with the definitions
used on Linux[1]. Unfortunately, while this makes compatibility better
in future, it means we need to have both legacy and newer definition
support. Use a meson check to determine which set of macros are used.

[1] https://cgit.freebsd.org/src/commit/?id=e2650af157bc

Bugzilla ID: 1014
Fixes: c3568ea376 ("eal: restrict control threads to startup CPU affinity")
Fixes: b6be16acfe ("eal: fix control thread affinity with --lcores")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Tested-by: Daxue Gao <daxuex.gao@intel.com>
2022-05-24 12:48:11 +02:00
..
include eal/freebsd: fix use of newer cpuset macros 2022-05-24 12:48:11 +02:00
eal_alarm_private.h lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal_alarm.c alarm: remove direct access to interrupt handle 2021-10-25 21:20:12 +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 fix spelling in comments and strings 2022-01-11 12:16:53 +01: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 mem: skip attaching external memory in secondary process 2022-04-28 13:44:13 +02:00
eal_thread.c eal: factorize lcore main loop 2022-04-14 13:59:50 +02:00
eal_timer.c lib: remove librte_ prefix from directory names 2021-04-21 14:04:09 +02:00
eal.c eal: factorize lcore main loop 2022-04-14 13:59:50 +02:00
meson.build eal/freebsd: fix use of newer cpuset macros 2022-05-24 12:48:11 +02:00