From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 038C043263; Wed, 1 Nov 2023 19:14:23 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 92D8142D35; Wed, 1 Nov 2023 19:13:51 +0100 (CET) Received: from mail-oa1-f49.google.com (mail-oa1-f49.google.com [209.85.160.49]) by mails.dpdk.org (Postfix) with ESMTP id E7E7E427E0 for ; Wed, 1 Nov 2023 19:13:49 +0100 (CET) Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-1e98e97c824so593681fac.1 for ; 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=xQ1NCQrC6Rgf5xWaWM/+/wIvZfPBgoCB5yrHnfKnfXdMNlgDzzMyeRtNBxK+K7+x89 fmeYTRg6DmyzSWshzitcWW8XieYnkUJN+hwzuRTalwkBWfNu0MXY4vT47whbo6PTzapi qKVs76Q4jNc8PMTMn7QdZ4KmCV18KphXwVol73xCsPxm8ICTqJAcKT/ozr/y8YTOiY+e d0sgyQi0dZOaDmbuadtVKy3bUHo1G+9ylJGELpQb77/LRx9sy9SCBjFx/ZJr1szl2i1U maSl7z01gNH5jgSwgfiGPwUeDMHd9kegyEt4Qu2hdkRtGfCr6OIdk+vRrq5u3nfzrSZC Dykw== X-Gm-Message-State: AOJu0YwNo7VM1O4un/AfMb9WHvxH48ThKyLtesMyOwpRe/bDhikNJdx2 FYR9kaTM8zsRNKjPOQlv1CxhVg== 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 To: Ruifeng Wang Cc: Kevin Laatz , Robin Jarry , Morten =?UTF-8?B?QnLDuHJ1cA==?= , 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: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Wed, 1 Nov 2023 15:20:53 +0800 Ruifeng Wang wrote: > From: Ruifeng Wang > To: Kevin Laatz , Robin Jarry ,= Morten Br=C3=B8rup > Cc: dev@dpdk.org, honnappa.nagarahalli@arm.com, nd@arm.com, Ruifeng Wang= , 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 Looks like a good optimization. Not sure it needs to go to stable. Acked-by: Stephen Hemminger