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 87B08A00C2; Wed, 23 Nov 2022 17:57:43 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 748AB42DA0; Wed, 23 Nov 2022 17:57:43 +0100 (CET) Received: from mail-pf1-f180.google.com (mail-pf1-f180.google.com [209.85.210.180]) by mails.dpdk.org (Postfix) with ESMTP id 80C3D40E5A for ; Wed, 23 Nov 2022 17:57:41 +0100 (CET) Received: by mail-pf1-f180.google.com with SMTP id 140so17867175pfz.6 for ; Wed, 23 Nov 2022 08:57:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; 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=IotqxNQoJFpZ6TRzYOneig4H1YC4VSD+caajibwGsPI=; b=zlfpwgKYiIIzebhVeIPQ3UUHnkjon7gSiQE6oHN7lQ6A7lRUgdiVlC0SQpZAoDeTvJ l50m73mOxsNODzVKsDNZWnCbMb0WRMoqIB7FM8D4wcpY8ezSNRRRw/oNMSdwlAlVM0ah 0x0WirMlu5O5L4UBG9uXq+LLKfSrHNNNhTSJMkhS23Ms2yCTpuhSWWqZNGtPztPHKI9n WsfSd6pK4NBZuO89VruQfWXCZHcUn62PGTiNF59r+31SB75ObAQDip4JUrLPET7rpJuR fHuIgonqQRtrYM24jZ7wzoJRP2kCWLmHne0ZjAxrjVVYEZ/M7423Fx4IZbUNGSOEc0B1 9H2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=IotqxNQoJFpZ6TRzYOneig4H1YC4VSD+caajibwGsPI=; b=blzydqDX9iYoOzkklDZpMqmTRf8fZO96zOejo1qM4X6CjNOd6rLGuVMW3pNPNKXajD C+j76H2SWXXgXMXrSNWguPVKEQzS78CoTO1TlLallnF95anVWgF0+CWexSwSiAV4f0bq W9Mo6ehUGPXXZ3vJeFwv8KDV5iFwuWrOQfa4+whR05vNUDUK+FcvJsknfAiK0zaUrB4M eUy9dHWGT8YAJ0grJysrqxx7gwxQIWvFJA58Sw3X/sjjzQHnpzi3HHyUXVyCGDx+rqfA QxOkaLnJe56Z0kQ8DDcSGKOwj4UiP/hkfPpuOyC5KLUOOX0V8pXu299YzBqvIe0V3M7N lWsA== X-Gm-Message-State: ANoB5pkFcxQTI21OtxWJWPykTGkyDM0+k1yVqdvHtYgror9vMA2gCsUr Q27TAKdmjh7kYQiPrEx0bNTq/Q== X-Google-Smtp-Source: AA0mqf53fNu0gIiJTuSvkrHKrf9szh0tgpTiU28mQLv7W6R1ibNBdY8dIMPATjCqXMM81jarnV14+A== X-Received: by 2002:a63:e84f:0:b0:477:7dc8:57a7 with SMTP id a15-20020a63e84f000000b004777dc857a7mr8210113pgk.498.1669222660593; Wed, 23 Nov 2022 08:57:40 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id z5-20020a626505000000b0056c6c63fda6sm12882567pfb.3.2022.11.23.08.57.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Nov 2022 08:57:40 -0800 (PST) Date: Wed, 23 Nov 2022 08:44:51 -0800 From: Stephen Hemminger To: Robin Jarry Cc: dev@dpdk.org, Bruce Richardson , Jerin Jacob , Kevin Laatz , Konstantin Ananyev , Mattias =?UTF-8?B?UsO2bm5ibG9t?= , Morten =?UTF-8?B?QnLDuHJ1cA==?= Subject: Re: [RFC PATCH 1/4] eal: add lcore info in telemetry Message-ID: <20221123084051.3498a111@hermes.local> In-Reply-To: <20221123102612.1688865-2-rjarry@redhat.com> References: <20221123102612.1688865-1-rjarry@redhat.com> <20221123102612.1688865-2-rjarry@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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, 23 Nov 2022 11:26:09 +0100 Robin Jarry wrote: > Report the same information than rte_lcore_dump() in the telemetry > API into /eal/lcore/list and /eal/lcore/info,ID. > > Example: > > --> /eal/lcore/info,3 > { > "/eal/lcore/info": { > "lcore_id": 3, > "socket": 0, > "role": "RTE", > "cpuset": "3" > } > } Rather than reporting cpuset as a string might it be better as a JSON array? "cpuset" : [ 3, 5 ]