Thread (4 messages) 4 messages, 4 authors, 2021-09-16

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

From: Van Haaren, Harry <hidden>
Date: 2021-08-31 16:12:44

-----Original Message-----
From: Ruifeng Wang <redacted>
Sent: Monday, August 30, 2021 9:04 AM
To: Van Haaren, Harry <redacted>; Varghese, Vipin
[off-list ref]
Cc: dev@dpdk.org; thomas@monjalon.net; david.marchand@redhat.com;
nd@arm.com; honnappa.nagarahalli@arm.com; Ruifeng Wang
[off-list ref]; stable@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@dpdk.org
Cc: vipin.varghese@intel.com

Signed-off-by: Ruifeng Wang <redacted>
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 <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help