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 3665E43DFA; Thu, 4 Apr 2024 15:26:11 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1F4C6402ED; Thu, 4 Apr 2024 15:26:11 +0200 (CEST) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 36C394025D for ; Thu, 4 Apr 2024 15:26:10 +0200 (CEST) Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4V9MmH1ntWz6HJZw; Thu, 4 Apr 2024 21:24:47 +0800 (CST) Received: from frapeml500007.china.huawei.com (unknown [7.182.85.172]) by mail.maildlp.com (Postfix) with ESMTPS id 86BC6140C72; Thu, 4 Apr 2024 21:26:09 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml500007.china.huawei.com (7.182.85.172) 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 15:26:09 +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 15:26:09 +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/kIwgAIOV4CAAXD9wICDX7iAgAHFjrA= Date: Thu, 4 Apr 2024 13:26:09 +0000 Message-ID: <04daf6bc50184e9398f0a0ac0bc42759@huawei.com> References: <20240107175900.1276c0a5@hermes.local> <5c28d2a26f5142c3a509cc8bda2fca75@huawei.com> <20240109150611.00d13e13@hermes.local> <59dfbb6360104c348b4eb3dc767b0233@huawei.com> <6303f2bf-fc5c-46dd-bcac-f79c0c824a02@amd.com> In-Reply-To: <6303f2bf-fc5c-46dd-bcac-f79c0c824a02@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 DQoNCj4gPj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gPj4gRnJvbTogU3RlcGhlbiBI ZW1taW5nZXIgPHN0ZXBoZW5AbmV0d29ya3BsdW1iZXIub3JnPg0KPiA+PiBTZW50OiBUdWVzZGF5 LCBKYW51YXJ5IDksIDIwMjQgMTE6MDcgUE0NCj4gPj4gVG86IEtvbnN0YW50aW4gQW5hbnlldiA8 a29uc3RhbnRpbi5hbmFueWV2QGh1YXdlaS5jb20+DQo+ID4+IENjOiBkZXZAZHBkay5vcmc7IGFy c2hkZWVwLmthdXJAaW50ZWwuY29tOyBHb3dkYSwgU2FuZGVzaCA8c2FuZGVzaC5nb3dkYUBpbnRl bC5jb20+OyBSZXNobWEgUGF0dGFuDQo+ID4+IDxyZXNobWEucGF0dGFuQGludGVsLmNvbT4NCj4g Pj4gU3ViamVjdDogUmU6IElzc3VlcyBhcm91bmQgcGFja2V0IGNhcHR1cmUgd2hlbiBzZWNvbmRh cnkgcHJvY2VzcyBpcyBkb2luZyByeC90eA0KPiA+Pg0KPiA+PiBPbiBNb24sIDggSmFuIDIwMjQg MTU6MTM6MjUgKzAwMDANCj4gPj4gS29uc3RhbnRpbiBBbm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