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

David Marchand david.marchand at redhat.com
Tue May 24 12:37:19 CEST 2022


On Tue, May 24, 2022 at 8:50 AM Gao, DaxueX <daxuex.gao at intel.com> wrote:
> > 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
> >
> > Bugzilla ID: 1014
> > Fixes: c3568ea37670 ("eal: restrict control threads to startup CPU affinity")
> > Fixes: b6be16acfeb1 ("eal: fix control thread affinity with --lcores")
> > 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>

Applied, thanks Bruce.


-- 
David Marchand



More information about the stable mailing list