25/09/2023 17:10, Sivaprasad Tummala: > From: Sivaprasad Tummala <sivaprasad.tumm...@amd.com> > > By default, max lcores are limited to 128 for x86 platforms. > On AMD EPYC processors, this limit needs to be increased to > leverage all the cores. > > The patch adjusts the limit specifically for native compilation > on AMD EPYC CPUs. > > Signed-off-by: Sivaprasad Tummala <sivaprasad.tumm...@amd.com> > --- > +epyc_zen_cores = { > + '__znver4__':512, > + '__znver3__':256, > + '__znver2__':256, > + '__znver1__':128 > + } > + > +if get_option('platform') == 'native' > + foreach m:epyc_zen_cores.keys() > + if cc.get_define(m, args: machine_args) != '' > + dpdk_conf.set('RTE_MAX_LCORE', epyc_zen_cores[m]) > + break > + endif > + endforeach > +endif
Acked-by: Konstantin Ananyev <konstantin.anan...@huawei.com> Acked-by: Morten Brørup <m...@smartsharesystems.com> Agreed in techboard: https://mails.dpdk.org/archives/dev/2023-October/279672.html) Applied, thanks.