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 CFE9644105; Wed, 29 May 2024 16:16:37 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 690ED402CD; Wed, 29 May 2024 16:16:37 +0200 (CEST) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id AE2F0402B9 for ; Wed, 29 May 2024 16:16:35 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id 815BB20900; Wed, 29 May 2024 16:16:35 +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: [PATCH v2] net/af_xdp: fix umem map size for zero copy X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Wed, 29 May 2024 16:16:32 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F4CC@smartserver.smartshare.dk> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH v2] net/af_xdp: fix umem map size for zero copy Thread-Index: AQHao2YIp6/orB3VBEGMOIe5GUdgmLGiCesAgAB9FICAAGT0AIABieOAgAAMbACAAARGAIAJwdgwgAAS1pA= References: <20240426005128.148730-1-frank.du@intel.com> <20240511052618.1890677-1-frank.du@intel.com> <0d02e8c6-0ef4-44e3-9dd2-94685b46136a@amd.com> <98CBD80474FA8B44BF855DF32C47DC35E9F487@smartserver.smartshare.dk> <98CBD80474FA8B44BF855DF32C47DC35E9F491@smartserver.smartshare.dk> From: =?UTF-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Loftus, Ciara" , "Du, Frank" , "Andrew Rybchenko" , "Paul Szczepanek" Cc: "Ferruh Yigit" , , "Burakov, Anatoly" 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 PiBGcm9tOiBMb2Z0dXMsIENpYXJhIFttYWlsdG86Y2lhcmEubG9mdHVzQGludGVsLmNvbV0NCj4g U2VudDogV2VkbmVzZGF5LCAyOSBNYXkgMjAyNCAxNC41OA0KPiANCj4gPiBGcm9tOiBEdSwgRnJh bmsgPGZyYW5rLmR1QGludGVsLmNvbT4NCj4gPiBTZW50OiBUaHVyc2RheSwgTWF5IDIzLCAyMDI0 IDg6NTYgQU0NCj4gPg0KPiA+ID4gRnJvbTogTW9ydGVuIEJyw7hydXAgPG1iQHNtYXJ0c2hhcmVz eXN0ZW1zLmNvbT4NCj4gPiA+IFNlbnQ6IFRodXJzZGF5LCBNYXkgMjMsIDIwMjQgMzo0MSBQTQ0K PiA+ID4NCj4gPiA+ID4gRnJvbTogRHUsIEZyYW5rIFttYWlsdG86ZnJhbmsuZHVAaW50ZWwuY29t XQ0KPiA+ID4gPiBTZW50OiBUaHVyc2RheSwgMjMgTWF5IDIwMjQgMDguNTYNCj4gPiA+ID4NCj4g PiA+ID4gPiBGcm9tOiBNb3J0ZW4gQnLDuHJ1cCA8bWJAc21hcnRzaGFyZXN5c3RlbXMuY29tPg0K PiA+ID4gPiA+IFNlbnQ6IFdlZG5lc2RheSwgTWF5IDIyLCAyMDI0IDM6MjcgUE0NCj4gPiA+ID4g Pg0KPiA+ID4gPiA+ID4gRnJvbTogRHUsIEZyYW5rIFttYWlsdG86ZnJhbmsuZHVAaW50ZWwuY29t XQ0KPiA+ID4gPiA+ID4gU2VudDogV2VkbmVzZGF5LCAyMiBNYXkgMjAyNCAwMy4yNQ0KPiA+ID4g PiA+ID4NCj4gPiA+ID4gPiA+ID4gRnJvbTogRmVycnVoIFlpZ2l0IDxmZXJydWgueWlnaXRAYW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