[dpdk-stable] [PATCH] examples/service_cores: fix lcore count check

Van Haaren, Harry harry.van.haaren at intel.com
Tue Aug 31 18:09:10 CEST 2021


> -----Original Message-----
> From: Ruifeng Wang <ruifeng.wang at arm.com>
> Sent: Monday, August 30, 2021 9:04 AM
> To: Van Haaren, Harry <harry.van.haaren at intel.com>; Varghese, Vipin
> <vipin.varghese at intel.com>
> Cc: dev at dpdk.org; thomas at monjalon.net; david.marchand at redhat.com;
> nd at arm.com; honnappa.nagarahalli at arm.com; Ruifeng Wang
> <ruifeng.wang at arm.com>; stable at dpdk.org
> Subject: [PATCH] examples/service_cores: fix lcore count check
> 
> The example has various profiles to run services on specified
> number of lcores. Due to incorrect boundary condition, service
> can be dispatched to a core that does not exist. This puts main
> core into endless wait.
> 
> Max available number of service cores is all detected lcores
> excluding main core.
> 
> Fixes: 7f6ee6aee717 ("examples/service_cores: check cores before run")
> Cc: stable at dpdk.org
> Cc: vipin.varghese at intel.com
> 
> Signed-off-by: Ruifeng Wang <ruifeng.wang at arm.com>

Change makes sense to me, this was introduced in Oct 2020
so a backport to 20.11 LTS makes sense I think.

Acked-by: Harry van Haaren <harry.van.haaren at intel.com>


More information about the stable mailing list