> -----Original Message-----
> From: Bruce Richardson <[email protected]>
> Sent: 2022年5月21日 2:11
> To: [email protected]
> Cc: David Marchand <[email protected]>; [email protected];
> Richardson, Bruce <[email protected]>
> Subject: [PATCH] eal/freebsd: fix use of newer CPU_* macros
> 
> From: David Marchand <[email protected]>
> 
> 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: [email protected]
> 
> Signed-off-by: David Marchand <[email protected]>
> Signed-off-by: Bruce Richardson <[email protected]>
> ---
Tested-by: Daxue Gao <[email protected]>

Reply via email to