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 2EF6EA00BE; Tue, 3 May 2022 21:14:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D432340C35; Tue, 3 May 2022 21:14:48 +0200 (CEST) Received: from na01-obe.outbound.protection.outlook.com (mail-centralusazon11021021.outbound.protection.outlook.com [52.101.62.21]) by mails.dpdk.org (Postfix) with ESMTP id CD2F740691; Tue, 3 May 2022 21:14:46 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b53Fx3yssOW9OlMboCtPRPaQXhc/MRS9NGnsRQbXH8TwiYFK3jcEl8o2+8tEJRbNUkdhs6A7d7YWHNxn2V6sdEo6GcCNeWxCSeX4LnLY9LjPb7uO37GIg3J2zK8EkgZUjglsI5HuD/WgfBWxaiup7D3Hj8mIk4Ljq5y30Su65N+PBHCh1iNuC1oUR+V16gGCP83LEWFJJ8ABHyz6UtHNS8bYIzjEBJhIAt++PyPe5Raqt8xh/SOXLyiFJjiKQ2AkFFphjxbCyLsMk3qYu6NX8Gs4+iendinXNw8eB0Ir9v/jMOwX7WpGXUKpLgtEN1cparSieFEdZvXLo220Rtc+1Q== 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=1luwxXCe4P8JfqShFmz3c5sfeIWSrv7ocyWBPVU6z8Q=; b=h85lut2lf2KTTUw1LjAwTeC+jv/m245+HSxAg1PhDW53sNAe52GRxOrv9N4RCugB6wCvX/fLMABs8D5JWKJwJPecsLBNmmLPd8lqono6qO+uhEtqCahkuFrdGPIfi+QF+22FWhTVQa1gjOr2hNtzoWgEW9XNujf9kVlcSnj2LQrc9ioQpt9tH3E74KXpAhSw/3FtSKGs4EpifWJA/YhT3Fp66GeB9uECRag7DMPATrGzGQWXCeSBoGSpfvq+BF2MND1+3ZzjltcFYXpNKnPZm1e6EbtDKquw6F6JPckxHfj1GCOOVPO2R2yLxCT6natLUvccTFSWPl5rq9wDUBW6gA== 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=1luwxXCe4P8JfqShFmz3c5sfeIWSrv7ocyWBPVU6z8Q=; b=RgfMZ+BdVJpVmMloj71aIlMPrEXd7JPS7Ji20DZfBxyeQoXI8GE8qbS9oYtKT8+0h9HnaSG1Cq8Klj8GAKxWybCGErdZgXX6hG89G3PIPXm557RsPVUqJITD7ojv9sFj+8kXjf0iZ39a0yIzidvhCPixstPr8qsFcHnwDTY5AOU= Received: from PH7PR21MB3263.namprd21.prod.outlook.com (2603:10b6:510:1db::16) by SJ0PR21MB1998.namprd21.prod.outlook.com (2603:10b6:a03:298::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5227.6; Tue, 3 May 2022 19:14:44 +0000 Received: from PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::ddf3:2951:518d:34a5]) by PH7PR21MB3263.namprd21.prod.outlook.com ([fe80::ddf3:2951:518d:34a5%7]) with mapi id 15.20.5250.004; Tue, 3 May 2022 19:14:44 +0000 From: Long Li To: Ferruh Yigit , Stephen Hemminger CC: "longli@linuxonhyperv.com" , "dev@dpdk.org" , Stephen Hemminger , "stable@dpdk.org" Subject: RE: [Patch v2] net/netvsc: report correct stats values Thread-Topic: [Patch v2] net/netvsc: report correct stats values Thread-Index: AQHYP6cEkQRXn4D8yUClXpvX3Nw0c60C8ZcAgAANvACACrUn4IAADUgAgAAB1WA= Date: Tue, 3 May 2022 19:14:44 +0000 Message-ID: References: <1648143948-17821-1-git-send-email-longli@linuxonhyperv.com> <7f51e773-6ded-b736-fb02-5e3b391353b9@xilinx.com> <20220426154524.49502217@hermes.local> <924d7398-6c78-6318-52f3-d671edfc8aad@xilinx.com> In-Reply-To: <924d7398-6c78-6318-52f3-d671edfc8aad@xilinx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=530c1f07-1632-42d2-9b00-2673383710d0; 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=2022-05-03T19:10:27Z; 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-office365-filtering-correlation-id: 6b3ace36-946e-49ce-e5c5-08da2d392e6a x-ms-traffictypediagnostic: SJ0PR21MB1998:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Lr38hzGgl97pAJNi3X6j5ikvThI7CzssFgY7coNMsAiPkoluqnaath5oLO2fpEL8+zKZpO0ATLAdXgDsCKKLeD0UJQ8C2aZ506yUzVUhU4JfhPmdTSd8Fht5eyklWZkg0BJiOEzVRg+R51+uEtMu4ZAPArao5/TxCVKCg655Gk6B2nHV/UU22YtwUKzDbEu0eHB3lQKB+eH6L5tPB++uw9tx908jiPB9UICcLWS1Sh/wXwUmeB32YQ2QX+4EUYALGxiKIhWJF6fTdJeHrb4NjqjO50D899DQ5/dD29jOeQ4TdBDQLnFF9sfwJIVzo4OK4zUFzQZCw03p26jkhMdNZ6RdpI86bWtFhiyizQrzIrE2iWmD7zfOzHyUZTtCr7D5zb/7mZOe+CXxuNay+UnBG3MVKPusJopRBi8S7BnswWKK9tvn61Qvfbv+dWjN9e69irssgbnY0n7re4tFQHQTPa4jyLrYJUSzwrOrsQjm0yP+EhZZFnCIyQjpgpo0P3+v0OKhVYpboKHyqBlgylLxnFONUqutL9RRnlQTaIIzGSy7G1rZkkitlR8+HP31775gs4vFteB2mvhHVc77SrJOyqYgvwZxtVlsiEs74VrN/g3qHRBTBMVf7kso7RpcoGf741RuZ3z0CRyi0ch5ftX3QiUgXBaq6TpbygoGe9hG9nT7vGGoqmuHS0Nz1FnGKqZxpd3p+TtSgHmDahMHWxtQE6rmI5Ju6Q+IfMw3GJ7IW3PNSd2hePH0BbMX1fXwsKDe x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR21MB3263.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(451199009)(64756008)(66556008)(66446008)(66946007)(66476007)(33656002)(83380400001)(53546011)(6506007)(7696005)(110136005)(508600001)(82950400001)(86362001)(26005)(186003)(316002)(10290500003)(54906003)(55016003)(71200400001)(9686003)(38070700005)(38100700002)(5660300002)(82960400001)(8990500004)(122000001)(4326008)(8676002)(2906002)(76116006)(8936002)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UG1NU1g1SFdJNFBZYkVBWlIvUDlHZHdEbDN4TjVVNlpLOTh1NzhmOEF4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c5N2RzNFYrRTQ2dCtqVkRQRFhOU1hRZDJ0?= =?utf-8?B?OXo4Mk1OT2NQRlNnZ0lqWlkxazduTU5VWlhzclJKWkxLOEJsZGlENVNjUk1m?= =?utf-8?B?ZS9BS2VyNjFhMG9ya3RlOU1sWTJaL2EvOUV4TjJma1JjNHlSRUJOZStQS0pZ?= =?utf-8?B?NFFDbko0OWp4QTkyUkVtOU45YkoxRG8xdlVITHozNjJNVzZibml0SUVDS2FL?= =?utf-8?B?N29VSHFPOGVEaVFzS0JVdHdlQmJPK0FhWXVpWXh3VmVMQlBVbUNRN1RTR1RR?= =?utf-8?B?Y0pCUWxyZU9YUElVSGV1Y3R5VXQxRlJXaEs4SnhrbHZTTjZEc1grM0x0eDhR?= =?utf-8?B?MlJwbDhTYVYycEJ5SE1BS3plZGtkOGtGMnRZUTF3UUN2VE9tdHY0dXRSK0tB?= =?utf-8?B?b2Vhb0tlTFpKMWEyVWVXeWZ3WmFMZHlMOFkxdGdXVlIydXJQY3ZIUG55T201?= =?utf-8?B?dHBaalR3QkJFeUhVZVJvUjVmNmxQSVZvNW0yM2w5MCs4Vk0waVVkQT09?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR21MB3263.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b3ace36-946e-49ce-e5c5-08da2d392e6a X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2022 19:14:44.0990 (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: sF5JxV/qFF9+ui6C7gsfE1W+MLAy0UUbkAjPvcqQ/qVKN5Cw06ht9rEfHxdRSCwrc3JI92JytsJrJ/lhkRlHWA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR21MB1998 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 PiBTdWJqZWN0OiBSZTogW1BhdGNoIHYyXSBuZXQvbmV0dnNjOiByZXBvcnQgY29ycmVjdCBzdGF0 cyB2YWx1ZXMNCj4gDQo+IE9uIDUvMy8yMDIyIDc6MTggUE0sIExvbmcgTGkgd3JvdGU6DQo+ID4+ IFN1YmplY3Q6IFJlOiBbUGF0Y2ggdjJdIG5ldC9uZXR2c2M6IHJlcG9ydCBjb3JyZWN0IHN0YXRz IHZhbHVlcw0KPiA+Pg0KPiA+PiBPbiBUdWUsIDI2IEFwciAyMDIyIDIyOjU2OjE0ICswMTAwDQo+ ID4+IEZlcnJ1aCBZaWdpdCA8ZmVycnVoLnlpZ2l0QHhpbGlueC5jb20+IHdyb3RlOg0KPiA+Pg0K PiA+Pj4+ICAgIAkJaWYgKGkgPCBSVEVfRVRIREVWX1FVRVVFX1NUQVRfQ05UUlMpIHsNCj4gPj4+ PiAtCQkJc3RhdHMtPnFfb3BhY2tldHNbaV0gPSB0eHEtPnN0YXRzLnBhY2tldHM7DQo+ID4+Pj4g LQkJCXN0YXRzLT5xX29ieXRlc1tpXSA9IHR4cS0+c3RhdHMuYnl0ZXM7DQo+ID4+Pj4gKwkJCXN0 YXRzLT5xX29wYWNrZXRzW2ldICs9IHR4cS0+c3RhdHMucGFja2V0czsNCj4gPj4+PiArCQkJc3Rh dHMtPnFfb2J5dGVzW2ldICs9IHR4cS0+c3RhdHMuYnl0ZXM7DQo+ID4+Pg0KPiA+Pj4gVGhpcyBp cyBwZXIgcXVldWUgc3RhdHMsICdzdGF0cy0+cV9vcGFja2V0c1tpXScsIGluIG5leHQgaXRlcmF0 aW9uDQo+ID4+PiBvZiB0aGUgbG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