[PATCH] eal: stop iteration after lcore info is processed

Stephen Hemminger stephen at networkplumber.org
Wed Nov 1 19:13:39 CET 2023


On Wed,  1 Nov 2023 15:20:53 +0800
Ruifeng Wang <ruifeng.wang at arm.com> wrote:

> From: Ruifeng Wang <ruifeng.wang at arm.com>
> To: Kevin Laatz <kevin.laatz at intel.com>, Robin Jarry <rjarry at redhat.com>,  Morten Brørup <mb at smartsharesystems.com>
> Cc: dev at dpdk.org, honnappa.nagarahalli at arm.com, nd at arm.com,  Ruifeng Wang <ruifeng.wang at arm.com>, stable at dpdk.org
> Subject: [PATCH] eal: stop iteration after lcore info is processed
> Date: Wed,  1 Nov 2023 15:20:53 +0800
> X-Mailer: git-send-email 2.25.1
> 
> Telemetry iterates on lcore ID to collect info of a specific lcore.
> Since only one lcore is processed at a time, the iteration can stop
> when a matching lcore is found.
> 
> Fixes: f2b852d909f9 ("eal: add lcore info in telemetry")
> Cc: rjarry at redhat.com
> Cc: stable at dpdk.org
> 
> Signed-off-by: Ruifeng Wang <ruifeng.wang at arm.com>

Looks like a good optimization. Not sure it needs to go to stable.

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the stable mailing list