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 B6E6A459D6; Thu, 19 Sep 2024 15:51:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A2E940A7D; Thu, 19 Sep 2024 15:51:21 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id BE161406FF for ; Thu, 19 Sep 2024 15:51:19 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id BA60221B2A; Thu, 19 Sep 2024 15:51:18 +0200 (CEST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 Subject: RE: [PATCH] netvsc: optimize stats counters performance Date: Thu, 19 Sep 2024 15:51:12 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F703@smartserver.smartshare.dk> In-Reply-To: <20240802103324.2e0903c8@hermes.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] netvsc: optimize stats counters performance Thread-Index: AdrlAhb1ogJyms+/SaqJzAUYmn5rCQlmA7vQ References: <20240802144048.270152-1-mb@smartsharesystems.com><98CBD80474FA8B44BF855DF32C47DC35E9F5F3@smartserver.smartshare.dk> <20240802103324.2e0903c8@hermes.local> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Long Li" , "Wei Hu" Cc: , , , "Stephen Hemminger" 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 PiBGcm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