02/11/2021 15:52, Aman Kumar: > -Dcpu_instruction_set=znverX meson option can be used > to build dpdk for AMD platforms. Supported options are > znver1, znver2 and znver3. > > Signed-off-by: Aman Kumar <aman.ku...@vvdntech.in> > --- > +# AMD platform support > +if get_option('cpu_instruction_set') == 'znver1' > + dpdk_conf.set('RTE_MAX_LCORE', 256) > +elif get_option('cpu_instruction_set') == 'znver2' > + dpdk_conf.set('RTE_MAX_LCORE', 512) > +elif get_option('cpu_instruction_set') == 'znver3' > + dpdk_conf.set('RTE_MAX_LCORE', 512) > +endif
Ideally we should try getting rid of this config and make all structs depending on max lcores allocated dynamically. I think it may be an interesting target for next year 22.11 release. About the patch itself, I am OK to merge it in 21.11-rc2.