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 4684243E57 for ; Sat, 13 Apr 2024 14:58:21 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4154640E5A; Sat, 13 Apr 2024 14:58:21 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2086.outbound.protection.outlook.com [40.107.236.86]) by mails.dpdk.org (Postfix) with ESMTP id 7906440E68 for ; Sat, 13 Apr 2024 14:58:19 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IPqcHiS6J+3UQ+j3p+klauuZNitoLyYPqM7eMeI+RDNrvm3ATr/ibtMs6Hv8rbcLHOa5EkjiRkZsdWGDcTj9NjgMAmws2F8PvypyorrwMEy305SEd9LdHkFgUs0879huFNeQULlBdXtK1ibya5b1bbIoa/WooZO+p/2oZyOSwwXEo6StTceTaMZirgnS18o++gFANULMm4/RwApIKOBM56R5TLwdXXXN7VooA7tKc90i3I3syxVCd0TPIkWXeP7lzNQka6jJhxKR9By5KhzuanQOnclq+xKy5a3EgQp1HZYGeOYUdyOIyJUZVobKk8SIUUynmZN0uBaW4h+2c7bprg== 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=JXkgDDcAwE0ZKiyJ7wA3oF8Eo9Wv5UEhrjQfOQGpjUM=; b=XPaenejEBk+ItB2GT0phdIxkmMV5ugFXY7smYAc2R/puK/26xYB9RCjzORGPFdclYWMczMcqf6Y9vYCT6HtieeMEXXDfDOVRyRY62kNHg2PdQxsn/dLRc7fb2QGODz5OklUYvgIrD4LIWZjYswJzM1FNQ8UyPfr8FJgr+LTIJGX9LWtzhX2TSWoWEa62vWZzgZ+nLv8cmLrozkRBQQwM/417FkUa2OCIzAz77ZOvzVoWGKpS0LQ072KVWJRtVEvESCfLtYg8E5aB8B6RH9jiXmSMSFMCPZWgShWFj3BRfHln/XlBuAEGoc/cQ2nHagUlrgH5eT0TvRnXov+sWebldw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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=JXkgDDcAwE0ZKiyJ7wA3oF8Eo9Wv5UEhrjQfOQGpjUM=; b=aH3CR8+99U6M2xU9GjsKAZkM9A1QWe9VScLrlFWEVbzPIY5bngQtPCtZtaEUneAUrAFk6nt87R0Ko1Einq7cwhjzffWWAPZ8kr+aMPpgPjAYe3wne1NredRUFGW7ME4kfpXmtWUUALck/a2p8Ty0m6nDFkeYzhf+T0oIKTQkNJVBVY1HWx4bmmMhmAOAazkejUqxFe0VW3+cyunAwjE4cg520KfOJcirZVRjoHrhP9NacVXd9qUW7iamw3CI7sj0bvcwMFLvJKQGEppTnwqGLryDCHXkPBJVIvjA3Z4cQ2fkf6OK+QIOWE12iYjm4NfvhAXDTTXWuAguSPnTSeoejQ== Received: from SJ0P220CA0028.NAMP220.PROD.OUTLOOK.COM (2603:10b6:a03:41b::11) by SJ2PR12MB8181.namprd12.prod.outlook.com (2603:10b6:a03:4f6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.55; Sat, 13 Apr 2024 12:58:14 +0000 Received: from MWH0EPF000989EC.namprd02.prod.outlook.com (2603:10b6:a03:41b:cafe::54) by SJ0P220CA0028.outlook.office365.com (2603:10b6:a03:41b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.31 via Frontend Transport; Sat, 13 Apr 2024 12:58:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by MWH0EPF000989EC.mail.protection.outlook.com (10.167.241.139) 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:14 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) 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:06 -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:04 -0700 From: Xueming Li To: David Marchand CC: Ferruh Yigit , dpdk stable Subject: patch 'app/testpmd: fix burst option parsing' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:49:29 +0800 Message-ID: <20240413125005.725659-89-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: MWH0EPF000989EC:EE_|SJ2PR12MB8181:EE_ X-MS-Office365-Filtering-Correlation-Id: fb332e08-b999-4873-4f6e-08dc5bb9617b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: +Gu5n1fhdWks/0rW040M+3Fp2vKTz5Kw+2lEajxSW6ZUcxv3w2CuxHgfOvlLBynnXYkAf1xH+FmrWNqiRTIzWl8yTrcwZjnbS5nT3Aft0unDl9sHBgmL6CgDDb4XQYSp9T425c4BMFSZaDtLWhVsFRlxsZUurNIU0/6w3IT/e25vF/EBTT2fES4Imdgtnp913kDv8SPyGq33YiByfPQxPcmJCClMu5bUXO6KOQAiGV1zNZYvvXfy7bhTbke89eM4Rj//DW8CYZ/uG03dMCV0Mj8G8dHqNkmQEe0Y12GYjcd8XiAs2gykgdjX9DwIHtsRARasUSu75V9DNN4N6mThisfnRIWNmR/o6vk15HQT818L1NUegKvXrAcV+IyT59HGpsuBtffp5+AlP3bPJHzdWReUkVNBvfAKY/2GbH8vr8gVQSmWlFfy/yDEfrFEkZKokmb+j0Qm0pGfv/mW7JQW8aWBCPnc6FzALpmxpnaC/SjKOKD4fsEW46ol/L+qyoXbTx6BQNsX9nPiyoEFze/dxjVvqI6tU+HrLbvD+FUVKqMib2YGKu8uz66ZemtXtpuADV0lTBkwbXDt2sB6vxnCFxg5Cmz1vpL1/pJqey554LHdk8f1P7G5RKUfzTVIO3vgI3M1MlcMCOCpUTkZTAa5OijyJR2QFE2oPOnAZX+1rIMZ9RYOhfUtOaEdPjp5r1bgjoMUJvxEHfuCFC3o8pPfEcoyjX5mnsOIYj27rEkvvXNbLLZe4fpz9SJHRP2Dmsiu X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(82310400014)(376005)(1800799015)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:58:14.1378 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fb332e08-b999-4873-4f6e-08dc5bb9617b 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000989EC.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8181 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=92c08367ea185939f79ec9b562e7e40b1d92e352 Thanks. Xueming Li --- >From 92c08367ea185939f79ec9b562e7e40b1d92e352 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Thu, 14 Mar 2024 10:17:03 +0100 Subject: [PATCH] app/testpmd: fix burst option parsing Cc: Xueming Li [ upstream commit 6fa896ae804a7dbd7fb766643f733dbad12bba43 ] 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") Signed-off-by: David Marchand Acked-by: Ferruh Yigit --- app/test-pmd/parameters.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/parameters.c b/app/test-pmd/parameters.c index d715750bb8..3414a0d38c 100644 --- a/app/test-pmd/parameters.c +++ b/app/test-pmd/parameters.c @@ -1128,7 +1128,9 @@ launch_args_parse(int argc, char** argv) 0, &dev_info); if (ret != 0) - return; + rte_exit(EXIT_FAILURE, "Failed to get driver " + "recommended burst size, please provide a " + "value between 1 and %d\n", MAX_PKT_BURST); rec_nb_pkts = dev_info .default_rxportconf.burst_size; -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:07.730374062 +0800 +++ 0089-app-testpmd-fix-burst-option-parsing.patch 2024-04-13 20:43:05.047753866 +0800 @@ -1 +1 @@ -From 6fa896ae804a7dbd7fb766643f733dbad12bba43 Mon Sep 17 00:00:00 2001 +From 92c08367ea185939f79ec9b562e7e40b1d92e352 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 6fa896ae804a7dbd7fb766643f733dbad12bba43 ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org