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 5A3F34559E; Sat, 6 Jul 2024 05:41:01 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A5A2432C8; Sat, 6 Jul 2024 05:41:01 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2088.outbound.protection.outlook.com [40.107.93.88]) by mails.dpdk.org (Postfix) with ESMTP id 8F21B40268 for ; Sat, 6 Jul 2024 05:40:59 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oVZyvgSnaagEoJZLChM+0Ct+yycMwxU5+1JdQX8JcKJbjxBhzz6kHsBI3Q+mm1mTO71O3zn0AvtuyAV/68Ig4NOull91Ybfeca54TOFXuchDC3FzKXKsR/wwQjSrpClx/xpFKmIkk3IHCB8AHRpC1jS0ur8uSkC7cMSK4kVIy9oHs33OJJYRbcfEWo7o50CjvPH6MTvrz6glufRaMX15fvZFlDjzqMYS8RIoNBLFc5Y4GQLXJD0njgCKX8Q/j/QnEehD2FQPfEK7dZBnGTTR277svmQQb2JHi4mFSUrDrhcEVUSk7Y1XtwLg7N9/Ubs252U9xAbQlP7fkEYGTUa/dw== 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=k1M+wGciRRJFYoZr1Me6BhxA8I+cIt7OD6CY2sLsNbc=; b=Z/O7LxyN922uZFErKWEbgythbSFNOVikxmBZugxrm7SCcebpcg8Ev0JZBz3C4HekaEfJl4cKzIhzK8eh98wGyWyA3daj+B8msWxkoTCnIB3PXY/noTnsVDCxCkYFa510QS1JqRzwYUF47YLcB/EUiLPW7UsfiM95Vu1Ba4UxswYM6rgAU1YsTVz+R/8OTj43GF5uyfmxm99Bnh4/iW+4PltQAWheUhozNZ/TkaQigg7DKz106gxNPL7VQgjTTApQOSr6qn16YzzWn+9CgHnKANKqx0QcgKoPH2HvaP/zCCcRZPHNPmlNCl5ixdHnbuLIPnabjgZP0ns8QKW7dQKPhg== 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=k1M+wGciRRJFYoZr1Me6BhxA8I+cIt7OD6CY2sLsNbc=; b=3xbA/acdDGPy8dJzwzy6YqVeqI/DrXTdpHQxPZ0Opbxej2Umy/hvCLeJo3q+XgkACCHa/pnIqcE2k43XD3WZGq39X6KHo8hDjXmVy7yFEQTw2e1Xx5LgeKiRySr22hILKnWO299u1cMVBX3aJCQ0dpizh7EF69b00pivlHXmcG0= 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 IA1PR12MB6435.namprd12.prod.outlook.com (2603:10b6:208:3ad::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.26; Sat, 6 Jul 2024 03:40:57 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::ebfb:2f9f:f9ca:82cd%4]) with mapi id 15.20.7741.031; Sat, 6 Jul 2024 03:40:57 +0000 Message-ID: Date: Sat, 6 Jul 2024 04:40:52 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5] net/af_xdp: parse umem map info from mempool range api To: =?UTF-8?Q?Morten_Br=C3=B8rup?= , Frank Du , dev@dpdk.org Cc: ciara.loftus@intel.com References: <20240426005128.148730-1-frank.du@intel.com> <20240620032523.440117-1-frank.du@intel.com> <98CBD80474FA8B44BF855DF32C47DC35E9F53E@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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYj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PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <98CBD80474FA8B44BF855DF32C47DC35E9F53E@smartserver.smartshare.dk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0566.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:33b::16) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|IA1PR12MB6435:EE_ X-MS-Office365-Filtering-Correlation-Id: fc4553dc-df2b-4e91-89dc-08dc9d6d71bf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|366016; X-Microsoft-Antispam-Message-Info: =?utf-8?B?RHYwdFRBRzBSZDVMZXBPd2E2a21RcUFtM0ZSTWMvM29KZTBBMUpUWEI2RHpa?= =?utf-8?B?UEVhUWd5eVBFZ252VHZlazN4cE1Ra3lodDE4WklpaTl5MVRKL0NZZDJaZW45?= =?utf-8?B?SE5ybXJkU0Ixai9kN1R3VDVjREdjTDFuN2EzdWpPNkd5TkIrWDZwQlh4RDdo?= =?utf-8?B?WmgyV3Y0U0o0RFpuL2lzYWlEMTc0N3FOMHk1QnFpWjZEK1VHa202cmw1U0Uw?= =?utf-8?B?U05QWlBlc2tQSFVuZVRuZTZzT3JHaithTnRudFpKR05nSnErZWxDVk5Ld3h1?= =?utf-8?B?bXRibk5PVVRwYjhFNDVDOFRaVHZyVEQ5VkxWVy9PK3BWc2IrbkpZQjltZE9U?= =?utf-8?B?dEFRSm4vMlV2a2F6Z3FHMnlpcG55YWE1RVBVT3pqRncvTHZSQmxmUGxuVVVr?= =?utf-8?B?WDRkSTBXRWFKM29lTFZLVldLU3EzdHVOb1VvWE1nM1lrWW1obnZnN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TdXSkJyekcv?= =?utf-8?B?OTA0aC93UndZb3l6RDBxbTlySmFPb2NyRVY3WFMyWDBqSEZDZENEbE5nN0U2?= =?utf-8?B?a0Y2VzNySFVpTVZqWjVUYnMwbThaelhMVEVHMGl0Z2U4QmxEUGlVcnU1Z2pI?= =?utf-8?B?encyamFraGpMMm91WUN6N1FITmJRTE1DSzJwc1JSdTJid1drSEl4OENUZVpP?= =?utf-8?B?V0QxOVEzZWJJekhsVzd4blF1V0Z6VmN2M2dod1phTzJ1ZUFjUWhBaWx5cXZ1?= =?utf-8?B?TXh1eDdKRWUyZ0tXZW15eVdWSzkxRm5SbVB5T0p6V21yQ0U3SlhLanBuTlVL?= =?utf-8?B?a2FBUkd3aXM1UGVkc0QvcUlGWUlVRGRaNUV5dmVuZkJZOGtpeFRYVEsrM3ph?= =?utf-8?B?N0pQTlI5STk4UDFBNDd0SUhxRHMrSTBZejV1Y3Jvc29HU0tRZHpuSFRJb1p1?= =?utf-8?B?akY5ZTFQYmZtaXNFdC9ZQT09?= 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:(13230040)(1800799024)(376014)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?T016YXVVbVBoU1kyekJPWmJiZ2I0em9mSW9kajlxWjNINnQwc0hOTCs2TXp5?= =?utf-8?B?bDRCaG9Ka1lEaHNIMm01VHZVU2hka2JtTWtEVVZBQzZpdFhWcUtaNVNnQVBx?= =?utf-8?B?YzBvM05vbzh0eUJtU09KRDdyODM5K1R0VWk3aTYvenVHMWViUDF1VEhmaWZR?= =?utf-8?B?bG5ONHN1ZUJJNkNiSlZxSWFnenp4c3A4YURmYUc3b251Qm1WZk1sOHE1dW1J?= =?utf-8?B?ZlVQZ3Q5dFM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ExL3RmQ2xOUzFaNmNj?= =?utf-8?B?RVJsNmh2YzdMaCtyd3ZZbk5seWNXU05EWFMxS3dkUlRFc2x1c0lhVGcvS0hC?= =?utf-8?Q?JDON3XuaSyq/1h6Cb8b7PAoMZ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fc4553dc-df2b-4e91-89dc-08dc9d6d71bf X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2024 03:40:57.3064 (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: 4wxvY9RD2IBpsaHKhUN8wiEu7LC7MLGQtx+7qfL2M/nKryWNuSGNZ3trwMGJB9OZ X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6435 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 6/20/2024 8:10 AM, Morten Brørup wrote: >> From: Frank Du [mailto:frank.du@intel.com] >> >> The current calculation assumes that the mbufs are contiguous. However, >> this assumption is incorrect when the mbuf memory spans across huge page. >> >> Correct to directly read with mempool get range API. >> >> Fixes: d8a210774e1d ("net/af_xdp: support unaligned umem chunks") >> Cc: stable@dpdk.org >> >> Signed-off-by: Frank Du >> >> --- >> v2: >> * Add virtual contiguous detect for for multiple memhdrs >> v3: >> * Use RTE_ALIGN_FLOOR to get the aligned addr >> * Add check on the first memhdr of memory chunks >> v4: >> * Replace the iterating with simple nb_mem_chunks check >> v5: >> * Use rte_mempool_get_mem_range to query the mempool range >> --- > > Acked-by: Morten Brørup > Acked-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.