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 05B7643CB2; Thu, 14 Mar 2024 10:23:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E14F242E48; Thu, 14 Mar 2024 10:23:33 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2084.outbound.protection.outlook.com [40.107.220.84]) by mails.dpdk.org (Postfix) with ESMTP id 266C342E48 for ; Thu, 14 Mar 2024 10:23:32 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ak88x85f5sSDYriQ9vyp0lJd6aiumEsdLPuNkDEFiQLaSIA+wE9XPEWMd6xKyFQY7glTTrPr/71vJge+tMuzzVIOBqTRTx/yKI+B3B+5a//HyyaDuChCXEWkHP64LDz6XkYNCSfK6HOBeTHQtbf6Pu6yI8eW94BaQx2gwaL4E3z91/PMwY0Ci24Rpar56sntbxUJ51hFoqhajckY3j9+kedeVuiE7bSq+AFz1zo4FdWutxGwhgf1P2HbgJU2cChhgOJrtLPJUMQtepoZkC7ao5aSYaaBE/hSur2radHq6RkFI9hGrFr/fmgbnxAlfo0yBVLLLUfmFNVTHPJIMzVejw== 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=pdBLAEYmukZrTdChhVOBdWSk0zfoaXTdJbhLfvVFjBc=; b=SWenimLRqCoLjY15asB5wXQLDW1scEv+fdZ933uPt/qwPCNpFKFoE+/NrtSuXucMoxXBfi7lm7NBOMDLRXKy//nABKEvD2xkH6VkJQd83232trhQZUizwzM7wSjdXhiDRhsg+0wtWZz8q7zgii3NAa6SbCuHyEb+Q6MjXUU19O21c8LQoorcaEt9g1lKckDrM2X9s0PD9pYvp0EB90+cm5dku4lR9ktL+G2hMGWVKRD/1//YW7zxiqZguP6D1hCQdsodbmuFmY/kxfNstW71gxiGhIXY+4q6feZ0HSYRFjXnf3gtVPNRTovNY8r8FHYojPq5GtViw0m6o9hclj3gsg== 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=pdBLAEYmukZrTdChhVOBdWSk0zfoaXTdJbhLfvVFjBc=; b=j4wBuCYJnYaQ/189JhS/v86vOnkK55B9JVLepLmVRlNBfzcNdnDoSFhFEc70xxmfj0L5Fu/yYzUBaiFWcfjMVemRffNDPTSSNqKBz3n37SwKXWZaGuj3m60DdjSNUQ5ksdeyNomuuU3MuPHSkz+BEss0yH9VVFHqR3575bX9jW0= 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:23:30 +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:23:30 +0000 Message-ID: Date: Thu, 14 Mar 2024 09:23:29 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 4/6] app/testpmd: enhance queue count check Content-Language: en-US To: David Marchand , dev@dpdk.org Cc: Aman Singh , Yuying Zhang References: <20240308144841.3615262-1-david.marchand@redhat.com> <20240314091708.1542769-1-david.marchand@redhat.com> <20240314091708.1542769-5-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/6BQJkdyEEBQkE3meNAAoJEFRTPtCK Km/6UdcP/0/kEp49aIUhkRn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-Reply-To: <20240314091708.1542769-5-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: f7e20cc0-95f3-42e1-1ecb-08dc4408698b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: J/GjQWHtr+ZWxJ1jbqmG/letVKYQ3JaEWQd/MSnSc9iXkZWqHWapMIlr5txC27LdRsGCCFFvmLc+V1tYVtO56sg/Yx8a3+WaN//Lzf1rIBGpAo90JzWOZf+02N+Y+AbYMmH+PcKljxUep4pX+Fq5m+nQL0NWnbcxt0Am6mwmYLe7C834oOZLmx7JEL2pLRCY4IjYvhZzvQz8OO0lkfTwKa3nm7z3YVg4JR+J2H5dsHHFR8HCzMFPllGwg2rPshOIp57Qv4vz/OmxLFUAfnxMvcz1nv+fuQXQTZ1Gkw+yxwQ23vhb9w0/YLC/hhtnMgWCVGkGWwrOjaMC4l3tEJuiT6IegCSWNMaR1abdNeNQsxrQ3HRXuvlNIXL18O+juhjKqT84slG32q1FvEdE1Z3dd05oa2bi2ECHz26cc5VFObdrBR2bKerKAdL/0qsHySRDvmNKb9zjCfS07Uflsg7pe/ohR1qQSLW810p8op3AnvPRg0o8lM/v/9BJqF80d6JFGX0/coYLIClywzUE+/t3GWN0kycH7+yOLAMuVP7gJydmesttsCqbxHq0bMZQ+95o2Rc23l5sCHyD61WYAfdozLYw4uNw4+hoNYcsRwCfsaK1LtAvahOcTGD7DeFaGWdfPHn5eTS9E1dQq2ew7Ic2jFKSu2fxjWLafywtjMDBWHY= 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?U0l0WFBwZ0VrVXk1dmFHVlg2MFpESGQxeTVENndaTGZCZHplWENXaUpLMVBR?= =?utf-8?B?c1lrUXBCMityNDRLcXR3amtkVGE0aERIN3prUUNtaGVEL0JNVjRRQ2RaR3Za?= =?utf-8?B?M1dFajdGL3Q4UHdrSFAwTzc0VTVqbE9kbmZuU0EwbUx4eFNob3Azck5KZTll?= =?utf-8?B?cFlBSG5QNkY4MCswbXhlTkNGQ25jY0FxOW5uV0ZCbzJWcU9vVjBpek82YkFD?= =?utf-8?B?a0hTRENYcFYrbWhRZU8xNkhqZFBMdkhkcTdyM0MrM2JhU1R4dHNlUDNuRWE0?= =?utf-8?B?ZG9XUmZYdWhNUTMyaWw0UmpjM2FiQ05RdmxDMmdUampFSnFqcUdqRS9QVnFl?= =?utf-8?B?N1FvOHVvRlRzSWZ0RVUrV2ZzTmFkT0dNOG9UWk42MmM1UGZJbGFDcEFCeWow?= =?utf-8?B?RTBCYS9Ba2lsVHJYT2NKUVEzR2tWRGwvNDVDaEFLZG9rNzdpWlVkRElneEdE?= =?utf-8?B?amp4WnpXVmZRR1ZoM0xKV1JBeng5SXo4WkxYN1RIczAwNVhQSENFa1ZzVm5U?= =?utf-8?B?RVdFZ0E1eFpNUmh1UHJqa3NWRGFMQnhEbk82MWIyY1BDeTBXT20weE9IeWp1?= =?utf-8?B?Y0dJS1I0QjVvbkFpcjJrRmtXQUR2TnlXNkVFc3ZPczFkZ09ScHBlMXhQVFdK?= =?utf-8?B?VHVHUE1MOHBBbXVIZytjTTQrWCt0cDI1VjN2VUVmL01PZjc3Zi9jY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Ubm11U3U3TU8wSkl2R3BzM2t1?= =?utf-8?B?UmlMdmY3Z1MzNTVESG4wbDZQS2lpYk96TE9QYzBrVi9ydm5mcyttVVc0MkYz?= =?utf-8?B?NU01M2V2U0NLY3p2TVFxUk5ORVplWElBYzIvNURZd0o3R1A4cXN4OW5hUmNs?= =?utf-8?B?UERrZ1VRSlpXMzk2ekNMY1BFNi9CZFAwZ2hHcXZ6eE9aZUF2Zm9PS1pMMXZ5?= =?utf-8?B?alo2RW9FSEJRSkwzMEpkT1ViU1N3OGZrNGhRd3dnUVR1dnRjVUdnNFlib2J6?= =?utf-8?B?YWg0N1RZdW83TWVzd0dXVVVLRGxYYS9PbkdvZ0w1MGtHYk1VNW1vRm5wa05E?= =?utf-8?B?WkJJclFhdk01dDkxUnlhWDlQcTBpOUtJMWlGM3N4TW15TjhUVzFXd2VkUmtn?= =?utf-8?B?ZUFrQ1Q3RHc1WjhaWmNwU1d6N2NpZFFDYTVsZ1p1SWhvMnBoVGJhZ0VBZ1p4?= =?utf-8?B?Q25pM05xdkJjUUVSdGxHaWxEejRZOGhROE04RzFjbWNJb3hlMlVielp4a1Ey?= =?utf-8?Q?CJEepPtjUk2F5IDA0tZYQEZXQ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: f7e20cc0-95f3-42e1-1ecb-08dc4408698b 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:23:30.1859 (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: R7T6YPxyblxjdLBK7xOd2Tc/JCmxVBojZVzR+BTLidEK1Tz8p2p2jeaDDVDMOZZX 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: > Checking the number of rxq/txq in the middle of option parsing is > confusing. > Besides, a check on nb_rxq / nb_txq check already exists after > option parsing. > Only keep this latter check and make testpmd quit in this case. > > Signed-off-by: David Marchand > Acked-by: Ferruh Yigit