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 BEB8C43CA5; Thu, 14 Mar 2024 13:43:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 78E4A4028C; Thu, 14 Mar 2024 13:43:36 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2074.outbound.protection.outlook.com [40.107.93.74]) by mails.dpdk.org (Postfix) with ESMTP id 8D3FD40041 for ; Thu, 14 Mar 2024 13:43:35 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SyrbHE/pmb3jin6qVka1ABuoKCTaKSInXZRzB2O6P3q3hOAYbuXRiR6Bg1SxTXdPbszm9DIpBCRVJB6/khFh705eMmUYoIzEAbDjzvhC9SFXMtcauH4iIAw6/QUq0fqOBPWIFXZ6jAU1f0QEY6sQFWrwEnUJ9G/ZaEuOUMwaVSxIQPHlTEKRlbOB0Tp56b1mG4KGRmEQ7S3QGtAL203qo/vu9r5r28yHZ0GLSDaGsuvJntG5Y3PXDDLK4BOvk3cPs+tM6qcAF3pV7rJOytjLwtCB4biR8mxeg9n22uJHzJNGkPMe/fQyXRt31Avkuw0VUcudtkYcypgn3XzDc6L1Vg== 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=mLk0nUt2dsc0i4mM4bW7hkqOZh8w5LyJOI3Z50ZmDwg=; b=WlTgG/PpUp/BfCFb3E6uiQYLPYrSwP92R3DzLYT1Ao40DPBxIi/Blm9Hg61/HuBIvfFQJ4vbIjiuGvwTNE6k7gs/5oOdz8T9OsJn3Gr/QYFxpl1J+UNIkkY8dW0mOvH8aZTohbDGqUnFR0uQDPbsPvEHI3Bxh2kLmcrKBFfy+oxTg1tKwKkSK8+7/ac8d00Ib8l4VxTPrJcXc5xzhZ6C4brZYAGXp5H/DC9vBp8VkffhuxOMx+s0wb/Fif9bbptX/RRi8oNdbxUnQiKqT0gXrzTPl8l3CoMWqvSOx41f0XbyaYcDm6Cf/LZaJQGBBTQWRsA7w4dzywywZP4hkWOEjQ== 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=mLk0nUt2dsc0i4mM4bW7hkqOZh8w5LyJOI3Z50ZmDwg=; b=YrFxiDkc1RGnjb79NJx4GeFAJxBxJaxheCxrnkqY1sYPN0VjIAdKA18vWcPS3o3Ux1M/v+mfuRuVaAxlxL616npfNL7O3gpQneQsVFg20/1vWvWb60C4ybSZfhbY1ooia6MoGfg07A/jCsUGmp9jiLQpmLvepy51jytN7dWUG9Q= 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 CYXPR12MB9427.namprd12.prod.outlook.com (2603:10b6:930:d6::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.39; Thu, 14 Mar 2024 12:43:34 +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 12:43:33 +0000 Message-ID: <1e3af8f3-1f9e-429c-8b56-7a90c9cb26f9@amd.com> Date: Thu, 14 Mar 2024 12:43:30 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 0/6] testpmd options parsing cleanup Content-Language: en-US To: David Marchand , dev@dpdk.org References: <20240308144841.3615262-1-david.marchand@redhat.com> <20240314091708.1542769-1-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 aXQgPGZlcnJ1aC55aWdpdEBhbWQuY29tPsLBlwQTAQgAQQIbAwULCQgHAgYVCgkICwIEFgID AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCElRTPtCKKm/6BQJkdyEE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fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240314091708.1542769-1-david.marchand@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO2P265CA0504.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:13b::11) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|CYXPR12MB9427:EE_ X-MS-Office365-Filtering-Correlation-Id: fe4b8c63-110f-4119-8044-08dc44245c33 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 0w/mgjQJVPUJehut+vNpOsrWnGE9SFmxz8Rbjll32rkq8sFimurpn6oiAeNFd/S7fEec5TUxZhp6tIgWUvxPEH7mLmNJwh8cth9BQdAVr+NkUwhlqIMXnhXtdRC0Egs+LoTSCrYcjp9jWFcRZF1XhTJuVExAQrQHAZvdAKMUh2Ax61k7kF8Y4wLi4tyXkvxbzUk1APVtdGgWGvFxpMCsErPKJwtrxcve0ALD5kKEUefzhr4QquHicM79bSIg/2dCVoWrSmb05O/hVXmhfjF7tovOr2/aaKcrSu+TFD+LzrKpmOILuTyoUSI+LD7Z69qcxWJHk0FvAXg8bmfVxvatczI/Ya3lBayoWfDWYBUEW0j+QkXOXKOUOFJBSmyndcCUabNVkKODuhAO4vVSnv8epX5a30psq4+Hm+9LExsuE3wcWVt27komF7qXNh5zwkkK4dZhxUtol35WVXYMI1GLuaCObTIOMIrio+4uIjw4+Flv9TcnbOL+tJU/rygZKQrU+6HNUnUOfWuiMz+ZGVjktr1hF5xTmtWJtrTiF4hrFKJv5kr53saHZUP5K//5NhBDMc+YApXgFk/x13s1oeQKHqI8Ex8GbgKI5dLdldlDOEx7ydKyP2xgev0IpIyFT2zgI80qoYOxrMg1LG29VjLxWaPv0muNU0u4zvVgs9Dhq9U= 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)(1800799015); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?b3AwcXFTb0orVHNXUmNPWUg3UmFINnRNM1FWWjlVc0dSMEx3MFhaNUh2Vlp1?= =?utf-8?B?cHpLRmRwTlBFcjUzdFpGV25XMm1NSjgzejlhS3h2cFoycXQrYmZ2c0VXU3BG?= =?utf-8?B?bnp1N0h3S21YdGpoNWJIb0RLWkxCTkc1OG1qZWFZNHpZQjU3enNieXYybkt0?= =?utf-8?B?TVpNWEwvQkRXWDZNTWx5cWVwSXp5cm0vc3NrYVdmQUROOGR1UzcwOGw5c2tq?= =?utf-8?B?NFZFQmtmbzlqS3NZMmRVV2MxYXVDbEYybFNxdTRCQ3Z6SjJ4c3ZxTkRNMmlZ?= =?utf-8?B?azlaMUh0bzFmbmZLQldFRVJybGtoa1c4cHB6QnhRRkJYOEd3cTQ3N0UvSmho?= =?utf-8?B?U1QyZThzSFlOTU1nR050Nlp5U3VDWFdnajY5Ukp2K3lmeFlqVTc4MkREWjc1?= =?utf-8?B?V1JkRjdFR09uN2xGRmJQakJ1Wm4wMXRCZHVZVlRGTWZnVjR5RHZKL0w3aU83?= =?utf-8?B?U3JQSHVUczYzalhlb1FjWURZQXB6QkFaczVrZ21BalJ2bjE2clUxd2lrRUJr?= =?utf-8?B?ODJPM0hMYTc1S2o5SklyQVgyMWIrSmN4YUNBakl0bnA0NzFTTkJJb2gvZG0y?= =?utf-8?B?eTdIakZlL24weVdvbkg1WXZuYzk3OTJnTmxyeXJJT2tvQ0h1bTM0SmJqUm1t?= =?utf-8?B?WVU3UUxFQzZoVHdDT1YrcTB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ZC9FNVJabmRYOUdIT2UwaU01MCt4NkNUWkJMNTl3ZzJk?= =?utf-8?B?UjBYT2d1NnltdHNiM05qS3o2bXprNFpQR29teENONm9WMWF2ZGRFUUgyY21w?= =?utf-8?B?b2ZYM09TdVhWSnRydHFVMmhCYys3MnFuRGo3a2tuY1ErWWlld2ZDbjVQTDI3?= =?utf-8?B?eVNxeWZzNjZkWGRKb21YRTZXdllNd2ZIWHdLeXFJMVlQMllsRzFRaHM2cklQ?= =?utf-8?B?ZnZ3cTRYMllrYUpzcFhWY0NoZjduTGhEcnZMc1oyMUhwNnhPUjFsamVIQ0NC?= =?utf-8?B?Wk1Qdy9wRnJtSkV5Q3lnQ21EOUZuWlNOK05WbFc0cDRCbnpzdzFwc3EwUi9T?= =?utf-8?B?dnh6V28vM1ZESTZIcWhFM2lRNFp2aGpDdVN3d0ZqYlJvOXU5OENBYnBmTFB4?= =?utf-8?B?RGpoQnRjR3hFYzJMUTF2bjVwdjBIb3F5WmJjZWR0M3Z2a3V5SEZkYlVqWlp3?= =?utf-8?B?ZlFpdllqNkI2NG00bldoTDIrclp0T0xEcEZWNEFWKytObXE2d2ZleXRDenNk?= =?utf-8?Q?qeUT2X3AlK/6oF0yntxG3hRBR?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: fe4b8c63-110f-4119-8044-08dc44245c33 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Mar 2024 12:43:33.7997 (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: dPMf4VODwOcNfmrvqBN1IgAGF3uibl4HthXw0dvt28fh+2LdRiq8wNiCIAh1v1Hs X-MS-Exchange-Transport-CrossTenantHeadersStamped: CYXPR12MB9427 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: > This is a cleanup I had in store for ages but never sent. > The idea is to reuse the conventions from EAL and examples when it > comes to using getopt API. > > > Changes since v1: > - following Ferruh review, added 2 more cleanup patches, > > David Marchand (6): > app/testpmd: fix stats-period option check > app/testpmd: fix burst option parsing > app/testpmd: fix error message for invalid option > app/testpmd: enhance queue count check > app/testpmd: remove dead code for disabling cmdline library > app/testpmd: enhance getopt_long usage > Series applied to dpdk-next-net/main, thanks.