Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp653263lqi; Thu, 7 Mar 2024 07:49:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV+JIBuyc6VuwqLTqyi5hf9ssLOA/ioFLO/IEhwaK36LQhTZl20klOPbSa6/X+f4i8lOOmT1yGaJEagRAIRbY57hEi72ZV/j931kPIesQ== X-Google-Smtp-Source: AGHT+IHJwUOc79M1h+Px7/HM0WCyxOh93AM4qoVuBXOOwYL17oOelKjoN6U4p10BvpssvVtfMbWx X-Received: by 2002:a67:be04:0:b0:472:e8a6:ad0 with SMTP id x4-20020a67be04000000b00472e8a60ad0mr5811017vsq.18.1709826576382; Thu, 07 Mar 2024 07:49:36 -0800 (PST) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id jf14-20020a05610217ce00b004703a99e59esi2664073vsb.243.2024.03.07.07.49.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 07:49:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95834-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=Hb7aOiSW; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-95834-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95834-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0B3AB1C2504F for ; Thu, 7 Mar 2024 15:49:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 743DE12F59E; Thu, 7 Mar 2024 15:49:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=microsoft.com header.i=@microsoft.com header.b="Hb7aOiSW" Received: from SJ2PR03CU001.outbound.protection.outlook.com (mail-westusazon11020002.outbound.protection.outlook.com [52.101.85.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B284941C65; Thu, 7 Mar 2024 15:49:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.85.2 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709826560; cv=fail; b=tTj7ENgPhUuIOdygHkm1X1CQjb2ejRo7gZCIuHM0jWdftKT7Sy+UoMhpxvEgeSPccDQp8gqaoInLbUvKODGHEhOaEqjSflJqlbo+TIJ4wa7jhOKBiZrv4N7yp0W+POFuH6D59p2m8u+8OOl4F37X6YY81Zi80PhcWEdIlXzIA6Y= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709826560; c=relaxed/simple; bh=P7P7aJndn7bMBEPjEeBbHl7wgiBdnvYg2oHRH8FUAjM=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=PrdrzyFR2OYpW14bPFeMy6sI5yCTU61YtUZbvQAGe7RJzkXkwj9WsxP7Qp2vLDHI9c7jxLEjefWDsH4htajlb7S+46AAqVHxh+KnwJINlFIrccOXF/0Zw+naQH8MFolbSeXC2ffjTQZCmmy6J7dHqGYn07xUmw0uOiad4C3lJM8= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microsoft.com; spf=pass smtp.mailfrom=microsoft.com; dkim=pass (1024-bit key) header.d=microsoft.com header.i=@microsoft.com header.b=Hb7aOiSW; arc=fail smtp.client-ip=52.101.85.2 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=microsoft.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=microsoft.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FrwkSkA8r8oagn9QHjzeUuIYQanWCP74I6u0rOXRrfhN7D7JL44UO1NXoCdqZjKLECPnX4V4lpWVTp77m6HU64RWPWOWlcBHnqEk7qV35TCxroD+A7S5FrsttS6lHw3fGxKQeqUSvPOjZvqLXlSVr7rr0VKP0a4azdYoHa0kILqG8F+/oOfgaRH7+2pofrgpe63yUgp59sh445z80hMdgvScmIRfMDUiWJOvNK0Lg7jNMS84BXub2YNeUAgldkq96UWicZOPD2r2BDyIzwAFHRVpFgEcK+fezqNqAT/2D9LUqF9QOOgLYvSFzy46QiG9OlJfBOq8Jn/zYv8WWwPBCA== 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=l2Knrg4ySQcnYuGt/1FutYkCANFRdy7v8W1XvCNNA/g=; b=hhNW1/mldpAQMDiE2nI0cgNduQ2CAVSeDLO0RDEuMf3hO0Y2bTtq0VlJztHzZHtPHEcGMxt4xwhYynyPODC/F0V4birXw4E6cRQp8wYbBlY0zkGu2JiY4vYKdOmp6yjVCdJnkQ8fsRwXyFNtSHDzDlo1OkbKdvOJN5X3c5xUJVcBADhKgSJ7VXgFkoP+JrzzbifmcOjh1i5tkwn1lfXIEQYVqwxlCwuYg57rbgskmyWefrm0XHhAIfnKrdb/emTIVczg02inI6/d2N41iZTw5w3dY2riZJONGokWv4qN9BuNw59Y6kIPHyfsFjtvtylaMTiRsv1PouYAeXqssCsXEw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l2Knrg4ySQcnYuGt/1FutYkCANFRdy7v8W1XvCNNA/g=; b=Hb7aOiSWlX/cui2jzyhb8lsyXtueTZRjGAvd6e8TFubSb0FQFrmek6UITUrl07n8fGO0MIqlcYpRqiEgzISbNU8ze+eZqYaGEI0GIMJXSAB/AAFmOWtL1B1nqPGLba2ibApPzxDXxRjQqYVfjKmhV8/7izgXbFRT2O6f5NkXcQg= Received: from DM6PR21MB1481.namprd21.prod.outlook.com (2603:10b6:5:22f::8) by DM4PR21MB3539.namprd21.prod.outlook.com (2603:10b6:8:a1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.8; Thu, 7 Mar 2024 15:49:15 +0000 Received: from DM6PR21MB1481.namprd21.prod.outlook.com ([fe80::e352:f8b9:4805:c9da]) by DM6PR21MB1481.namprd21.prod.outlook.com ([fe80::e352:f8b9:4805:c9da%7]) with mapi id 15.20.7386.006; Thu, 7 Mar 2024 15:49:15 +0000 From: Haiyang Zhang To: Jakub Kicinski , Shradha Gupta , Shradha Gupta CC: "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "linux-rdma@vger.kernel.org" , "netdev@vger.kernel.org" , Eric Dumazet , Paolo Abeni , Ajay Sharma , Leon Romanovsky , Thomas Gleixner , Sebastian Andrzej Siewior , KY Srinivasan , Wei Liu , Dexuan Cui , Long Li , Michael Kelley Subject: RE: [PATCH] net :mana : Add per-cpu stats for MANA device Thread-Topic: [PATCH] net :mana : Add per-cpu stats for MANA device Thread-Index: AQHacJ8N8LLwvYYKc0y/h+tCzJvDjrEsZziAgAADR7A= Date: Thu, 7 Mar 2024 15:49:15 +0000 Message-ID: References: <1709823132-22411-1-git-send-email-shradhagupta@linux.microsoft.com> <20240307072923.6cc8a2ba@kernel.org> In-Reply-To: <20240307072923.6cc8a2ba@kernel.org> Accept-Language: en-US Content-Language: en-US X-Mentions: shradhagupta@microsoft.com X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=60ca9008-496c-4f0f-954c-124078107146;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2024-03-07T15:41:07Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR21MB1481:EE_|DM4PR21MB3539:EE_ x-ms-office365-filtering-correlation-id: 910a61b8-2a1d-4b3c-65d8-08dc3ebe2477 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rZXGHgnGXVA07MpPpYoksNhNjSLM4zd2IvlZV6PH33GlahbHxVNjP6HNUH+oXkUvJCkfECBml4f1jvQav58oOpEd05NxGLWHg1gSpZFILktLOyICqCYl3ZqdVGfS9c3FwSr5IFgHVRkX8Q9bVXvxvn0w2+f4OtuNcTNDloSGNoeTq8EmU0GCkBC2PkAh5J/KVZRuquo6eFappHZty9Ro0TLCExT2EYEvkGJh4LWWzlDo8RQOBrVrMgj/KawqqCbPfyvBnW+z343d2ZH0KwE1F7RkavbYyZZ7zmgJ36wPZIS7yNsNv22mjZ5IIaol5nlRrZnKXlT+AwSzVPr8hR2Qct23Rdi3K+sqUMRjE2dFksgSjLG5yMNP2RxFa/NeGtSYxX2OsMovfYck0I6WOxawfH4ch9oskVoMGuZf0K2kstatVtFvXtw5tuutV4ri7GdnXDQRzGfy+130dBFtT9xcIXVv5Oz0o/bo/J6uB+bzKmFNnJy07SxV1BDJOejStHlT42mdg4Q7TiqWvM9JBdhZPNR1d+o/El+p/o8Jg+1rVd55LOzEO5XJ6ueWe3GZagGsW9MzaCFleGF/HP5RSQiA590NRIgVEsSp9TogG+kCm+Bx1Ny1IIms9LPDw2San9LHTDBNhXPqg74d9++6BEBEVaVodjiu4rW0FJj+/oeNjALAXPgAewbpw1hE8Z9P+/512P4eZrCkceezdnAI35EIKzglh8nCAN0LdfKmzJx2isw= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR21MB1481.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(38070700009);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?YHxooy0H/AMpMuYcCHtaejpEz7Ec4c2NGfjrhFyGOF7/Qjg9vvCRw0cexFS+?= =?us-ascii?Q?YM7KhR6HLN3NH8k8O6TQaDgoM3s2IEStkpO11l2oQWi+BOMAwtAKuKNtGiRZ?= =?us-ascii?Q?0NLq7ky1z7s8q+KciEBm7RMTL0GUzgPVXQ5/TPUKu9ap6lhrtAwGHVT3EP/U?= =?us-ascii?Q?hbbbjownjGZPfI35n9p806seC2i/hTjV98Ten5yVgUTmSmhnlqL+34Qbn5XP?= =?us-ascii?Q?5mgst92ffknRRIgt1ya8s030AFD6kVIUPaDkEn/KZv38Db8fgJj6W6YluCP2?= =?us-ascii?Q?J9+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+n64X94qNIE3t+JLJR3BO?= =?us-ascii?Q?AnUJmAIhDWt0V3Q71MgevfbpqggsS01pcxqH7KMCv+lpyArVY3TcsPrwjQH4?= =?us-ascii?Q?a2WE8BWeAdIB7eUzr1q91+/Mc9mzl0Ul/+3vpP1KB5WEz4eRRydaQxdVZov7?= =?us-ascii?Q?iLnV3wIl7ZBFpyRJNNoJoriqGt0+HSJZRH9Y+AvWrgeFybayLPnXmbuKS+c3?= =?us-ascii?Q?rB5wAtYLukEt8a2RO3BfOYPTEBRWTWM+7aGLybcIuVpqoPNHvtBnripZMw9c?= =?us-ascii?Q?DhmZFOa7t/YqVnd326zjniNAQoCphqdKOAJ5ru3B/PrgDuzmFHgIr9f2aJjJ?= =?us-ascii?Q?99+5WlrhTJL4ffvjhgF+UQMJdxJbmit986ew1qPcRMXp4SHd3rxr+C1uOAjl?= =?us-ascii?Q?xU2wqJu/fgJ5WkwCzAH6rB5JDFk+J2p6lCCq5YVT?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR21MB1481.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 910a61b8-2a1d-4b3c-65d8-08dc3ebe2477 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Mar 2024 15:49:15.5752 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Y2lIs3h8wXliHV8pqd81iCH4yni/JNLvywT4G9VQy2uuxfX1/r1Sedr35RU3DvWi0m25cN9g9sgGbI7K/+PUog== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR21MB3539 > -----Original Message----- > From: Jakub Kicinski > Sent: Thursday, March 7, 2024 10:29 AM > To: Shradha Gupta > Cc: linux-kernel@vger.kernel.org; linux-hyperv@vger.kernel.org; linux- > rdma@vger.kernel.org; netdev@vger.kernel.org; Eric Dumazet > ; Paolo Abeni ; Ajay Sharma > ; Leon Romanovsky ; Thomas > Gleixner ; Sebastian Andrzej Siewior > ; KY Srinivasan ; Haiyang Zhang > ; Wei Liu ; Dexuan Cui > ; Long Li ; Michael Kelley > ; Shradha Gupta > Subject: Re: [PATCH] net :mana : Add per-cpu stats for MANA device >=20 > On Thu, 7 Mar 2024 06:52:12 -0800 Shradha Gupta wrote: > > Extend 'ethtool -S' output for mana devices to include per-CPU packet > > stats >=20 > But why? You already have per queue stats. Yes. But the q to cpu binding is dynamic, we also want the per-CPU stat=20 to analyze the CPU usage by counting the packets and bytes on each CPU. >=20 > > Built-on: Ubuntu22 > > Tested-on: Ubuntu22 >=20 > I understand when people mention testing driver changes on particular > SKUs of supported devices, that adds meaningful info. I don't understand > what "built" and "tested" on a distro is supposed to tell us. > Honest question, what is the value of this? @Shradha Gupta Please add the tested SKU and test case here. Or, you don't have to include test info with the patch. Thanks, - Haiyang