On Thu, Apr 17, 2025 at 3:40 PM Eelco Chaudron <echau...@redhat.com> wrote:
> On 17 Apr 2025, at 13:30, David Marchand via dev wrote:
>
> > If OVS is started with a cpu affinity which starts at a core >= 128,
> > EAL won't be able to run since the -l option is limited to RTE_MAX_LCORES
> > (which defaults to 128 on x86_64).
> >
> > Instead map the first discovered cpu to lcore 0.
> >
> > Reported-at: https://issues.redhat.com/browse/FDP-1312
> > Fixes: 88964e6428dc ("netdev-dpdk: Autofill lcore coremask if absent")
> > Signed-off-by: David Marchand <david.march...@redhat.com>
>
> The change looks good to me. I do not have a 128+ system to test, but playing 
> with this on a dual-socket system did not show any problems.

You could artificially reproduce the issue by recompiling DPDK with
-Dmax_lcores=8 for example.

Thanks for the review.


-- 
David Marchand

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to