From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0133.outbound.protection.outlook.com [104.47.2.133]) by dpdk.org (Postfix) with ESMTP id B206B2BD8 for ; Sun, 16 Sep 2018 07:55:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cgstowernetworks.onmicrosoft.com; s=selector1-cgstowernetworks-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=BWWV/msyWH1tPpSThCCRgtyqNM5VPL7QTznIvNbaehA=; b=D6vaxGa9d/bUQ5PPkz1bgEU6qlwJUhTOTceFsz5TbOnVtjBntdxZfpLo267inzQ4KnAvBjDSDWbCoRAH02epTrdKSTAdUJGttF+mrkBQePxOPIsi64NvkebvXBDnqG+JUBdK5Z9XroJLQnaIeQe5JZGCMG/ZwxeE7hqPRs2+Uc0= Received: from DB6PR0902MB1829.eurprd09.prod.outlook.com (10.171.76.22) by DB6PR0902MB2088.eurprd09.prod.outlook.com (10.170.215.160) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.15; Sun, 16 Sep 2018 05:55:06 +0000 Received: from DB6PR0902MB1829.eurprd09.prod.outlook.com ([fe80::74ab:46d4:3504:2872]) by DB6PR0902MB1829.eurprd09.prod.outlook.com ([fe80::74ab:46d4:3504:2872%6]) with mapi id 15.20.1143.014; Sun, 16 Sep 2018 05:55:06 +0000 From: Yogev Chaimovich To: Yong Wang CC: "dev@dpdk.org" Thread-Topic: [PATCH] vmxnet3: stats_reset implementation Thread-Index: AQHUOesWr8UftqP2Vk2BAYD1SvcV2qTu3ROAgAOw+LA= Date: Sun, 16 Sep 2018 05:55:06 +0000 Message-ID: References: <1534923617-55302-1-git-send-email-yogev@cgstowernetworks.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=yogev@cgstowernetworks.com; x-originating-ip: [5.144.48.231] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB6PR0902MB2088; 6:L6znX5++A70QRTKOxYNuQ/VTLJ5lVHj7WUY/xqQcgThqh/HEDGXq9syS/W/KME0aLzlonxpdZxwrawckFkEEHwa5zsfRbb8qF2tRjTWlwM+qF1KtxRn8uRwN7pCy1kcwN1qVZIwk/mS98TMGZ7RMYw6F6R2ZU2MhDMmDtS+6Ekq5mVW9zc4iXA0sXQ3suewOJdfmuxEt2m6IHC/6KmASe5RO7rd0TfgIaSOfn+kd+ErO0F1K97gMtf5A05D8in6dlK0KFDDMFLaBmA3h1kyOQ1DITEdIxfZ9RN0oSZNewBXOnqzGo2bu2oznj9Wsra/HqHvyguH51yKa/9a4o98NCBUnJEAlHV1lS2/bO86g6N5axGMbo22e0gegBhmO7/EDIGyWHDX7rkfZEak5wSrmgzChG9nGkE0VUIrP6aCjxW/UzTyC1SNZDjpR2TgEHBNMtZbOoMRJjkKvKVf/laYLvA==; 5:nvu4uAR46Ezik0qjaS6aFFeDyXeduz5oRNMn6yIW1nzJsB2reDenHxf+1bn+1ICdLlsBX6caFNYccYHmzcFLdKOBGM1lx+sui+jAoHHuqDLUMjuvx9KjEFmcYAchR8vhmx+6cDuF1WyygNxoFeVveO11nUZyL1Cw0t69ezsI3Ig=; 7:iBvWb/OaiJCQ5cYQSZY1NmEpevfhaxvVHQnlPdpS0EY6653YeYTLHwvOg55AhS7Bbt8NK5essgk36GFoLQdDAG3kV4TOz/snqugs+nWSx2y3ZVLCn4IZTWd+MvvZ9/pQYR63UjCs0HKrVqGxJIZKCTj+mPgNKC0s9YFoCkWeDe07EOsjsNtf5UQ332dpjubjzAG/Fkx+cz+C0LGaax+QHgGM8M1yHKrnJOFo4O+lUzpQeR1C7sJdC6ra0sguK9X1 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: a97feb1f-e62d-40f0-9545-08d61b98f43c x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(7021125)(8989137)(4534165)(7022125)(4603075)(4627221)(201702281549075)(8990107)(7048125)(7024125)(7027125)(7023125)(5600074)(711020)(2017052603328)(7153060)(49563074)(7193020); SRVR:DB6PR0902MB2088; x-ms-traffictypediagnostic: DB6PR0902MB2088: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(61668805478150); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(102415395)(6040522)(2401047)(5005006)(8121501046)(10201501046)(93006095)(93001095)(3231355)(944501410)(52105095)(3002001)(149027)(150027)(6041310)(2016111802025)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(6043046)(201708071742011)(7699050); SRVR:DB6PR0902MB2088; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0902MB2088; x-forefront-prvs: 079756C6B9 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(39830400003)(376002)(346002)(136003)(396003)(366004)(199004)(13464003)(189003)(3846002)(186003)(9686003)(6506007)(102836004)(53546011)(81156014)(81166006)(55016002)(11346002)(8676002)(5024004)(256004)(486006)(476003)(14444005)(26005)(53936002)(6116002)(86362001)(106356001)(8936002)(105586002)(99286004)(446003)(5660300001)(316002)(71446004)(5250100002)(66066001)(99936001)(97736004)(2900100001)(508600001)(33656002)(7696005)(76176011)(4326008)(25786009)(68736007)(229853002)(6916009)(74316002)(2906002)(6436002)(6246003)(7736002)(14454004)(305945005); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0902MB2088; H:DB6PR0902MB1829.eurprd09.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: cgstowernetworks.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: EWxrEAdkSdKw0w1A6TfzQvl4OZ0xYSEio2040CPOO6MVXoixhH1VYAWe8iWjEljXqK2cLbnPGHeVLR9kB+o2sIDwJmzq9Bu8JJ8PkO8If830OtRdUdHWEbj3CDMe5OXpEkew2WlMxiP12V2Jk83tlnpA6bqh9U+JExz6IXF1es+DeguLI8LSksBcCULTKDlqTYuE/mes2DgKtp3m3P9y/KGj7JkaJq9HzU7kqPs8ie1I3WL/MB5kUUAaKe7Uej7FY/rrzqg9SHZokVqHsNz9xaLZoIWzg3HnbuGcmQLWYWNTlC5PqvOz3eRqdjGauF3kLS4MPvYr/UBoJzP4Eggy6sFIQSxgaCDa4eLGQJhFmJY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: cgstowernetworks.com X-MS-Exchange-CrossTenant-Network-Message-Id: a97feb1f-e62d-40f0-9545-08d61b98f43c X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Sep 2018 05:55:06.4375 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: fc9e9498-07e8-4b82-b4cf-365bba23cbbf X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0902MB2088 X-Mailman-Approved-At: Sun, 16 Sep 2018 20:47:55 +0200 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] vmxnet3: stats_reset implementation X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Sep 2018 05:55:08 -0000 Tm8gcHJvYmxlbS4NCkkgd3JvdGUgdGhpcyBkZXNjcmlwdGlvbiAtIEkgaG9wZSBpdCdzIHVuZGVy c3RhbmRhYmxlLg0KSSBhbHNvIGF0dGFjaGVkIHRoZSBuZXcgY29tbWl0IHRvIHRoaXMgbWFpbC4N Cg0KIg0KJ3N0YXRzX3Jlc2V0KCknIGN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