[PATCH 3/4] eal: add API to check if lcore id is valid

Stephen Hemminger stephen at networkplumber.org
Wed Jun 7 17:05:23 CEST 2023


On Wed, 7 Jun 2023 12:19:00 +0200
Morten Brørup <mb at smartsharesystems.com> wrote:

> > From: Honnappa Nagarahalli [mailto:honnappa.nagarahalli at arm.com]
> > Sent: Thursday, 9 March 2023 05.58
> > 
> > Simple API to check if the lcore ID does not exceed the
> > maximum number of lcores configured.
> > 
> > Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli at arm.com>
> > Reviewed-by: Ruifeng Wang <ruifeng.wang at arm.com>

What about cases where passed lcore set is sparse?
In that case, lcore would not be valid in API calls.


More information about the dev mailing list