[PATCH] config/x86: config support for AMD EPYC processors

Morten Brørup mb at smartsharesystems.com
Wed Dec 20 08:27:41 CET 2023


> From: Sivaprasad Tummala [mailto:sivaprasad.tummala at amd.com]
> Sent: Wednesday, 20 December 2023 08.11
> 
> On x86 platforms, max lcores are limited to 128 by default.
> 
> On AMD EPYC processors, this limit was adjusted for native
> builds in the previous patch.
> https://patches.dpdk.org/project/dpdk/patch/
> 20230925151027.558546-1-sivaprasad.tummala at amd.com/
> 
> As agreed earlier in mailing list, this patch adjusts the limit
> for specific AMD EPYC target/cross builds.
> 
> Signed-off-by: Sivaprasad Tummala <sivaprasad.tummala at amd.com>
> ---

[...]

> +    foreach m:epyc_zen_cores.keys()
> +        if m.contains(cpu_instruction_set)
> +            dpdk_conf.set('RTE_MAX_LCORE', epyc_zen_cores[m])
> +	    break

The indentation of "break" uses a mix of tab and spaces, and should be fixed.

Acked-by: Morten Brørup <mb at smartsharesystems.com>



More information about the dev mailing list