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 ADE2045AFB; Thu, 10 Oct 2024 04:51:02 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C74524029A; Thu, 10 Oct 2024 04:51:00 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2060.outbound.protection.outlook.com [40.107.223.60]) by mails.dpdk.org (Postfix) with ESMTP id DE3C54025C for ; Thu, 10 Oct 2024 04:50:58 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=jYf0uqNvPKcPXCQkcwKVwNvZKIS2ugskUzhWMA6J4v+WMGzyahN6BS6kq6EyvqH7DlPAqp2E+n8nkc8Zfsfw578ljtCvmvCHFWvWOIztgTfjnsCnosmcuqnbDqzmCtgNUmKOXMbY1zahupZN9lAFgqyzyQDl17AsyHJ3jUMgAGd5/3GZEorKZO7nXx/3b7q8n2eWstkngolu0bdAcOQrZzBIVPc0oWpx56uMB3BG/o2LODigPnaugsEY9fH4Fm/JdzQUunH5Y1VSChvUrYXnaWD9aD6TW4blI5Bawiwdv3wYt0kX8WnNInGMCcjx9PgX5x1E87UmrzJa/rKkL0ZTXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=+ZGWKDVpRh0kt9BI08ioHxRAmClIsdhZA+qXX2GnxGU=; b=p/jiM1Th5XTRQxtknCjMBDoZK3TZsMM2VfvP/QmOEawlz8/cDuPX8pnUHVUBx1YEVfvHXkOx0SJTNzfa1I2Up5arQUE/04NVCt6xT5xjOdRNASSzQtrAEfCIo6NC7D/UuHx77SFojRqyQ0IVW4Ua7Hh2xicKIZLCK9TlXsT07dJJTU6yCHUqrfT1S16vplzstjj+J9DT7RwmcnK5ZmqnL1NG9H6yoQk0TUcMHYCgCYkOhDlbGkjHkVinjvNmLEYd9+HXK/xIH974S8Bn+I+heihbTk4x8MVwZyc0IHd8C6CEkPy+rDsgCnf8gI/42PW+s6yOl3rD3ww1Mf5gjlyA7Q== 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=+ZGWKDVpRh0kt9BI08ioHxRAmClIsdhZA+qXX2GnxGU=; b=oknN5aBP7ZJAkdep454dY/6792//iOsy+v6X/AArP1UkKkhZOQPcfbOHDm8/qiETzZ2vBp29aa0DZC2/zOSa7qtT5X5xz4G4UfXY/mFAM0RUD01Miqh00nYmlqJgZ7b0bszHFiRQigk9llNGhQ1DLDr+M67mllymovK0dTXZoko= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) by SJ0PR12MB6943.namprd12.prod.outlook.com (2603:10b6:a03:44b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.22; Thu, 10 Oct 2024 02:50:56 +0000 Received: from SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055]) by SJ2PR12MB8830.namprd12.prod.outlook.com ([fe80::c3eb:df02:eaa9:2055%4]) with mapi id 15.20.8026.020; Thu, 10 Oct 2024 02:50:56 +0000 Message-ID: <7ef82ad1-a48a-462b-b304-bac95a9259ae@amd.com> Date: Thu, 10 Oct 2024 03:50:45 +0100 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 1/4] kvargs: add one new process API To: Chengwen Feng , thomas@monjalon.net Cc: dev@dpdk.org, stephen@networkplumber.org References: <20230314124813.39521-1-fengchengwen@huawei.com> <20241009045030.26874-1-fengchengwen@huawei.com> <20241009045030.26874-2-fengchengwen@huawei.com> 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 AQIeAQIXgAIZARYhBEm7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zME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20241009045030.26874-2-fengchengwen@huawei.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SI2PR02CA0045.apcprd02.prod.outlook.com (2603:1096:4:196::21) To SJ2PR12MB8830.namprd12.prod.outlook.com (2603:10b6:a03:4d0::9) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ2PR12MB8830:EE_|SJ0PR12MB6943:EE_ X-MS-Office365-Filtering-Correlation-Id: 0df57e9e-0a2d-42d1-3272-08dce8d65d43 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?TlU0U0FSQVgyOFc5ZkF2WEZrUDVuSFIzTnFzcWxsRE1SbWljTTJHbnoybkpP?= =?utf-8?B?TEl0Ny9VUTZQZUFUK3JuQm10azd3dUZldVFiTFdob2ErSE9MVHpsRVNwYktR?= =?utf-8?B?TjcvRkRRSHJPZWVPeG5zRm9ZVmZSOGlUNWxuV0hzWFNKQ3BQWVV0QXlXNEVD?= =?utf-8?B?dDBVMy9COVNxRXZLYi9DQjkxR01mUDBmMkVDbFNONHB5SUJoQ3VMQ0MzbCtX?= =?utf-8?B?Q1prd01NOGdwRjJ4S080YW5aZDh5RHluRjF6M0w1VFFhVDBxUHpNMXRlajlW?= =?utf-8?B?UlV6bmtyeEs0cngvQXFiU2UzaVgrNXB2dkRPcWhlS3lvMHlPT0pqL3g3Z3pu?= =?utf-8?B?eUxVOE8zRkNHQ3NZdzlyb3g3U0VpaTlLNUZXT1NmeFFHVFhBb1dJTVdXcDlU?= =?utf-8?B?bkNiTXJ1c1lXeDBMTzVsdThkUHpDbS9FVlBrQStmZTBmL013T1RLU05SVFBk?= =?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I1cWtRREpQUEVU?= =?utf-8?B?QlhjcE5DcXVuTlQwTTY3VTV4bTJFMGprNmQrQ0Y2TGVkL09QdU00Vm9QTHlS?= =?utf-8?B?OHBNMkNwY2I1Z2RSQ0hoMmFZcmwzck91akZaOGlnRklObG5nQUFFMWt1Vlo4?= =?utf-8?B?Ri9CVGVZT2tCWnJsSkNxNmpYd3JRTjl4SmNGNFRBdU9BeEV0dllXb05NL1lk?= =?utf-8?B?WC9JbFRMVVB3UUhKdkMrQ05PS2xyYld1MG1TYi8yR0J4OVErdTJJeFp1VEpM?= =?utf-8?Q?87oQYdPInQzkpditAMcT3zR1PIfK7QIy3UaF/QLxIIEc=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ2PR12MB8830.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?WWViQjZvN0RjbkI2ZTFIR1M5YUF3ZWo5b1E1Tkd2cG1wNzI1c3V6OHpUWUVP?= =?utf-8?B?TFA0VEJkTmtsdktkbUhucmZaS2NQbWVxS1RZQ3JYSUYwVFFUeVpmVGFiOWRq?= =?utf-8?B?bEdERjFaOE1kTEQxMFZaaUhGTm8zUjFVbFk1amFEdE5qdDVPQk83QUM0b2xN?= =?utf-8?B?MTdWSmlrWFh2eE5oQkd4dkVnVlptUkFEQzJhRVIxdy9QalZMVGd5WmZyejVQ?= =?utf-8?B?RHNOdUIxaDZPUlVvRFJWSWg4N05qai9BVFRNb1VPQ0V2bTJqbDBMNStDZXJF?= =?utf-8?B?QTVKcXpLaG1hMHdFbGp6QkR6SVBaZUtFK09DWnFmd0dNU1VabVBjNUpLSlVL?= =?utf-8?B?WDgvRVk1VlY4aTJod3c1cEhjMkI5ODNONlpoQ2dUb3R3SVV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-0a2d-42d1-3272-08dce8d65d43 X-MS-Exchange-CrossTenant-AuthSource: SJ2PR12MB8830.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 02:50:56.7490 (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: wMZgxmKHLyHfhzoOMGn8dWk0uVC6QETH8B6+FkVXEpJEGUAO6d4Z0QtfTaL8MFlz X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6943 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 10/9/2024 5:50 AM, Chengwen Feng wrote: > The rte_kvargs_process() was used to handle key=value (e.g. > socket_id=0), it also supports to handle only-key (e.g. socket_id). > But many drivers's callback can only handle key=value, it will segment > fault if handles only-key. so the patchset [1] was introduced. > > Because the patchset [1] modified too much drivers, therefore: > 1) A new API rte_kvargs_process_opt() was introduced, it inherits the > function of rte_kvargs_process() which could handle both key=value and > only-key cases. > 2) Constraint the rte_kvargs_process() can only handle key=value cases, > it will return -1 when handle only-key case (that is the matched key's > value is NULL). > > This patch also make sure the rte_kvargs_process_opt() and > rte_kvargs_process() API both return -1 when the kvlist parameter is > NULL. > > [1] https://patches.dpdk.org/project/dpdk/patch/20230320092110.37295-1- > fengchengwen@huawei.com/ > > Signed-off-by: Chengwen Feng > Acked-by: Ferruh Yigit