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 8087043FCB; Thu, 9 May 2024 09:43:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4DB8A402D7; Thu, 9 May 2024 09:43:20 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id E63BB402B7 for ; Thu, 9 May 2024 09:43:18 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id E21F720FA4; Thu, 9 May 2024 09:43:17 +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: [RFC v3] net/af_packet: make stats reset reliable Date: Thu, 9 May 2024 09:43:16 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F431@smartserver.smartshare.dk> In-Reply-To: <20240508135418.55505105@hermes.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [RFC v3] net/af_packet: make stats reset reliable Thread-Index: Adqhiekq8JSMTmdeT4yFu94T3A4tKgATT0Vw References: <20240425174617.2126159-1-ferruh.yigit@amd.com><20240503154547.392069-1-ferruh.yigit@amd.com><20240503150011.55681b97@hermes.local><432fb280-96e3-4079-b987-990d509b8c79@lysator.liu.se><20240508082339.6bf74202@hermes.local><834102e5-8f4b-4b67-9f62-8e8f61403b39@amd.com> <20240508135418.55505105@hermes.local> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Stephen Hemminger" , "Ferruh Yigit" Cc: =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "John W. Linville" , "Thomas Monjalon" , , =?UTF-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= 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 PiBGcm9tOiBTdGVwaGVuIEhlbW1pbmdlciBbbWFpbHRvOnN0ZXBoZW5AbmV0d29ya3BsdW1iZXIu b3JnXQ0KPiBTZW50OiBXZWRuZXNkYXksIDggTWF5IDIwMjQgMjIuNTQNCj4gDQo+IE9uIFdlZCwg OCBNYXkgMjAyNCAyMDo0ODowNiArMDEwMA0KPiBGZXJydWggWWlnaXQgPGZlcnJ1aC55aWdpdEBh bWQuY29tPiB3cm90ZToNCj4gDQo+ID4gPg0KPiA+ID4gVGhlIGlkZWEgb2YgbG9hZCB0ZWFyaW5n IGlzIGNyYXp5IHRhbGsgb2YgaW50ZWdyYWwgdHlwZXMuIEl0IHdvdWxkDQo+IGJyZWFrIHNvIG1h bnkgdGhpbmdzLg0KPiA+ID4gSXQgaXMgdGhlIGtpbmQgb2Ygc3R1cGlkIGNvbXBpbGVyIHRoaW5n IHRoYXQgd291bGQgc2VuZCBMaW51cyBvbiBhDQo+IHJhbnQgYW5kIGdldA0KPiA+ID4gdGhlIEdD QyBjb21waWxlciB3cml0ZXJzIGluIHRyb3VibGUuDQo+ID4gPg0KPiA+ID4gVGhlIERQREsgaGFz IGFsd2F5cyBmYXZvcmVkIHBlcmZvcm1hbmNlIG92ZXIgc3RyaWN0IHNhZmV0eSBndWFyZA0KPiBy YWlscyBldmVyeXdoZXJlLg0KPiA+ID4gU3dpdGNoaW5nIHRvIG1ha2luZyBldmVyeSBzdGF0aXN0 aWMgYW4gYXRvbWljIG9wZXJhdGlvbiBpcyBub3QgaW4NCj4gdGhlIHNwaXJpdCBvZg0KPiA+ID4g d2hhdCBpcyByZXF1aXJlZC4gVGhlcmUgaXMgbm8gc3RyaWN0IGd1YXJhbnRlZ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