numam-dpdk/lib
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
..
acl acl: add missing C++ guards 2022-02-22 14:47:49 +01:00
bbdev lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
bitratestats bitrate: promote free function to stable 2021-10-01 15:31:47 +02:00
bpf bpf: fix build with some libpcap version on FreeBSD 2022-03-14 11:41:52 +01:00
cfgfile version: 21.11-rc0 2021-08-17 08:37:52 +02:00
cmdline lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
compressdev compressdev: fix missing space in log macro 2022-03-15 02:13:57 +01:00
cryptodev cryptodev: fix clang C++ include 2022-03-15 02:14:27 +01:00
distributor distributor: fix potential overflow 2022-02-27 19:06:59 +01:00
dmadev dmadev: add missing header include 2022-02-22 14:47:41 +01:00
eal eal/freebsd: fix use of newer cpuset macros 2022-05-24 12:48:11 +02:00
efd efd: fix uninitialized structure 2022-02-27 18:58:47 +01:00
ethdev ethdev: fix RSS update when RSS is disabled 2022-05-12 15:49:57 +02:00
eventdev eventdev: add weight and affinity to queue attributes 2022-05-17 16:43:44 +02:00
fib lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
flow_classify lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
gpudev gpudev: fix page alignment in communication list 2022-03-09 00:14:55 +01:00
graph graph: remove useless duplicate name check 2022-03-07 20:31:14 +01:00
gro lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
gso mbuf: add namespace to offload flags 2021-10-24 13:37:43 +02:00
hash hash: unify CRC32 selection for x86 and Arm 2022-05-19 10:00:51 -04:00
ip_frag lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
ipsec lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
jobstats lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
kni kni: add missing C++ guards 2022-02-22 14:47:49 +01:00
kvargs lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
latencystats lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
lpm lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
mbuf lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
member lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
mempool lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
meter version: 21.11-rc0 2021-08-17 08:37:52 +02:00
metrics metrics: add missing C++ guards 2022-02-22 14:47:49 +01:00
net lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
node lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
pcapng pcapng: handle failure of link status query 2022-03-08 09:19:40 +01:00
pci lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
pdump lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
pipeline lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
port lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
power lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rawdev lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rcu lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
regexdev build: hide local symbols in shared libraries 2022-03-08 15:22:33 +01:00
reorder lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
rib lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
ring lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
sched sched: remove useless malloc in PIE data init 2022-03-07 19:34:24 +01:00
security security: fix SA lifetime comments 2022-04-28 09:26:48 +02:00
stack lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
table lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
telemetry telemetry: add missing C++ guards 2022-02-22 14:47:49 +01:00
timer lib: remove unneeded header includes 2022-02-22 13:10:39 +01:00
vhost vhost: fix missing virtqueue lock protection 2022-05-09 21:39:58 +02:00
meson.build buildtools/chkincs: check SDK headers for C++ compatibility 2022-02-22 14:47:49 +01:00