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 7F6AA43CB2; Thu, 14 Mar 2024 10:22:50 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C206342E4C; Thu, 14 Mar 2024 10:22:49 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2060.outbound.protection.outlook.com [40.107.220.60]) by mails.dpdk.org (Postfix) with ESMTP id EB641400D5; Thu, 14 Mar 2024 10:22:47 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wg6/P5BCTplITa9Wb9lTCiYdFDVz/gqZhG7n9Sc+Jr2jV02S9ZGhzBiH0bnO7UYXrdBZ1MkkZkk9wNQY3Q8JeRkT6v5SZpJpJD+17vDPInmrYAl9yFYMx5kZ4+HueCy6yPgZTZfDnNGP+XdvNBlWmGv2SGAPHZYhmp4292zLDSX/D5/BBF1Df5ChsMzoFsKcxExxqW3pIZGZgiTK/1cZHdxmxdjzJ0NpHiQlR0yhV7ChLXL4LURpFLPvsxO/axQqmI5UgMAz0aqApdmkc9Wa5faWLOSxkIMlcahETTBBPHsxADklTbGjpRTNXUt9k1pEwq09L1pdikAy5Cj2sgGL5Q== 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=5z2m+sSNFWDp4gbUoyCTkuTYFL7l+I20efUI7Ge/DHo=; b=Je/E2IVFSq0fHus94CulO9PP4pOBonze6NzwS0Y2Y2F17tGYKkY/xSj1coW9peUDdKDmGPDKDUggDgLs8ouJmdp8IRsOAMcrePR27ofwsa91Rtk0+KYBuxEJn1VFfKzdqUkmPNd0jLhtcrS5lgG+wWaZ/i38RlxU3TR1KA95J/jHO04nTDrlZPdaKPJATitGjKpHv9a9Mq//59UfxkF4GR/vALtwdOvyo8Fdtw7UFEbYR7njpSr6Dx/xFubByFgyI5Cltrf7tJG700ljp8IZm9/LxeLqdVrPut2rGBCfYZepofOq278DLxHtuiPqS0CV0tG4xoHA3AjViAAZaIVwzA== 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=5z2m+sSNFWDp4gbUoyCTkuTYFL7l+I20efUI7Ge/DHo=; b=uJ7LHaS2v9yUnmZGPSDqp97d+N/5eavcXpDesS33uvkgVKoO/j3+ObPAD64GHxWPPOpX6lWhG7so6E2ioEzUw1jlz3yEtYBsSY9uWBAnE95fQA9EjHXgorXAZ8CUn/lvQ5pINhJGsxqx5BudnMZvIojNnAcRN3F6PWtz+0YtTNM= 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 DS7PR12MB6120.namprd12.prod.outlook.com (2603:10b6:8:98::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.36; Thu, 14 Mar 2024 09:22:45 +0000 Received: from CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529]) by CH2PR12MB4294.namprd12.prod.outlook.com ([fe80::3ec7:6339:1c14:c529%5]) with mapi id 15.20.7362.035; Thu, 14 Mar 2024 09:22:45 +0000 Message-ID: <3a70d978-345e-47eb-b7ac-15a09ae7b542@amd.com> Date: Thu, 14 Mar 2024 09:22:41 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 2/6] app/testpmd: fix burst option parsing Content-Language: en-US To: David Marchand , dev@dpdk.org Cc: stable@dpdk.org, Aman Singh , Yuying Zhang , Bernard Iremonger , Andrew Rybchenko , Ivan Ilchenko References: <20240308144841.3615262-1-david.marchand@redhat.com> <20240314091708.1542769-1-david.marchand@redhat.com> <20240314091708.1542769-3-david.marchand@redhat.com> 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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVC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ZewdIjkzAhmmbxl+8rM/LKBH dZUMTzME5PFCXJIZ83qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240314091708.1542769-3-david.marchand@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0208.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:33a::6) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|DS7PR12MB6120:EE_ X-MS-Office365-Filtering-Correlation-Id: 6e90eb73-6873-4e24-7cd0-08dc44084f12 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +XdioOJjUcbLtZBizAcJh1rr36cyDXfgmbyaJ3+72X4UwwMpg3yLZdXSXUAZ5cRlwgFecTDMTfSdAvSP4Qki/PC/vJvLaAuYZ9mbVu/b+vAi/lRPQ0RGmN3DBhnWn5HyFwmzudIXG1pn7jBp3OrkaYKDVnezXCZZGi6avA5H1W1POxSej6YcMBZWQv8dK8S7WAwJxL9D8tryfCafeH4nk0Kwf4rZdjZNyYoLH2mAdSNj/5WZUDmrpAz3jUuCY4xkyDP6LTMFSJOPRY+XA9ZeVEvM3595yvD2AVvfOzCaxSphsJwLI9FrMLZ6txzj/0eATKL2S52qg3S63cpL34O7BhEZIdziM7XcomJUY4xyzifBQdUQQuug3BSjlhVzCUnFDWy2+1XAY6NUntAI6YmOt9sIi4An49zvjxTxQStiQdy1Fj8hN8OdPYBg+OM6gmXW2KOyb0j12FcheV4uV2mLfq4WNOH0M3hcGZlcFqeBPxw2tKSHrQeaIYVfIs59Rg2DDvtHmjIgp00Leh839ZCsy+78LBsl/SIS8STRHsDA3PEsUrBn6EnW5k/wCWT/Ezvi5zv0ShZ5p1XVaJsqdc191Ly3r1MWEepkManTpITx1p+rQfRUrqvRklYrxdV49Dfv0ClZ0KeGvdyPXfrAezMznvw7Yx+k6594d1xZiDVP05M= 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)(1800799015)(376005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Q0ErajRyZWJvVExZMFJmWWR1VEVpOXlkR2xlTlA4YlhmOEltS2t4WmNyclUx?= =?utf-8?B?VDBqd1lLNUFpcFlLUkNTQzFLRURMM0ZSU1RSQ2wySjZvQ09oMEhqWXB5TC9x?= =?utf-8?B?U2hLclVuY0VSSTJHenp6R21XTFhGaEFXY3NNM2VENUoyWmVGNzhpR0pVVzRS?= =?utf-8?B?T2Zsa0s5S3N4czdKNGFSU3kxS0dQeDFXWldrR0U5L1ZPWXNKa0M5eVNCQjYw?= =?utf-8?B?WVYyYkFCbTVKU0RzMTdqWXlZN3FENGszbGNGWEhabDZEbm9idjE4QVkvTDZS?= =?utf-8?B?aVREanhLRER1YnhlSUJXQTFCYlZ6WFI4MG0xaVBITnVjbFVUcmYxNklIcGpP?= =?utf-8?B?RlJiQnNhUHc2TmNqSTNNUE04N2lRZm1Jc0Z5YVpyK0YrbVQ4OGtqcVFLSWNG?= =?utf-8?B?aGhmTnVEditvaEdEbDhzODhwNE9pSDVWakg4V292UklUTGFvV29STWIyeXdG?= =?utf-8?B?YStLTGhWL2tmNkI4MS9UL0p0THY0SjV1VllFd0tmZnlsUTNhdkxic1A5UWtF?= =?utf-8?B?TEZ0SExiSldiYnhGbis0VW13K1lSYVZXZ2Zkb0FseVd2dzVNL1VDeDhlbWZH?= =?utf-8?B?aTNVUTVMN1hXMmtzRU92ZVdvYW1oZUdrNm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tJYjc3bmFqMURVUEVUdGFiVnNKK2xjWUkvU1BFWUJK?= =?utf-8?B?eWtMbmhKdFJvWkRIb1hua2o2d012QjJTRVhtM1J5Wk5JZU5EQ3VyMkVQeFNS?= =?utf-8?B?QVlOYTdjdmY0b211VlhialJpa2RmMnBuSEZvZ3doZG05N2ZCS1JaVC9FWVdT?= =?utf-8?B?a3cwWnBLWnMyYmxlMkJlVm5PYzhIbXRhVzl5ZTAzL01RRW5VK3hmOEtSQjVW?= =?utf-8?B?cDZ2UDBrNWdzZjdVQ040RmpHZEYraWxVREhQRlZQdi96UE9pd3kvM3Qya2Iz?= =?utf-8?B?WlptZm5CakdYeFZEM2ZRc3g4WU5Fam01YUpXN2NuRTFkVENIYjR2MVNncDZR?= =?utf-8?B?S1hHQm5ObFplemJaOVNUMTlab3VPOVVMYmhaV0pJR2RoOFpVZkpmTExDZlpW?= =?utf-8?B?N2hId0hFb041TXVGR0NMY1d5cGNGZUN1L1grSjRUaEg3eVcvcVdnRnN1Mkpl?= =?utf-8?B?Q1VJemNuV0plMmhKUFdOSHZYcklxN0YzQjhMNytYYlNOd3JadUlHQ3pLQWow?= =?utf-8?B?c0QwaXkyVVhtdWtlSnpHZExuUml1b3dhYVVsYXBCc1lUS3d4WVk5eE05R2xX?= =?utf-8?Q?fi6a3qtcgeVInzSVSTs78aWup?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e90eb73-6873-4e24-7cd0-08dc44084f12 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2024 09:22:45.7600 (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: sXFHMekTyR7usZblxUEBO8ncCfd9depHQdCIv0iEgSjy2SUcYGnrULZS27RzwJvv X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB6120 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 3/14/2024 9:17 AM, David Marchand wrote: > rte_eth_dev_info_get() is not supposed to fail for a valid port_id, but > for the theoretical case when it would fail, raise an error rather than > skip subsequent options. > > Fixes: 6f51deb903b2 ("app/testpmd: check status of getting ethdev info") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand > Acked-by: Ferruh Yigit