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 1830445DCB; Fri, 29 Nov 2024 10:12:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CD4B8402AE; Fri, 29 Nov 2024 10:12:57 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) by mails.dpdk.org (Postfix) with ESMTP id F396D4014F for ; Fri, 29 Nov 2024 10:12:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1732871575; x=1764407575; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=VVLVhV8rE8Cu7S9XbitHG7jWUsN/LEULQIFeeUpKZYg=; b=E/pHH7MRBKtNl/ahfM2eiqQK6c74nVrU/zVQa0Ti8GQwiTVQeFPlMSu1 Jrio41ea82dux9N0otbGP7QVr/7KyczcRQQJSh7gBvb6ADaTCbyYmEX7O 1iBHn6qI+OpecZQFR5yYiu0WKiR2EMieOKsE5YdFKbKYnXtsU0Su4aU2x x0VEt9dpRxDctoro9M/bDeWZuOu09zEWpHj882j/ESkBbPIdWER0qaOhr Y1b7wTjmI2+9ELFnHh0Zbv0vYd/OQd2VbGd/JEK4cfsyLPUiD0bexlVca jEXrVur/V5QtR1CE316t3mhl8v/IeGM9+VZNXWLVCHIPmJnLTS0hfgY1S w==; X-CSE-ConnectionGUID: QU75H9CZSTGsDmHIPjhuug== X-CSE-MsgGUID: fPQgm2BzS2u4L/8J1kAI+g== X-IronPort-AV: E=McAfee;i="6700,10204,11270"; a="50506679" X-IronPort-AV: E=Sophos;i="6.12,195,1728975600"; d="scan'208";a="50506679" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2024 01:12:54 -0800 X-CSE-ConnectionGUID: +Xyu1nLITfOQQIHUmC0+Hg== X-CSE-MsgGUID: Q4+//bfnSDmORxnaqGPSfQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,195,1728975600"; d="scan'208";a="123306180" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by orviesa002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 29 Nov 2024 01:12:53 -0800 Received: from orsmsx601.amr.corp.intel.com (10.22.229.14) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 29 Nov 2024 01:12:52 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) 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.39 via Frontend Transport; Fri, 29 Nov 2024 01:12:52 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.176) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Fri, 29 Nov 2024 01:12:52 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JWu8e5Z11+n3C7CHQp2V8F9ME4n57CctKEm2tUpyF+jQjM2GigCDitBAaGOEBWwE3KhI2Pq/XCQWGXpJCk926CiUTX7cRveFAbikZxIJqaQmhEzRjV/Ea256jD7pFmcP6wKTvhKonqhjqrpMSyj5588xzZG+bXAfLDI0rj1juzHPApGw11TsC+aLOnCYDm8oUvsep/Jvq4xX6AfO/iQmrEjArEJSPeBb4dHB9FgjFZIvM0OgzTqyAq6WGlvp1LpZGHOIxowVWWcBeHPnyRQXUarYyjSFsisBEAh4cGCZB1EcHG3Gj195ZgPwe59hvDFj7zJEBW5vUF/93pxx2bjsLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=6FL7zIeHK2XjfVPG/oyreS4SbITjBcPdXNCOYBLfb50=; b=tSsiYq5U1pusRkmVorFN+L5WFZ+G3dDkAcgQI7CyxXUVNkzOppL2pJOA7V0E5jctdUzOu07te9dBENUqgJlhbXHiA+gfpOuc5o9z/LwaJOATMbJtBEjwUAoaign9PhEOXLHxGGN3+7HY2XyZX7jBoTVKc7R6z0sNHWJD8s8t4YB7864tlymcpYE2vyn4j9V2F1t56bLjiTCs94Q+sdBiHoRjew7XYFXjW023C7wJgrZ7xcenMRGc7FBAqJogn4ehs5nXpLHCQ2tutQRFnkTpU1eSRVp554Nvme8NPNHy7Dyfrb/XLtIR9NxwWBqOkABuYTwy1NQORfvwOAuuTz1NRA== 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 PH7PR11MB6498.namprd11.prod.outlook.com (2603:10b6:510:1f1::21) by SJ0PR11MB4991.namprd11.prod.outlook.com (2603:10b6:a03:2df::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8207.15; Fri, 29 Nov 2024 09:12:50 +0000 Received: from PH7PR11MB6498.namprd11.prod.outlook.com ([fe80::999a:425d:a211:5d30]) by PH7PR11MB6498.namprd11.prod.outlook.com ([fe80::999a:425d:a211:5d30%7]) with mapi id 15.20.8207.010; Fri, 29 Nov 2024 09:12:50 +0000 Message-ID: <8263d4d6-37e1-4c0c-a86d-5cbd40916c8c@intel.com> Date: Fri, 29 Nov 2024 10:12:27 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/1] usertools/devbind: fix NUMA node display To: Stephen Hemminger CC: , Robin Jarry References: <9af1231398c4ba116d3b89164690feace37293a9.1732810125.git.anatoly.burakov@intel.com> <20241128092002.0ea4605c@hermes.local> Content-Language: en-US From: "Burakov, Anatoly" In-Reply-To: <20241128092002.0ea4605c@hermes.local> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB3PR06CA0010.eurprd06.prod.outlook.com (2603:10a6:8:1::23) To DM4PR11MB6502.namprd11.prod.outlook.com (2603:10b6:8:89::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR11MB6498:EE_|SJ0PR11MB4991:EE_ X-MS-Office365-Filtering-Correlation-Id: 5bc6a799-b08b-47ff-4cd1-08dd1055f505 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?utf-8?B?VTVVNHFLejdCazFkQjcveEoyYnZYSzVicUVHVWpXSUh6a2VpZStmL2EzN2xi?= =?utf-8?B?UGJSVHovWVVnQ2czUDlwZVJkYisrNTNNUVB3RlpQWmFjK3FMTW5WNWpJZm9m?= =?utf-8?B?ZENZNEhpM2VKbzYzdGpjRGhVaTB3SncwaXZYN2IwMm5hMEgrRm8rL2pDdmZC?= =?utf-8?B?ak5SMitqbzBNRlp6SXk1QU5RR1QyRTNzUXdLS1Z5czVMaEZsQ09XZVZaMGpk?= =?utf-8?B?cU1UWm9ZQW81eU54THVvbXhRRklvSjdFQlJ6TXpsV2lTeC9POWhoNm9CcmlW?= =?utf-8?B?d0hLcUh6VWZTUlNtSjd6eTVkanFiMGtZS1M2VDNtcTV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DVlZDMrSEw3WHNPbHgrQkR0amJBUko0eC9Q?= =?utf-8?B?d3FLN3g2eTJBR3BrNW40c0hISGMyNS9Wd0FCaGxiSmFGZmhlQ1hHRW9nTFd6?= =?utf-8?B?Z1MyYWdXRGkybFRZeG9GZ3d1SXI2ZWFCVFZ2blVwb0RQWndWcHozeGtheGxj?= =?utf-8?B?VG1RSExlVlFCRkxiK0s4NkZqeFAvUUZ4WmRzSllUdHdVYTNCSVlzT0pPUDZX?= =?utf-8?B?U0RvSEl0bHUzSWlNMVY5L3grUUpGdDI1Y2RjWEtraUFobzdKWEZTVTV6VXl3?= =?utf-8?B?KzNYU0txWWxIUkVBS3ZlOURxR1ZWd2w0Qnhqb29tZU5heW0xeGxSNGJoRkhZ?= =?utf-8?B?WXpuUTBacmRTV014NmM5UkNTRmlFOHk4dUhlZy95eENrSCt5cVdwam0zaHVV?= =?utf-8?B?Um1zUmVNdUFsZTNNWTFOS2FCNXVrckF1VW1nbUdwbzVVTUxNY0QzSDkxT0hP?= =?utf-8?B?OVAwQWtmcnNNWjVkQld1Y1c3NFNRdkNRTHU0NXI1b1Rnelc3dmRaM084UUZ0?= =?utf-8?B?WmN5Zi9QbVdUaDl4blJQcm1hSTFrR2l4ZkZrYytGZ1dNSTd1SVk1ZGRMRUZS?= =?utf-8?B?V2U5V1hDaTBLSUdsWm9aUT09?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB6498.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?YjYycHFxOTgvNnd5b0o4eEZrMkZDYSsxbmtlaWY5UkZadjlUOVNYT0tlcWhm?= =?utf-8?B?cnp4d3lmVWNRSVQ4d0VMYmtmdHZpdGpISktlMlhYZ0hKV3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JrTjNQWGVjc1JLMU15VWNweVp3N2VZ?= =?utf-8?B?ZmdhZmtxQVU5aUVQanRuYTRyL0R5S2I5UHVQSnliM3RQR045OGdVSUhTclVi?= =?utf-8?B?VkhqbWpEa3VLZktGTGp5dkp0S0EySGt3Z2RPUy9WcDRyMUt5Y2ZVMjBTZmFS?= =?utf-8?B?RjQreVlQb0FaWHVFNDNONWRFZzVmdk01QkF6NmJ5VEhyMUY2ZS93N1ZOa1pH?= =?utf-8?B?UmZYS2pOSWR5NG10a25nYnRNeDJKaklHZFpkSmtkd3Q5cVh4aW9KYldsc1JG?= =?utf-8?B?elE9PQ==?= X-MS-Exchange-CrossTenant-Network-Message-Id: 5bc6a799-b08b-47ff-4cd1-08dd1055f505 X-MS-Exchange-CrossTenant-AuthSource: DM4PR11MB6502.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2024 09:12:50.4838 (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: iPwuurwU1A2bBb1DVp37wID62sQ+14zKGa2O15eZ0mfPtctf0BJ/lqaabQsEkqZosGfPN4VzDHlqcCXQrJ1C8NDGYNUHDFM2QK7F/E4yfbQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR11MB4991 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 11/28/2024 6:20 PM, Stephen Hemminger wrote: > On Thu, 28 Nov 2024 16:08:55 +0000 > Anatoly Burakov wrote: > >> + # occasionally, system may report NUMA support but lspci will not, so we >> + # want to go through all devices and see if any of them do not have NUMANode >> + # property - this will mean it is not safe to try to access it >> + for device_dict in devices.values(): >> + if "NUMANode" not in device_dict: >> + return False > > Any indication as to why this happens, what kernel, what device? We've had internal validation team report this happenning on VM's, particularly ESXi. I did not dig deeper as to what particular configurations cause this to happen, I didn't have a chance to reproduce this myself. -- Thanks, Anatoly