> -----Original Message-----
> From: Bruce Richardson <bruce.richard...@intel.com>
> Sent: 2022年5月21日 2:11
> To: dev@dpdk.org
> Cc: David Marchand <david.march...@redhat.com>; sta...@dpdk.org;
> Richardson, Bruce <bruce.richard...@intel.com>
> Subject: [PATCH] eal/freebsd: fix use of newer CPU_* macros
> 
> From: David Marchand <david.march...@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: sta...@dpdk.org
> 
> Signed-off-by: David Marchand <david.march...@redhat.com>
> Signed-off-by: Bruce Richardson <bruce.richard...@intel.com>
> ---
Tested-by: Daxue Gao <daxuex....@intel.com>

Reply via email to