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 1E1A643E57 for ; Sat, 13 Apr 2024 14:58:19 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 14CC340E5A; Sat, 13 Apr 2024 14:58:19 +0200 (CEST) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2075.outbound.protection.outlook.com [40.107.237.75]) by mails.dpdk.org (Postfix) with ESMTP id 5D3DD402CB for ; Sat, 13 Apr 2024 14:58:17 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fJ8q6dH8MwnedWsVb8BANPXTCJfjsVApZjqGGvW+spnPNdpvVu5ncq7/jxmKjODuOXKnGqrt0lpDertw6b7/rEHSDjRgqJh3ECZ4MB+OGCsdVwQMXBZKG+gVsv3SWqQx39ZC2NERevStyftPef2WCwuAoSHNxa/hSWl2M5n6Rap1fO2vzHZ+u+3PNEI8G/MPd2DHIsD0KmGZYZOVODOIfX4Ggox7GHnKYIxwmPn7G83ocNYiXE6ZAm/MwQA65CAIc6ew8XQCFwvZ5doUnuV2QUYm8pUWECzdjlVfjReXdn1FWP6e6YM/Tus1Jr+QufzF4B5boSGj870jMlP3tyZHPg== 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=lz7G1w6V+uE4SzaglWZM1qCZMLL2H2jYkDuL1tJrCwQ=; b=WOBpJ2J7cdGJGiddNBjuy5Zx2Zf9jEtJp5PbgBkRWrSxO+yYEglc8mUdM2yQazsVqdkC/jsPpQF3zObDCbauQhKXIoWota9l83a1kQdV2Y31PCC076T6P1jR6nhCtnXtPU73RSLQJdYfE+/kY16z4SuDuVnhstgQJvPrjtHdp4jhuS9sy5vDGV9FNFhg2KA3S0ea9KMUJvs+8yAdOsoXdKFPIiDAEISYKXSH/vVr8XXTFyzF//K3hZmr2ZX9Oh56M8Tg1kPcnPje857MYMuE7LN9dKHwTlXcDDDqhecCdCrFj9zbBvaX0IKOJUmL4UX46XPeuOQX42fanDSDIQ2ZBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=redhat.com smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lz7G1w6V+uE4SzaglWZM1qCZMLL2H2jYkDuL1tJrCwQ=; b=lm/jY5xVKSdJJYooqI8LAcEiAJDOdF6W/GyRAS9dj0iFOD3KawKzmAHYDOQA0a6dBkKY3NSq4E0Af+FDw8mfy3ZfR+/77iic9uwyK4MADdNIru0mu4u3EQOI9gmHdNwb8I2zZrbK/uJPgj8GxUd+jvzIhWqQiciqC2+eup3YwotVmQglQYQIvkYWdS6STZjcAiLpFBeNxESmAneDn2usi3pVLeR/PihAlWZ1JXAW1+MjnzjnycHfLQPKrMxr3mHFieLz0iqC6239Mksptoa6YRM1E+rNzhJhQD0PfjwIuN7BU2wCDInwETmwl/2Toycc+xKMNPN1CJnQhJqZZ1g5dA== Received: from MW4P222CA0007.NAMP222.PROD.OUTLOOK.COM (2603:10b6:303:114::12) by SJ2PR12MB7799.namprd12.prod.outlook.com (2603:10b6:a03:4d3::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.43; Sat, 13 Apr 2024 12:58:12 +0000 Received: from MWH0EPF000A6735.namprd04.prod.outlook.com (2603:10b6:303:114:cafe::47) by MW4P222CA0007.outlook.office365.com (2603:10b6:303:114::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.29 via Frontend Transport; Sat, 13 Apr 2024 12:58:12 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by MWH0EPF000A6735.mail.protection.outlook.com (10.167.249.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.22 via Frontend Transport; Sat, 13 Apr 2024 12:58:12 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Sat, 13 Apr 2024 05:58:04 -0700 Received: from nvidia.com (10.126.230.35) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1258.12; Sat, 13 Apr 2024 05:58:03 -0700 From: Xueming Li To: David Marchand CC: Ferruh Yigit , dpdk stable Subject: patch 'app/testpmd: fix --stats-period option check' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:49:28 +0800 Message-ID: <20240413125005.725659-88-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240413125005.725659-1-xuemingl@nvidia.com> References: <20240305094757.439387-1-xuemingl@nvidia.com> <20240413125005.725659-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.35] X-ClientProxiedBy: rnnvmail201.nvidia.com (10.129.68.8) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWH0EPF000A6735:EE_|SJ2PR12MB7799:EE_ X-MS-Office365-Filtering-Correlation-Id: fbba07f3-2e25-43c7-0808-08dc5bb9605f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?zsQrgJ9IPjlWjnX8A4N8ECrJy79sTSVkRBYkxp8y1EXe9opiPGKU4HtKfRLj?= =?us-ascii?Q?I4M7Z0AQfA/RTQOBNuZyJUL8Umnx4zOhVzNyS/JXkGQuLO7zqp0VUH770jns?= =?us-ascii?Q?LcIFOud1PN67Rg2WQRexwbPfPBN5+xFikEJdJOBYimRUZzkApR/B5BvBx+DQ?= =?us-ascii?Q?QEZqcdFY/qy5bCDsCDG8/hon1A37GWLrvgORYljLjqaeZNoJd3AVDdF+8aN0?= =?us-ascii?Q?kfh9dCoDRxnb5HsCgpGaqnde1KNB1eTRjwIkudzCZNfNlnm8dqmpSBBw3rUs?= =?us-ascii?Q?gayqyWTDZm7Sgr6RocT7s+6OYd6MUoBX5Q4X67GfDU9DekL0Ck9bpYnbg+pa?= =?us-ascii?Q?VIGgxljVWvchRfbL+ngPpAG9gJ18529fDZjJmSu8+ulD1xD7DfuvWoccfPqH?= =?us-ascii?Q?VxVFwRtNJ7XmAWxYwPU+QuTgtoJ990UKQAtF5hWSmTAN8nWdhVBAVYO27+1t?= =?us-ascii?Q?DdRoFEAWGnUB47DPQbk1rB4XkDligVt3K+WfvpmuhWLziZKbCm0HsWM7v3Bk?= =?us-ascii?Q?JFpJo31yJsP2+6HuPFal+VtDoFi0nvXZNAem2AKJrOG5jpsrYCkRzlDYP1f6?= =?us-ascii?Q?CcgT/vSMOsBBn4h6gq7hdjf7qhzbaEEcrSyibqiGe85GWd6rwWUAXHmgENMc?= =?us-ascii?Q?S4iao8wyPCef0/QEo+8Qp+f6EJ52sLemEqX7zZ8XN7ws4VTvIYzVfPoR/vak?= =?us-ascii?Q?3MkY97gSwYE/S6bxHbPfRYvOG562Lti8sKbYchDuWVjXVoLZJGxtQanJnKi+?= =?us-ascii?Q?4NTKHIcRFs4acchIvEGmecP/mfZYHuENhr/g+iiV2Z0O3jm5teTaCWkdQb00?= =?us-ascii?Q?pZ3y8chj8ZMVE/4Dt9MFZbmF75fomu5J3s5BDLADe91sBNostmJX1Y7vvUUK?= =?us-ascii?Q?7WuoIqXxRK1Ans6qkrt27MTvc97iMojEUb9n/W+0mS3sIb0ocu1k6+sl8336?= =?us-ascii?Q?0NF1FqxzkWRp7oupaBh6KgLNQNKnxEgIMANUTzAsGrGpE1LHvAqMdfXoY/7h?= =?us-ascii?Q?lwKngRKPXLcXYpIIrA3d3h7OYyWmk53qG2/Ye0NDbsWiR2iagIU7JNz+s1N3?= =?us-ascii?Q?iZ6qnRd99uByaDa2mQp1JzzkvFmBO7A8NhQnG9gM4BZ6H7upnpXuKpomlb7E?= =?us-ascii?Q?VO7alUGDwj/f6dgPWFBergQvCCOd2zxvZ9Xu3uQAJ7cUkZwavWujI43Jm/Qm?= =?us-ascii?Q?2hp2BfOyWjeVhHEAF/nDo0B5truoulvrdVDRjTgSEzNEDSrGi8BAQdWUQDon?= =?us-ascii?Q?Yxqv2ceyyGWu7zzlvj29AdV7v5+c80Q7rbBZ9wXGHLiSiovDRZavrH5fglXZ?= =?us-ascii?Q?2DI5h4VdJ6Bz0FlaLMhF2eL0DGJxHyrrhkya8QpF9oGKYoKTy7mEhs2dPTfD?= =?us-ascii?Q?kD88Vu0QiKW/Tkm/deE7M2NjpH2m?= X-Forefront-Antispam-Report: CIP:216.228.117.160; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge1.nvidia.com; CAT:NONE; SFS:(13230031)(1800799015)(82310400014)(36860700004)(376005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:58:12.2748 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fbba07f3-2e25-43c7-0808-08dc5bb9605f X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.160]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000A6735.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB7799 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 23.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/15/24. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://git.dpdk.org/dpdk-stable/log/?h=23.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=23.11-staging&id=6c2174ad80afb5de9602d4355658723f151df5a6 Thanks. Xueming Li --- >From 6c2174ad80afb5de9602d4355658723f151df5a6 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Thu, 14 Mar 2024 10:17:02 +0100 Subject: [PATCH] app/testpmd: fix --stats-period option check Cc: Xueming Li [ upstream commit 2ae06c579ea4e1cd234c5b14bef2957ee154ec74 ] Rather than silently ignore an invalid value, raise an error for stats-period user input. Fixes: cfea1f3048d1 ("app/testpmd: print statistics periodically") Signed-off-by: David Marchand Acked-by: Ferruh Yigit --- app/test-pmd/parameters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index 11b0cce577..d715750bb8 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -776,7 +776,7 @@ launch_args_parse(int argc, char** argv) n = strtoul(optarg, &end, 10); if ((optarg[0] == '\0') || (end == NULL) || (*end != '\0')) - break; + rte_exit(EXIT_FAILURE, "Invalid stats-period value\n"); stats_period = n; break; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:07.702680399 +0800 +++ 0088-app-testpmd-fix-stats-period-option-check.patch 2024-04-13 20:43:05.037753879 +0800 @@ -1 +1 @@ -From 2ae06c579ea4e1cd234c5b14bef2957ee154ec74 Mon Sep 17 00:00:00 2001 +From 6c2174ad80afb5de9602d4355658723f151df5a6 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 2ae06c579ea4e1cd234c5b14bef2957ee154ec74 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org