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 E50B64241C; Thu, 19 Jan 2023 20:42:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D5F1842D1C; Thu, 19 Jan 2023 20:42:18 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 99C8D410EE for ; Thu, 19 Jan 2023 20:42:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1674157337; x=1705693337; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=m49zIrLd399it34Gt0Rqi7N08Dl+dO9MIo6p69PghlY=; b=bJGkhkRWVf041y4E7KJSmigA8DsoZId0lEYlMcuwcLPVsGhyNnD+kno0 fjKa+2o+UEXVoO11/2kSqiaB36/Kj991EwVBlKFvaAs63P6dUV5RhquR2 0Sre8/gD7fDhwKwvUHefBhXFEi3U64xhY9TUnzIpdmhkRSIVijgoMH/lk u3nr7vTPlp69BBNghtuGcNN/WczvU6Ag97jBovA26klu/GtzAzMfIIS0S Tw1gX3zK1nVmDGftk3ww0Y6lRoCpliZSa7dLMeDPhNXDn8CDPxMmiTNU1 Uj65L6uvag/W92nk4KBHNxxuyeRfMrFQp4aTQtrPa4SJGO/UxcuDbaeKP g==; X-IronPort-AV: E=McAfee;i="6500,9779,10595"; a="308979016" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="308979016" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Jan 2023 11:42:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10595"; a="690754924" X-IronPort-AV: E=Sophos;i="5.97,229,1669104000"; d="scan'208";a="690754924" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga008.jf.intel.com with ESMTP; 19 Jan 2023 11:42:15 -0800 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 19 Jan 2023 11:42:15 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Thu, 19 Jan 2023 11:42:14 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16 via Frontend Transport; Thu, 19 Jan 2023 11:42:14 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.105) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.16; Thu, 19 Jan 2023 11:42:14 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jqYHRx+rHjEZGRjo2tS6Qy9tc1Q3F6q6ovBxPLOe0K4QAzUsm+OfDeFDMf/TGjzvXFrMFxUG+UZfwXeT6L214R24ofGxDgTEfD6jGe/khZFArYD5O3rpNyDsi0WFXZjZe9YaQX1OtMEfOGge8k/ZG4DPVb0f62aMHU4yp/PJzBas1lYYRdIasIIktZGeo2mxeAuB+Rak02ZIuO/L0HbLOMuFYTQPNWP4/l+lD+JfzlLr1zNPid5bZSwk8JBOeDLIiPzTlJN3eaMlg2eMKXhpEjNads3FNtC6ZB9Z+ucQnkIo467VlI+WhMDe62ilPlEW8ZaJJDhRrNjHMSDC3P6DfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=EtqApyKgMvcbkleyNDvtv3T9WWeYcD7zQedJ2R1KkFU=; b=DC7wcX5NpAVs3x2qe+Hw1p5i+hBOxIVXns5G6Ku56A0gmIk8HuRBYnvC4IxRvEoXX6CmgKBGZMo/OO9LaDIvjgg9uJxhgNPg3lTxLYtkJUmcsB7rfSx3esBtQXmV53nsUGn6YSrLFTbOI5zTSmYbPKHWXkQx7duC9U9qezSrxISgujSjxn9Zq3L+VI6Wmy92n+yEAGlEe3hRKp9L5bgJbS2UycCWv5y2iM7ViRI4RaROJpFoV+Pr5mhMLDBRyckS54tDEbBOC50ZXIEr9apZ2BB6qOjD/N1jq3E7Zoel/LRHo+VxPR9UQYEbqlEP/HRcwt1pdAXrn2dVlo8uvwE43w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) by CY8PR11MB6842.namprd11.prod.outlook.com (2603:10b6:930:61::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6002.13; Thu, 19 Jan 2023 19:42:13 +0000 Received: from MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::5f56:1bdc:2eae:c041]) by MW4PR11MB5872.namprd11.prod.outlook.com ([fe80::5f56:1bdc:2eae:c041%7]) with mapi id 15.20.6002.013; Thu, 19 Jan 2023 19:42:13 +0000 Message-ID: <811d957a-d196-469d-74ae-8ba2562d4813@intel.com> Date: Thu, 19 Jan 2023 19:42:07 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v6 1/5] eal: add lcore info in telemetry Content-Language: en-US To: Robin Jarry , CC: Tyler Retzlaff , =?UTF-8?Q?Morten_Br=c3=b8rup?= References: <20221123102612.1688865-1-rjarry@redhat.com> <20230119150656.418404-1-rjarry@redhat.com> <20230119150656.418404-2-rjarry@redhat.com> From: Kevin Laatz In-Reply-To: <20230119150656.418404-2-rjarry@redhat.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0041.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:152::10) To MW4PR11MB5872.namprd11.prod.outlook.com (2603:10b6:303:169::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW4PR11MB5872:EE_|CY8PR11MB6842:EE_ X-MS-Office365-Filtering-Correlation-Id: d2989e82-1a47-4507-7bc0-08dafa5542fc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 85I1z6cF9OViZk5QrVvuKchDMpMynPiY/wWNeyegoiz//1uYidoMygkQ9im1zkR3P3be60e+8T7gNA69O4STl/sEVIg1d9yjAXQNwUUib4jXmurGAHNXp4i/W9phr4rSTmDVGWe7WeuZIX8TP1QOo+xc28ujjI4cXY08Z+djSSdBwo0RzQFq7EFXO62dXBD7CtnYULKmFTTHgSp6avm1d+dp47MJ5EIwwDUi8Qu5iyQ3vh+JhCmfKuePeSNVqTSA4wlvshTqGOT/O96V8Wl31VJdziBQclinExh8HF2qnn2y/KxYxPuABWIEPrFCutyQDXOFNPETu+NLtjrTY7vC5qZDs+RqfQyx3gm4zZ12sRqUmrbsZKAaphd+sw0pL4ikW+H7xzQT0PeV5LLnAUBDlSSzojkMXFS18/wyaO/lYPSdh6RREf4aat7RhASjZb3orc/Hc7oZzhNN38BnOd0XIbBrYSbJYoNs4o+WkOVeh3GswBpvg91+U2AsA2auV+GKMdRwJ7G3pCXJ4293SMPy4Khp3RZaGZaLWLc3vJldyrIdCaJuGZh+Unqa7RS+Y5zye1Iu2WxwHv7XYhRpACu2IxWD4JHCL0+PaNGJpt9rF401IRd0eKVbkpAIii1vmjoFhRbIzdUdiWeg6ElMrKxqINlz88QdKaWLsw9y0q8twWm8Eosv6kq5W2Prmiqby11g/AZRNyWTqhO2Zk2+ltSW+XIgNfoe9uZ305QDeD1ql88= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MW4PR11MB5872.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(136003)(396003)(39860400002)(376002)(346002)(451199015)(6486002)(6666004)(31686004)(478600001)(6506007)(54906003)(53546011)(86362001)(316002)(8676002)(26005)(4326008)(38100700002)(82960400001)(66556008)(6512007)(66946007)(66476007)(186003)(31696002)(4744005)(36756003)(2616005)(41300700001)(5660300002)(8936002)(44832011)(2906002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?bndOazNzeVVkaG1DaG5QUWN6TWxmMkZyM28yaVcrVnBCeEl6QWhxMlNqOWR5?= =?utf-8?B?Ny9KT1NSMEF1N0kzRlN0SkJ5akhZQjJtaGV5UzBqQWZTMmxGdUwvOHBNSitu?= =?utf-8?B?NXZjNHlZUTZXcTFCL1BWY1dyQTlmc0xrSVNPeWVhQXN2RENKcVlPeHpFbnFV?= =?utf-8?B?M2Y1a1QxcGhvcFczbnJuWi9jTjM4R2NkZHc4T1c3aj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zl2ZWxwSnk3T3Erc3FKMDRkTjV2ZUJIVTNHYzQvNEc2SUF5UnlTeUMxVmU2?= =?utf-8?B?YWRVLzZuZEpxSlhiSmM3VjcrbkVUa0pkL0R5dmh6MGtsc2JVMk9WNnhaRklF?= =?utf-8?Q?8ff0XJ3WQX0x/HY/BGplQGjXN?= X-MS-Exchange-CrossTenant-Network-Message-Id: d2989e82-1a47-4507-7bc0-08dafa5542fc X-MS-Exchange-CrossTenant-AuthSource: MW4PR11MB5872.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2023 19:42:13.3884 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: IScP0GTam8KAqL593tVZHKHgkzGuctzhT+nfygb7kv9HVVM0GR1S4H6vN2HL1ctxU27GI3L49bwrfxgt+/qpKw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY8PR11MB6842 X-OriginatorOrg: intel.com 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 19/01/2023 15:06, 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 > ] > } > } > > Signed-off-by: Robin Jarry > Acked-by: Morten Brørup > --- > > Notes: > v5 -> v6: No change > > lib/eal/common/eal_common_lcore.c | 96 +++++++++++++++++++++++++++++++ > 1 file changed, 96 insertions(+) > Reviewed-by: Kevin Laatz