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 7BF5641E02; Tue, 7 Mar 2023 11:52:35 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5EC9540E03; Tue, 7 Mar 2023 11:52:35 +0100 (CET) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 5ECE04067E; Tue, 7 Mar 2023 11:52:33 +0100 (CET) Received: from frapeml500006.china.huawei.com (unknown [172.18.147.207]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4PWC2L5jfRz6J7SM; Tue, 7 Mar 2023 18:52:26 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml500006.china.huawei.com (7.182.85.219) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Tue, 7 Mar 2023 11:52:32 +0100 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.021; Tue, 7 Mar 2023 11:52:32 +0100 From: Konstantin Ananyev To: Honnappa Nagarahalli , Ferruh Yigit , =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= , Feifei Wang , "thomas@monjalon.net" , Andrew Rybchenko , "techboard@dpdk.org" CC: "dev@dpdk.org" , "konstantin.v.ananyev@yandex.ru" , nd , Ruifeng Wang , nd Subject: RE: [PATCH v3 1/3] ethdev: enable direct rearm with separate API Thread-Topic: [PATCH v3 1/3] ethdev: enable direct rearm with separate API Thread-Index: AQHZIA6CPcmfNdE/kkeI1aPD5ycLAK6N2keAgGApAACAAApUAIAAGvYAgAD+KwCAAFs6sA== Date: Tue, 7 Mar 2023 10:52:31 +0000 Message-ID: <323679e21ae7498d915db53450ac9acd@huawei.com> References: <20220420081650.2043183-1-feifei.wang2@arm.com> <20230104073043.1120168-1-feifei.wang2@arm.com> <20230104073043.1120168-2-feifei.wang2@arm.com> <98CBD80474FA8B44BF855DF32C47DC35D8761D@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35D877B7@smartserver.smartshare.dk> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.48.149.130] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected 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 DQoNCj4gPiBPbiAzLzYvMjAyMyAxOjI2IFBNLCBNb3J0ZW4gQnLDuHJ1cCB3cm90ZToNCj4gPiA+ PiBGcm9tOiBGZXJydWggWWlnaXQgW21haWx0bzpmZXJydWgueWlnaXRAYW1kLmNvbV0NCj4gPiA+ PiBTZW50OiBNb25kYXksIDYgTWFyY2ggMjAyMyAxMy40OQ0KPiA+ID4+DQo+ID4gPj4gT24gMS80 LzIwMjMgODoyMSBBTSwgTW9ydGVuIEJyw7hydXAgd3JvdGU6DQo+ID4gPj4+PiBGcm9tOiBGZWlm ZWkgV2FuZyBbbWFpbHRvOmZlaWZlaS53YW5nMkBhcm0uY29tXQ0KPiA+ID4+Pj4gU2VudDogV2Vk bmVzZGF5LCA0IEphbnVhcnkgMjAyMyAwOC4zMQ0KPiA+ID4+Pj4NCj4gPiA+Pj4+IEFkZCAndHhf ZmlsbF9zd19yaW5nJyBhbmQgJ3J4X2ZsdXNoX2Rlc2NyaXB0b3InIEFQSSBpbnRvIGRpcmVjdA0K PiA+ID4+Pj4gcmVhcm0gbW9kZSBmb3Igc2VwYXJhdGUgUnggYW5kIFR4IE9wZXJhdGlvbi4gQW5k IHRoaXMgY2FuIHN1cH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