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 71ACF41D91; Mon, 27 Feb 2023 20:35:42 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0982740A84; Mon, 27 Feb 2023 20:35:42 +0100 (CET) Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by mails.dpdk.org (Postfix) with ESMTP id 3FA3440A7D for ; Mon, 27 Feb 2023 20:35:40 +0100 (CET) Received: from frapeml100005.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4PQVw55tJlz6J7Df; Tue, 28 Feb 2023 03:30:45 +0800 (CST) Received: from frapeml500007.china.huawei.com (7.182.85.172) by frapeml100005.china.huawei.com (7.182.85.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Mon, 27 Feb 2023 20:35:39 +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; Mon, 27 Feb 2023 20:35:39 +0100 From: Konstantin Ananyev To: Feifei Wang , Konstantin Ananyev , Yuying Zhang , Beilei Xing , Ruifeng Wang CC: "dev@dpdk.org" , nd , Honnappa Nagarahalli , nd Subject: RE: [PATCH v3 2/3] net/i40e: enable direct rearm with separate API Thread-Topic: [PATCH v3 2/3] net/i40e: enable direct rearm with separate API Thread-Index: AQHZIA9X2G9SbpcR3E+YGLgR3e2mR6671uYAgCJC8YCABWpQoA== Date: Mon, 27 Feb 2023 19:35:39 +0000 Message-ID: References: <20220420081650.2043183-1-feifei.wang2@arm.com> <20230104073043.1120168-1-feifei.wang2@arm.com> <20230104073043.1120168-3-feifei.wang2@arm.com> <445b0731-8e91-31dc-2ce5-90616c03f431@yandex.ru> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.206.138.42] 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 DQoNCj4gPiA+ICtpbnQNCj4gPiA+ICtpNDBlX3R4X2ZpbGxfc3dfcmluZyh2b2lkICp0eF9xdWV1 ZSwNCj4gPiA+ICsJCXN0cnVjdCBydGVfZXRoX3J4cV9yZWFybV9kYXRhICpyeHFfcmVhcm1fZGF0 YSkgew0KPiA+ID4gKwlzdHJ1Y3QgaTQwZV90eF9xdWV1ZSAqdHhxID0gdHhfcXVldWU7DQo+ID4g PiArCXN0cnVjdCBpNDBlX3R4X2VudHJ5ICp0eGVwOw0KPiA+ID4gKwl2b2lkICoqcnhlcDsNCj4g PiA+ICsJc3RydWN0IHJ0ZV9tYnVmICptOw0KPiA+ID4gKwlpbnQgaSwgbjsNCj4gPiA+ICsJaW50 IG5iX3JlYXJtID0gMDsNCj4gPiA+ICsNCj4gPiA+ICsJaWYgKCpyeHFfcmVhcm1fZGF0YS0+cmVh cm1fbmIgPCB0eHEtPnR4X3JzX3RocmVzaCB8fA0KPiA+ID4gKwkJCXR4cS0+bmJfdHhfZnJlZSA+ IHR4cS0+dHhfZnJlZV90aHJlc2gpDQo+ID4gPiArCQlyZXR1cm4gMDsNCj4gPiA+ICsNCj4gPiA+ ICsJLyogY2hlY2sgREQgYml0cyBvbiB0aHJlc2hvbGQgZGVzY3JpcHRvciAqLw0KPiA+ID4gKwlp ZiAoKHR4cS0+dHhfcmluZ1t0eHEtPnR4X25leHRfZGRdLmNtZF90eXBlX29mZnNldF9ic3ogJg0K PiA+ID4gKwkJCXJ0ZV9jcHVfdG9fbGVfNjQo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