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 AD90C4404B; Wed, 22 May 2024 16:05:29 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3BD81402BB; Wed, 22 May 2024 16:05:29 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2079.outbound.protection.outlook.com [40.107.236.79]) by mails.dpdk.org (Postfix) with ESMTP id 840E5400D6 for ; Wed, 22 May 2024 16:05:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Dd7m06Pk+XSA487VV7lHVA1di3UvZl/0ZX/9xJUtIqIDGJ4dgYf45DorD+z3CbWFZK7IuItbkbIt5bQ7xH6nijAAzDBN3OLIlnqAJYQd9WmGIB/Au0nVpRZ67H32/JElNneyTo/R6bRFI/m5UHAYR6+UG8Y8VnmkWFzARH6H+Q0V1NvlzPPsh6JO+Dx34c/Ygy1A1tLhacPuGPx8VORtG0NUTtSIHPFhhdPbrE5sCLy+HS2Q8QU6aY34kOJBF9/xObFmdtZOFGOBJrcNbktQv90ueFGIA+3FzSCmr8Pu29awZqv7ZZajF2+BUcZfTyb+/vdM84aVfK0MfPkFo7g8SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FYzqgn3MpeHoo4OesAsbZBJwUIjgSX24b97Srn6aLx4=; b=YgNIUJpANCwrcvcxNp72ZuFWcQd2Tc7todd1Ps9H3Ytav2b/I3m02vBKskCrPM7SZejOVX8LpyzuffSgZH6LN1GokzlA1qWeWzGrLpQ6pFlkRwCSi+c8H2VtK4vm4Qj+NadebsAMegvwvJiJP+cmBPmTxvIKMIFwhpZTICYT8IMokgEkirm3VqrRMxyo8/1inpNfXQvaWtir999yaNoN6lpmysJ/D9j25zj+LVUFJkFpU6NvdPXRnIV+Dlb03k0vcad3dlvnIiMd4oGWA03tJsqGTl5e3Axf/AV5qmeLyWXEamb+kVcbS4HSCwVdHMscwEwU12Yo12cajbbThaaTNg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FYzqgn3MpeHoo4OesAsbZBJwUIjgSX24b97Srn6aLx4=; b=G/y6tsIa/o/SxCM7S3t9ySRMRDqw25lVc1PO7jmEqCNM7C3qlDDpuKrg/fv4U52b5+58Qedx4RaqpvbazZ6jqbtvM7AV+BNxvxH4BQ355yE6pgSKFUADchSokmgWhPP6lQ/9GPoQ6zoWudWP/vaXweNg9ZT9pJypMeteVxZwMjE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) by IA1PR12MB7736.namprd12.prod.outlook.com (2603:10b6:208:420::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7587.36; Wed, 22 May 2024 14:05:24 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%5]) with mapi id 15.20.7611.016; Wed, 22 May 2024 14:05:24 +0000 Message-ID: Date: Wed, 22 May 2024 15:05:19 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] net/af_xdp: fix umem map size for zero copy To: =?UTF-8?Q?Morten_Br=C3=B8rup?= , "Du, Frank" , dev@dpdk.org, Andrew Rybchenko Cc: "Loftus, Ciara" , "Burakov, Anatoly" References: <20240426005128.148730-1-frank.du@intel.com> <20240511052618.1890677-1-frank.du@intel.com> <0d02e8c6-0ef4-44e3-9dd2-94685b46136a@amd.com> <36e654fe-078e-4df3-bb2f-de3917da3e17@amd.com> <98CBD80474FA8B44BF855DF32C47DC35E9F48B@smartserver.smartshare.dk> Content-Language: en-US From: Ferruh Yigit Autocrypt: addr=ferruh.yigit@amd.com; keydata= xsFNBGJDD3EBEAC/M7Tk/DfQSmP1K96vyzdhfSBzlCaGtcxNXorq4fALruqVsD3oi0yfyEz9 4YN8x7py0o9EL8ZdpOX0skc0AMCDAaw033uWhCn0GLMeGRKUbfOAPvL6ecSDvGD7CJIO9j0J eZUvasBgPdM/435PEr9DmC6Ggzdzt8IuG4PoLi5jpFSfcqxZFCCxLUDEo/w0nuguk2FTuYJg B2zEZ4JTBZrw7hIHiFh8D8hr6YA6a5uTofq1tr+l048lbtdFUl8TR0aIExVzE4Z8qKZlcE+9 RQaewjK5Al1jLE4sHdmd3GN+IvgDF3D/fLsi25SKJDeGSdeHkOmaX0qGeM4WKIfU6iARRCiQ N3AmBIxZ/A7UXBKLaOyZ+/i3sE6Wb53nrO4i8+0K2Qwyh6LjTeiJAIjYKN43ppxz3DaI+QwQ vI+uyHr4Gg0Da9EPPz/YyKauSeOZCfCB5gIfICO0j6x0SCl8uQ2nLpjxcZkf0gjcwUzP3h+S 3x6NfDji9YEij0zczW/dcSpGgZ6vsFpPrtnP9ZXy6J53yp0kJtOJoOlkEFFdU2yCZnCDseum CoudmGLZVvS0/DzHDJejq+3kK3FDGktZBOxZIIpal+nFqS7lVgOZc4+huVv3jyhzoAUOEyXA XK5j6o7g8STUY+z33QNnHpdLvecMwuzmvqy0jR54yAbZ64mB9QARAQABzSNGZXJydWggWWln aXQgPG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dyA/2qVe cMh1CLUHXF1GlofpGbe1lj4KUJVse5g3qwV7i9VrseA8c4VIZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F48B@smartserver.smartshare.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO2P265CA0266.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a1::14) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA1PR12MB7736:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e0d8797-83f0-4dc6-7843-08dc7a6839a1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|376005|366007|1800799015; X-Microsoft-Antispam-Message-Info: =?utf-8?B?UzhVcmNtdmxZNnJyVlVrY21mU1pWZ2pNTWh2QnBYd2pwV0s0SGV4cndwSDhl?= =?utf-8?B?Q0k0bkZZcS90OXFUM1pBZlZVRDcvUnBtR2ZoUmxPYlNXUkJ2SGxLajRhakhM?= =?utf-8?B?TmxrdmhiNzNMUVhJNkZhcStrelIwQ2hZd0wzZUYwL01OYmorQ0EySG0xOHhQ?= =?utf-8?B?amFkSitqRWpGb3dUbXFzdW51VEJ3R05WejI0YzB2RjgrdEpFWjF6QWJvUWg5?= =?utf-8?B?UStPSkFJNk9FbU1CNVBZU1JUSXBxM09URlNDcmhLdUxmd3NnNlkzZ2F5dTJ4?= =?utf-8?B?cTl2RmlCTjZIOGZ1bWRvcW81K2lCMU1Vd1RuUStSekNlY293aFNMSmk1Qlow?= =?utf-8?B?VVQ3dS9yNEIwYUpSZ0dENG1rRjZFZVRsd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m0vK0N3NURublhLWDB2ZGsvVFVJcFBtelB5QmRy?= =?utf-8?B?ZDVkamZsTHdralJKVGNlTjhlYkE2WE9LYU4vV2drRG12OGY2Q3BzclBQZFQ3?= =?utf-8?B?elNlNW9kaG53TWJacnJtcW9BNGlYVDBMM1UrWVFvUFdNZWtRY1JwbUJ1T0xR?= =?utf-8?B?dHRQbzVodDNXT0lsbjZQRm56bWRtT2ovVzgzRm0vZUlyVXkvRlBEa1BHRkhL?= =?utf-8?B?ZFJ0ZUNhazU1VUhpZVNqMUZ2VmhDM21QdzUzNFR0T2VjZkk0bGRrZzJ5RUNt?= =?utf-8?B?bVRVRnBCK3pRWFpNK000ZlBHRWF2azQwM1JrRnRsTnhoU013b2tXYnFkTFE3?= =?utf-8?B?UjM3WGMxQU9QcEZweFgvZWJEUFlyMTBZL0Zoa28rOE5jYkRFdU55TlRuaDdp?= =?utf-8?B?UjgzME04UkY4QVQrMDM4d1hMNkY2RGY2OXZucm1HOTkvYXBXT2dreWhnPT0=?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CH2PR12MB4294.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(366007)(1800799015); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?SVBlbG8wM1BYTnRkRG5Da2M5VlB2VkJsejBCSXBPWXFvSmY2aTMrQ1BDSU5F?= =?utf-8?B?SWQ5Q1Y5UWxLcTl2QXlTMVJEd0gyUG1pK2kvOERGK0Q3cGJ2R2VSZm92STY1?= =?utf-8?B?bnRFZXhhL09xeVhIRFhkNDdGR2J6VHlDSHdicHUwdjh3alNIaWxtdDV1cGta?= =?utf-8?B?cDEvRHZGRysxTi9mZit3NEFyTTVmQ1ZlcUhtQjJXa0x1V051Q0NuL3M3UGJI?= =?utf-8?B?TXN3dkRvbDZK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= =?utf-8?B?KzFPdXVYamRYSEIySEppTlZSczhSdXJscHRGZ1E3LzkzVFF1TTQ4Q3dSak8w?= =?utf-8?Q?jHCn9x5R4GP4Y2k1bIdhOwP9K?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e0d8797-83f0-4dc6-7843-08dc7a6839a1 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 May 2024 14:05:24.3946 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: aptwRQp3LuavvPGuj/mZ9JMtSVI/ARe0OkMgbbW5HDkkVneFtN0OIfFc0k0tjXic X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7736 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 On 5/22/2024 12:03 PM, Morten Brørup wrote: >> From: Ferruh Yigit [mailto:ferruh.yigit@amd.com] >> Sent: Wednesday, 22 May 2024 12.01 >> >> On 5/22/2024 2:25 AM, Du, Frank wrote: >>>> From: Ferruh Yigit >>>> Sent: Wednesday, May 22, 2024 1:58 AM >>>> >>>> Isn't there a mempool flag that can help us figure out mempool is not IOVA >>>> contiguous? Isn't it sufficient on its own? >>> >>> Indeed, what we need to ascertain is whether it's contiguous in CPU virtual >> space, not IOVA. I haven't come across a flag specifically for CPU virtual >> contiguity. The major limitation in XDP is XSK UMEM only supports registering >> a single contiguous virtual memory area. >>> >> >> 'RTE_MEMPOOL_F_NO_IOVA_CONTIG' is the flag I was looking for. This flag >> being *cleared* implies IOVA contiguous but not sure if it is >> guaranteed, need to check. > > Wrong. > RTE_MEMPOOL_F_NO_IOVA_CONTIG only relates to individual objects in the pool. This flag being cleared only means that each individual object in the mempool is IOVA contiguous. > It does not imply that the entire pool of objects is IOVA contiguous. > Ah, thanks for clarification.