From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <stable-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 4972D43263
	for <public@inbox.dpdk.org>; Wed,  1 Nov 2023 19:13:54 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 66ECE42D26;
	Wed,  1 Nov 2023 19:13:51 +0100 (CET)
Received: from mail-oa1-f44.google.com (mail-oa1-f44.google.com
 [209.85.160.44]) by mails.dpdk.org (Postfix) with ESMTP id E8794427E2
 for <stable@dpdk.org>; Wed,  1 Nov 2023 19:13:49 +0100 (CET)
Received: by mail-oa1-f44.google.com with SMTP id
 586e51a60fabf-1dceb2b8823so59335fac.1
 for <stable@dpdk.org>; Wed, 01 Nov 2023 11:13:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698862429;
 x=1699467229; darn=dpdk.org; 
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:subject:cc:to:from:date:from:to:cc:subject:date
 :message-id:reply-to;
 bh=p5m7X+X3tFAoVyT0fBJ3/oY3F4JtUhftSFmFcQkCLG0=;
 b=Fd+KALBkQz0Be1TV4b/94BDFoqBFfw3ZczcEAWlHTgciCEm/YnyKz22lHhYwylNH/Z
 68/gpzQj2PpzceVckZLmtBgsfSJhShxfrPcu6b4RKn+9AoDurA6Up9Ys8F2mIu8oOuRu
 HSE7Qn3UsYtEqSQifkV71qPun11mVEsbFsanzgXXCoDGYWXbLxAkpqpwx1fZgnvks8O0
 2bPNvSOkxxmBP9QuVjE3J8C4tgVXPh6Xdwozh9MMbtoMO6uZs2aiT+b10SA1l6j42fK4
 iJcUJVxk42/Hv8ukZjGNijDbVqxBDuDbxcKQAKYqalbHIam5Cf9lq/G22i7GBinlCVzH
 hUQg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1698862429; x=1699467229;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=p5m7X+X3tFAoVyT0fBJ3/oY3F4JtUhftSFmFcQkCLG0=;
 b=CtiIbxREoUPJioI92Zip/QQO3rZbX39Pqavd7Sgr0SK+x/Ax+xbEPTn/jMM4TkIRyv
 7EFJNZUC+3zt6qN4ilIjfzF0D+AwlzgkVdTTEz3TSBpjDpP0EywdRTBiwgdhC/4l/Ygj
 Le+2RjkNohp9dBfnHS/l+63TgmUC7sGMDoz7E0djRtIrqP/T/o/dcJtEye8cMqGE1Eri
 74gBa8j2MqESFblHuk+fpCYbub3TgNNFpVq5dCp1X0U99sIrpfjFQ30sW2c/3Knr2uBR
 XQqacijVTFOpeYMK/utmMSCvrLUdtHTGnO8ovH/YCy6w+W3VUCJisI/qcpk9dYmalU4M
 o0aA==
X-Gm-Message-State: AOJu0YxIlT1LfCN1E92PKIP6b0jKHcYLqt4eBWMRCdvfRHeWO0OCG6q4
 uEhp4W+B9j5hJ9HzU33a7c4DPA==
X-Google-Smtp-Source: AGHT+IFyas2VOLU9csDqCEHR2FfoREpejrKNc7DAk0oBpRzoEt/F5EzqTgy+0XFnoSaUuIhb2rSBSA==
X-Received: by 2002:a05:6870:114f:b0:1e9:9c24:4498 with SMTP id
 15-20020a056870114f00b001e99c244498mr2981608oag.9.1698862429277; 
 Wed, 01 Nov 2023 11:13:49 -0700 (PDT)
Received: from fedora ([38.142.2.14]) by smtp.gmail.com with ESMTPSA id
 s12-20020a9d758c000000b006c4727812fdsm266541otk.15.2023.11.01.11.13.48
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 01 Nov 2023 11:13:49 -0700 (PDT)
Date: Wed, 1 Nov 2023 11:13:39 -0700
From: Stephen Hemminger <stephen@networkplumber.org>
To: Ruifeng Wang <ruifeng.wang@arm.com>
Cc: Kevin Laatz <kevin.laatz@intel.com>, Robin Jarry <rjarry@redhat.com>,
 Morten =?UTF-8?B?QnLDuHJ1cA==?= <mb@smartsharesystems.com>, dev@dpdk.org,
 honnappa.nagarahalli@arm.com, nd@arm.com, stable@dpdk.org
Subject: Re: [PATCH] eal: stop iteration after lcore info is processed
Message-ID: <20231101111339.27ecfcd6@fedora>
In-Reply-To: <20231101072053.1319697-1-ruifeng.wang@arm.com>
References: <20231101072053.1319697-1-ruifeng.wang@arm.com>
X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-BeenThere: stable@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: patches for DPDK stable branches <stable.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/stable>,
 <mailto:stable-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/stable/>
List-Post: <mailto:stable@dpdk.org>
List-Help: <mailto:stable-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/stable>,
 <mailto:stable-request@dpdk.org?subject=subscribe>
Errors-To: stable-bounces@dpdk.org

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

> From: Ruifeng Wang <ruifeng.wang@arm.com>
> To: Kevin Laatz <kevin.laatz@intel.com>, Robin Jarry <rjarry@redhat.com>,=
  Morten Br=C3=B8rup <mb@smartsharesystems.com>
> Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, nd@arm.com,  Ruifeng Wang=
 <ruifeng.wang@arm.com>, stable@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
>=20
> 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.
>=20
> Fixes: f2b852d909f9 ("eal: add lcore info in telemetry")
> Cc: rjarry@redhat.com
> Cc: stable@dpdk.org
>=20
> Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com>

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

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