On Wed, 1 Nov 2023 15:20:53 +0800 Ruifeng Wang <ruifeng.w...@arm.com> wrote:
> From: Ruifeng Wang <ruifeng.w...@arm.com> > To: Kevin Laatz <kevin.la...@intel.com>, Robin Jarry <rja...@redhat.com>, > Morten Brørup <m...@smartsharesystems.com> > Cc: dev@dpdk.org, honnappa.nagaraha...@arm.com, n...@arm.com, Ruifeng Wang > <ruifeng.w...@arm.com>, sta...@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: rja...@redhat.com > Cc: sta...@dpdk.org > > Signed-off-by: Ruifeng Wang <ruifeng.w...@arm.com> Looks like a good optimization. Not sure it needs to go to stable. Acked-by: Stephen Hemminger <step...@networkplumber.org>