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 288C243C93; Tue, 12 Mar 2024 17:44:05 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DC7A040ED9; Tue, 12 Mar 2024 17:44:04 +0100 (CET) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2070.outbound.protection.outlook.com [40.107.94.70]) by mails.dpdk.org (Postfix) with ESMTP id 7CE88402D8; Tue, 12 Mar 2024 17:44:03 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C5P23G0I2+ff2IwmF4OE3iktw4W8NLCDzA+hSjFGUfqFCy40U+tgCOKmFdvPGPYu5wFf3oQxC/qiXpwvCxyvib8uIKvDEjx8OcECnrbvx+RiLWjS/vLKMvZfiEWFPRoGJFPFXCIy521C7YVgjLmyPXMcSbgdqA6C7bW8/yv+D9zpjNEuDkf3wJD6IfDBM95UlpjVmrdxP8BJe+DKsSxwtYn73j6D9goWpwmTi0O49VeavN7NAeAFqAGi95TpJZ0R7lbSuqY+dy392WB4ciR4GJylBdZZlKt8ItVHGefgRBeI2SpOJr/cCRpyVRyxLv3A1jASyTbR25PoEuix2VCHFA== 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=M/P87+DyJKE5KawBD48TD7Ag1DH5DIwHkpBIj53pK9w=; b=akWVnnsYCNDjOLoDWtlVVTXi5KcSjCS35P9zc3G+wupQLAfyRxXLzr9fqR5iEWeuew9gp81kGJmjfHrpt7pwlqyW+aiCmoMGwx8B2AF6nKH+Pzh5Axo5IN1SyJRi4fiDOssvzgbvyIUYfHXVMK2dLysQDYvgui1Ri9olCSYp882AuwaQ9UcVnA0p++JECBMiN7bs0JMM3rU+FGMTLeAf/lLb8zXDwIwQVCF7aQ9NiEXSgwygi9qKCW1pft0J7c5wj7yp2clT9x/JAc9mQ4vTIoREVDn0BH/G2Ggl7V9rBqxe5YOUXr7fY3x1AaLZklObIaMEve3MuRuikdyR4yaTSQ== 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=M/P87+DyJKE5KawBD48TD7Ag1DH5DIwHkpBIj53pK9w=; b=y4SymIRyLk+4JRl/hcThNCry6Y56tMVnEtsnb49KPHm6lpFRiYdcm+0W7QD6uVJ2ZJ+ZXEvM0AOH+FVIoix++aWh3HA4x2+rcUhS7PhyD54CI0LqB1n5E7BuEa15v1xEsYBuG/Gw7FYg7FCLWIm4mUOnMWWW7nUFob5qAqyseVU= 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 PH0PR12MB8821.namprd12.prod.outlook.com (2603:10b6:510:28d::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.35; Tue, 12 Mar 2024 16:43:59 +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; Tue, 12 Mar 2024 16:43:59 +0000 Message-ID: <13e973da-00f5-4e8b-b72d-20ffdd10c5e6@amd.com> Date: Tue, 12 Mar 2024 16:43:54 +0000 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/4] app/testpmd: fix stats-period option check Content-Language: en-US To: David Marchand , dev@dpdk.org Cc: stable@dpdk.org, Aman Singh , Yuying Zhang , Pablo de Lara , Jingjing Wu References: <20240308144841.3615262-1-david.marchand@redhat.com> <20240308144841.3615262-2-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 AQIeAQIXgAIZARYhBEm7aYjps5XGsPHCEl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qkZQ795MTe2YScp9dIV7fsS5tpDwIs7BZNVM1l3NAdK+DLHqNxKuyO 8Zk= In-Reply-To: <20240308144841.3615262-2-david.marchand@redhat.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0411.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:189::20) To CH2PR12MB4294.namprd12.prod.outlook.com (2603:10b6:610:a9::11) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH2PR12MB4294:EE_|PH0PR12MB8821:EE_ X-MS-Office365-Filtering-Correlation-Id: c34689b6-16fe-49e4-b105-08dc42b39d87 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AITOTKHrhdQCNSAVlgjyM9k9EXWCFGnMap6ozPEGWQrzUYwat3uZZYjgqQ1//ctsSa5EwaRzNdd8yKg1jWx/n8P+UhfhFmEvLjqXNYyP+Cpx428ML3UGK8eITXlzfNUKPmuqoAjpolQ9OIj5S0PnX00cLzRYlbOj7kwhRrKMR7B9zHmpA1AglAb+0G55Kt8eMG36ckGPbq62w1FiXA7We6iJU7qcJlJX9YON5IexJerXRlm2lsi8FrpNbyns7H39151BL+v3atyApVM+hmzT+n3STdTdfK2Y6SyuADjfpG9bwKmsY3qAZaaOKTCbABUjL5gLzoFPDSEv7fyJBSleU3jcABQvxAF0/3iKHRzoNFfbnMD8P/Le7uYogZxP0QNT0Hlk5hJ5Hf1GE3/4i8d0MDXz7g0794RfNe81++53QvGnK+oP9cw3K2yvYo7H4qXC/OoIZWqdQiWf+ygSKJ3J9DhlRSGE7JEQeLR/QSGRFBF4uq2nqckEuA1A6WZQuKviKtZHpp3SQDEuCjzyGcWGPGBOvWj70LkZuAd2Kk36k7koOl4kdpW13cfZyTYwzrIgRtDutian8/t62WLgFehK85U88jn6USjy+LIZtopxQwVUfrEBaKnJdC4+J2w7gx/i2Jng0NpgsqGE/kyb2+UqhxN/zihthBZkn7v8OP4v2e8= 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?NWhyUHVJdk9ibXkwZ2I1M3duUUxGRm5ORWdNa3dLeXVQY1VNT0R0a2tTc2dI?= =?utf-8?B?L2JDaml3aEw4MnZreWdZMnE3dlB4UHI4RWlWL3dUVmRRem9GRWdRY29PY1F6?= =?utf-8?B?cGpkVHgrWG1PdkhhUFBOS2hoa21SanRSSEVWaXVJTE55Z3pIdlJvc29xVzZt?= =?utf-8?B?dEFFOXUyMFhYK1k3MFhscUErT2l0bzYrd3UwSU9mU0wyNVp2b0NSQ0JHYnor?= =?utf-8?B?eXhRODdwSFRCeGFpOTJzcmZWUDg4ZXAyMXg5RXdHYkRGNkFLOEIxVUF2UzYw?= =?utf-8?B?MlBJSWFLN00zRCtBMVdyZlA4V3ZKcEZPbWpHQ0IyendNc1g3YTdLZ3kzNWRM?= =?utf-8?B?UFNKbDRpcVdPTmlweHlNSGlTV3BzOS90RG9VVTJvTHczbDRRQnBlZHlLQVkz?= =?utf-8?B?SlFibnlxMFN5UkN1NzFjeDZGUUhPSkxLSUR4SmZmdHlJSE0wcjhvMU1Obk0v?= =?utf-8?B?b0ZpYVBWZWdWSmp3c3VnSVFnVUFLTC81dFNKU1N6WnNzTDFJRFRhZVNPaTZG?= =?utf-8?B?ZW1ETHlzR0htWGIxK3o4ak1DMENrUkpYM2s3ZXg0Q2dTUEVRdzZuUUZrMlJ6?= =?utf-8?B?bkIwWWVoUmdLVUhRWlUwQ2NhTDJFZDJLWkZEKytQc1NrNEU5dkFpMzJCSkpy?= =?utf-8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XI3eFpsWGxOd2NmRTNoRmE1?= =?utf-8?B?U1F5aFEzOGJKYVl1cmdNQWlqcGtCM0ZVVklTL20rWWMwRzUxd2lubmZ0UGFN?= =?utf-8?B?V3p4eUU3ZHJ0T3pwSnhvai9XUHVNWC9sNms0dnJYb3JZbHp3cm9zU29ma1lX?= =?utf-8?B?Y2lqellaZElYa0RpTXhpbmN3WjhzOTRDQU9pV1FVdG54Rm9rbUt6NVNsUTRk?= =?utf-8?B?RVY1TlowNzNtTXIyN0Q0R2xGbTEvY3RKSG50azhvQzRoS2VkQStoMkdTR3hM?= =?utf-8?B?cU1hMUc3c0NiQUZRdzEzNDRxemF5OFRJV1dKTjc5TkVNOWVMRzhCa2J1bnpp?= =?utf-8?B?dVJDWHRaL1N2RytPYVdLQkNNRlU3WkJaTHdZNjVKc0E1MTVrUTl3NGlqZkFD?= =?utf-8?B?bm1JanNRRDB5dHJrNkQ3RElDdEppcEpRQ01uTklqSGd1RFJCSHlaY1RFVXRy?= =?utf-8?B?MjNpUTYzeE9wc3RHWjUzMll0aUg3bHdMOGhrK1EvZFZ2UStGZ2NNV2lYcU4y?= =?utf-8?B?Mjljd1FPT0x6VDBjdUtYTUJ0OXRtbEtSTlFpZ2YvNzJXcm52eEhQVFFxQTll?= =?utf-8?Q?MIY60Fdcro7PRFfr616VhrcDs?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: c34689b6-16fe-49e4-b105-08dc42b39d87 X-MS-Exchange-CrossTenant-AuthSource: CH2PR12MB4294.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Mar 2024 16:43:59.1985 (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: YlZCUAvLQwe4VCAqVZlUO4ly7PpZBEKlyjyJWwBvDAgsHEYLRfk7UEk8j38EB45C X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB8821 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/8/2024 2:48 PM, David Marchand wrote: > Rather than silently ignore an invalid value, raise an error for > stats-period user input. > > Fixes: cfea1f3048d1 ("app/testpmd: print statistics periodically") > Cc: stable@dpdk.org > > Signed-off-by: David Marchand > Acked-by: Ferruh Yigit