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 50C2D43DFB; Thu, 4 Apr 2024 18:18:22 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CB663402E8; Thu, 4 Apr 2024 18:18:21 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 00662402BC for ; Thu, 4 Apr 2024 18:18:19 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4V9RZv681mz6J9mG; Fri, 5 Apr 2024 00:16:55 +0800 (CST) Received: from frapeml500008.china.huawei.com (unknown [7.182.85.71]) by mail.maildlp.com (Postfix) with ESMTPS id 79AF4140CB9; Fri, 5 Apr 2024 00:18:18 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml500008.china.huawei.com (7.182.85.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 4 Apr 2024 18:18:18 +0200 Received: from frapeml500007.china.huawei.com ([7.182.85.172]) by frapeml500007.china.huawei.com ([7.182.85.172]) with mapi id 15.01.2507.035; Thu, 4 Apr 2024 18:18:18 +0200 From: Konstantin Ananyev To: Ferruh Yigit , Stephen Hemminger CC: "dev@dpdk.org" , "arshdeep.kaur@intel.com" , "Gowda, Sandesh" , "Reshma Pattan" Subject: RE: Issues around packet capture when secondary process is doing rx/tx Thread-Topic: Issues around packet capture when secondary process is doing rx/tx Thread-Index: AQHaQdZbww5LrB7u+kG/lMknfiGZILDP/kIwgAIOV4CAAXD9wICDX7iAgAHFjrD///CoAIAAPyEA Date: Thu, 4 Apr 2024 16:18:18 +0000 Message-ID: <3604712b9efb4a698b7029d14b61c323@huawei.com> References: <20240107175900.1276c0a5@hermes.local> <5c28d2a26f5142c3a509cc8bda2fca75@huawei.com> <20240109150611.00d13e13@hermes.local> <59dfbb6360104c348b4eb3dc767b0233@huawei.com> <6303f2bf-fc5c-46dd-bcac-f79c0c824a02@amd.com> <04daf6bc50184e9398f0a0ac0bc42759@huawei.com> <4aee87dd-f4fd-4d74-b2e1-a3b7b195e41c@amd.com> In-Reply-To: <4aee87dd-f4fd-4d74-b2e1-a3b7b195e41c@amd.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.48.158.230] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 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 DQo+ID4+Pj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPj4+PiBGcm9tOiBTdGVwaGVu IEhlbW1pbmdlciA8c3RlcGhlbkBuZXR3b3JrcGx1bWJlci5vcmc+DQo+ID4+Pj4gU2VudDogVHVl c2RheSwgSmFudWFyeSA5LCAyMDI0IDExOjA3IFBNDQo+ID4+Pj4gVG86IEtvbnN0YW50aW4gQW5h bnlldiA8a29uc3RhbnRpbi5hbmFueWV2QGh1YXdlaS5jb20+DQo+ID4+Pj4gQ2M6IGRldkBkcGRr Lm9yZzsgYXJzaGRlZXAua2F1ckBpbnRlbC5jb207IEdvd2RhLCBTYW5kZXNoIDxzYW5kZXNoLmdv d2RhQGludGVsLmNvbT47IFJlc2htYSBQYXR0YW4NCj4gPj4+PiA8cmVzaG1hLnBhdHRhbkBpbnRl bC5jb20+DQo+ID4+Pj4gU3ViamVjdDogUmU6IElzc3VlcyBhcm91bmQgcGFja2V0IGNhcHR1cmUg d2hlbiBzZWNvbmRhcnkgcHJvY2VzcyBpcyBkb2luZy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