[PATCH] eal: warn if no lcore is available
Thomas Monjalon
thomas at monjalon.net
Sun Jun 8 21:46:22 CEST 2025
08/05/2025 13:23, Burakov, Anatoly:
> On 5/8/2025 7:19 AM, David Marchand wrote:
> > On systems with more cpu than RTE_MAX_LCORE, starting DPDK with
> > cores >= RTE_MAX_LCORE ends up with an ambiguous error log.
> >
> > Example with RTE_MAX_LCORE=8:
> > $ taskset -c 8 ./build/app/dpdk-testpmd
> > EAL: Detected CPU lcores: 8
> > EAL: Detected NUMA nodes: 1
> > EAL: Invalid 'command line' arguments.
> > EAL: Error - exiting with code: 1
> > Cannot init EAL: Invalid argument
> >
> > Add a better hint to help the user.
> >
> > Fixes: 2eba8d21f3c9 ("eal: restrict cores auto detection")
> > Cc: stable at dpdk.org
> >
> > Signed-off-by: David Marchand <david.marchand at redhat.com>
>
> Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
Applied, thanks.
More information about the dev
mailing list