From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4AA07A0350; Tue, 30 Jun 2020 12:11:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 213491BE8E; Tue, 30 Jun 2020 12:11:30 +0200 (CEST) Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) by dpdk.org (Postfix) with ESMTP id 1EF5B1B9BF for ; Tue, 30 Jun 2020 12:11:29 +0200 (CEST) Received: by mail-wm1-f68.google.com with SMTP id f139so19013381wmf.5 for ; Tue, 30 Jun 2020 03:11:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Ww5XW1Apb8aDsSu1CYjMB+rDTkMiGAefMiGhoXbFty4=; b=Eqv6q70JyiuIj1PxpvmFahQtus25sQnTyXF4pBKao7RHcamARBgdx8GiXt9HOp1Itk 9gvgwRhVae4vOOX0XpBF/g1lXcAgC97LM6QxZ1AVA4pRXTdFSGDYv2HFaXBUkJd0vEr6 jIoipXWGkwXDfF4IokepfUJ/kcv40MJv2qe5Cuyjs+9G0g5SLFVc9JuHMK6vJwprNG8b ugBMiPzCztZAksbuiCnL+lnVSfFgqHZksKbd3FUUvfvkE3UOeuCjSYIx9UDIPqXHEy/k sJmnTRP+OsCOu+q2uBJ8sphPE6x0XW8EeiYM7l2fEx15cONciydZkc+QtfqAf8L6DrHz F8wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Ww5XW1Apb8aDsSu1CYjMB+rDTkMiGAefMiGhoXbFty4=; b=m5KAfnJHwpKWvigHVgz8VWHBgMmFEkAi9Pd6Hx7Eo+uFM2NzG6siJera1Yj8s20B8k 9EB2a1wQG+ByCIIUirH6o5FebS4x7GfL17GhE5BzZUOSIUBTi5Ffw1/ReeuTKpy6M30d hNlN4sOAXYBtrjJrPjHtlWcDuQQQL9jb1t4XjKE2O2XCMx3BnMcg4iDeWaIOjxdMMIwa VlEKYFa6vCbMC8src5DBYNiT026XPUZFILYByPfrIRdTJDhvobyugUKm8keLQF1nsVTR kk0DTUcCwIvB1rd/ifSts49O8gPw1P6ASPyjNfJbKxwUWG/mbRE00G/8vyHsZBUnJiEC UYOA== X-Gm-Message-State: AOAM532Ua1eLWOEse5RM30o7oM5QQNsk2hUP73mwcQ4IkpXBkg4p0hWw SNopeSNbUWX20Hr2U76V01IOhw== X-Google-Smtp-Source: ABdhPJxmTbAsLDnnPA4T3x/gRwiItlCd+gnke53EdnofQCFrp8MDpX6+T3jSJvu3Azz4/ft/AIK4Fg== X-Received: by 2002:a7b:c09a:: with SMTP id r26mr20514822wmh.176.1593511888884; Tue, 30 Jun 2020 03:11:28 -0700 (PDT) Received: from 6wind.com (2a01cb0c0005a600345636f7e65ed1a0.ipv6.abo.wanadoo.fr. [2a01:cb0c:5:a600:3456:36f7:e65e:d1a0]) by smtp.gmail.com with ESMTPSA id j41sm3231622wre.12.2020.06.30.03.11.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jun 2020 03:11:28 -0700 (PDT) Date: Tue, 30 Jun 2020 12:11:28 +0200 From: Olivier Matz To: David Marchand Cc: dev@dpdk.org, jerinjacobk@gmail.com, bruce.richardson@intel.com, mdr@ashroe.eu, thomas@monjalon.net, arybchenko@solarflare.com, ktraynor@redhat.com, ian.stokes@intel.com, i.maximets@ovn.org, Neil Horman Message-ID: <20200630101128.GH5869@platinum> References: <20200610144506.30505-1-david.marchand@redhat.com> <20200626144736.11011-1-david.marchand@redhat.com> <20200626144736.11011-9-david.marchand@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200626144736.11011-9-david.marchand@redhat.com> User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [dpdk-dev] [PATCH v4 8/9] eal: add lcore iterators X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jun 26, 2020 at 04:47:35PM +0200, David Marchand wrote: > Add a helper to iterate all lcores. > The iterator callback is read-only wrt the lcores list. > > Implement a dump function on top of this for debugging. > > Signed-off-by: David Marchand Reviewed-by: Olivier Matz