[PATCH v2] examples/l3fwd: dynamic NUMA-aware alloc lcore_conf

Stephen Hemminger stephen at networkplumber.org
Wed Jun 24 06:26:21 CEST 2026


On Wed, 24 Jun 2026 11:23:57 +0800
Chengwen Feng <fengchengwen at huawei.com> wrote:

> -extern struct lcore_conf lcore_conf[RTE_MAX_LCORE];
> +extern struct lcore_conf *lcore_conf[RTE_MAX_LCORE];
>  

Since almost no systems have that many cores. Why not allocate it dynamically
based on rte_lcore_count at runtime?


More information about the dev mailing list