[PATCH] eal/freebsd: fix use of newer CPU_* macros

Gao, DaxueX daxuex.gao at intel.com
Tue May 24 08:50:35 CEST 2022


> -----Original Message-----
> From: Bruce Richardson <bruce.richardson at intel.com>
> Sent: 2022年5月21日 2:11
> To: dev at dpdk.org
> Cc: David Marchand <david.marchand at redhat.com>; stable at dpdk.org;
> Richardson, Bruce <bruce.richardson at intel.com>
> Subject: [PATCH] eal/freebsd: fix use of newer CPU_* macros
> 
> From: David Marchand <david.marchand at redhat.com>
> 
> 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=e2650af157bc7489deaf2c9054995f0f8
> 8a6e5da
> 
> Fixes: c3568ea37670 ("eal: restrict control threads to startup CPU affinity")
> Fixes: b6be16acfeb1 ("eal: fix control thread affinity with --lcores") Bugzilla ID:
> 1014
> CC: stable at dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
Tested-by: Daxue Gao <daxuex.gao at intel.com>


More information about the stable mailing list