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 66BE4A0A0E for ; Mon, 10 May 2021 18:14:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F12E40140; Mon, 10 May 2021 18:14:22 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2076.outbound.protection.outlook.com [40.107.220.76]) by mails.dpdk.org (Postfix) with ESMTP id 9C33340140 for ; Mon, 10 May 2021 18:14:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=isbPL3Wo6qrBnGWI0AA9Pf+V/nj9lWxnizMApAewTqhnc3YgJBOcNgTG7ObtlxH+BpD7C6Dk10S+gcMp08v2QzxKfvRVVkZLW7CAVH7B+1owSHMMKxJULvvSXJeGtgqMs8+JmFNJ7DvH5uR8uQ791bp3O/UlPyk+8BZt5P0eBDzESPXFKjesRTzq5HNWIEhpBbGm40XjwwOBx2BbsHnXcDBz2idlDs8mo+8Joa9CThcqDZrln4PxfHyZCP+cji7KZCm3H2Hevq57ehyqN+uq/wACh9pICr7H09NSOwfXqdNss0Qy13584anc5z1eZPcy/lzirqDfCm8/6wcni/W1ow== 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-SenderADCheck; bh=xilNLTW/X0leVKFm2jkPdV4Be8M2EeRd1sKGZJh6CUc=; b=VHNKbDW5s4w1QGIw+uc18gZJ7CZsSCkk+71ycdhVEOzuozj8gQ1fCMCwwg1dGKWK8GocQGcgtYO3N6gG6Rqq6y+8N+m8DAxLnf/t+5QULauECLdYwmYUcuQVsniptAbFmIrrKb7cFDeOd1LzOgTxVOJmqfKf41ayPsVzkcSW6tH0XJYjgmFd9YD45rWCukzAbZvuHteikxU7nBwHN5dZQwv9m9Qz0ZJBPgFkiztIlxpRruB1rfq7jw0EeCUuIUuR2smh5UPCqgHyQXMHdLudcCGOvoOLd6Zs4VdWKyGRsqiJSQ7jjVQ5POuVpsbPjS6sEoStK4vo0DnbySzR/bsYbA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=intel.com smtp.mailfrom=nvidia.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none 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=xilNLTW/X0leVKFm2jkPdV4Be8M2EeRd1sKGZJh6CUc=; b=PanRMwhgxo9zE0M52L2uwKNMF7u5ssxGcNELfJzjufWXuv8AfpEQbzLs3vYo2bBg8m7etFSH1NzExqBuNa99cqkykp7p301YGCffXSkH8fXRl3mkfRH6VpRynJtiA1/t2wrxovFe7Btiw726hS/QyV0f5qKqEtU0i5tUOwgVx2VYmwIfrU4sFBPLwE57Tua24tbXozUPQntAfHgwE/j8SOCY7/xH8/dYDR/UGriV7l+A0GjtWKK47n5wGa2cj7L+UwqSYNShnpiH09hclwx3Tn3fQrOSWtgse2LXC1znZWi8J92Wib5w0YbZR91X/v7I7Zw6/HF1E8tXK2tfXYevNA== Received: from MW4PR04CA0324.namprd04.prod.outlook.com (2603:10b6:303:82::29) by CH2PR12MB3846.namprd12.prod.outlook.com (2603:10b6:610:24::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Mon, 10 May 2021 16:14:20 +0000 Received: from CO1NAM11FT042.eop-nam11.prod.protection.outlook.com (2603:10b6:303:82:cafe::d4) by MW4PR04CA0324.outlook.office365.com (2603:10b6:303:82::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:14:19 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by CO1NAM11FT042.mail.protection.outlook.com (10.13.174.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4108.25 via Frontend Transport; Mon, 10 May 2021 16:14:19 +0000 Received: from nvidia.com (172.20.145.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 10 May 2021 16:14:17 +0000 From: Xueming Li To: Hongbo Zheng CC: Luca Boccassi , Min Hu , Xiaoyun Li , dpdk stable Date: Tue, 11 May 2021 00:01:00 +0800 Message-ID: <20210510160258.30982-111-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210510160258.30982-1-xuemingl@nvidia.com> References: <20210510160258.30982-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.145.6] X-ClientProxiedBy: HQMAIL111.nvidia.com (172.20.187.18) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0e788b8f-6e06-42b7-f02a-08d913ceaabf X-MS-TrafficTypeDiagnostic: CH2PR12MB3846: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1t+2S7i52cYOIpywhaTywmLzj8mXuwU+lJNSCFYZwMCbCpnGQprfEMRf3kFLaE9LuOPEI1AjvGCRB+LGReklj4dW46S4mDTp3wEv96QZ2zxLaoxQQNITQG5Ur982A0sTMdGycp2/JhoZmML+YsVFFpUs3DugPA3Qoy2Nb9loLf9jQiu90zAEOY9or85EBnp2MSeMw6Y6AXCOkncQL331W12rSvciaqLbeab1pS9wp5xzQLz8Czv7SEJueRAL4FmClOjA2u0AsfLOmzSK/E02jyF4zMsAdP4KFe1kWMBfVB6/ugw2mPCLhDnKvj5jU8XvZ0c3AHojd89n9SQ/dzDPEVRP+4TKpJw5UHj6xe5+nFDNFZdB4fjjnahCetCP3tECGQSBxVHpbY6t9O7r6je7RtiQnfTsmQhSbnFA6xd5RRTnT71k5Q2wBxEVk09opDN1xo20+H5HMMsx0bTh2Pxd8IZZHGlsAWdUyEBChPSElWLMKeQxR8qhju9gzvHMZP96/RBykg4h70evVslh+yHSzEmo+bNz+oo1ofzqFfvDmE5lnKPLoqJ/GUJl/51FJfa8YAt3Ekb48jdRoOWn42QdPNI/AXiAFelQ8VtEb1iZAwwa0ZDJ3dmogpqZBZ+UWrlCZZAqkuTKpMPiqNrEXdi+D5KzbYkkz/qNP9hUfbSmkrBbPxKBvbbKx2KiDSKAlbWYikN+Fc6DGYGGxDVGQfuuChfsZY8V+RJiRLdwCboN49Wo6ZqwFYd+AWDiaFM9lvFpuqzNFk53b9zL+f3lBWfgNw== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(396003)(376002)(136003)(346002)(39860400002)(36840700001)(46966006)(186003)(8936002)(2906002)(7696005)(53546011)(356005)(426003)(1076003)(36860700001)(54906003)(36756003)(2616005)(82740400003)(966005)(6916009)(86362001)(26005)(16526019)(5660300002)(316002)(83380400001)(82310400003)(336012)(70206006)(478600001)(8676002)(47076005)(7636003)(4326008)(70586007)(6286002)(6666004)(55016002)(36906005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 May 2021 16:14:19.7442 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0e788b8f-6e06-42b7-f02a-08d913ceaabf X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: CO1NAM11FT042.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB3846 Subject: [dpdk-stable] patch 'app/testpmd: fix Tx/Rx descriptor query error log' has been queued to stable release 20.11.2 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 Sender: "stable" Hi, FYI, your patch has been queued to stable release 20.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/12/21. 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://github.com/steevenlee/dpdk This queued commit can be viewed at: https://github.com/steevenlee/dpdk/commit/38824647ed54b9a9226b8595cea2d306c1cd207e Thanks. Xueming Li --- >From 38824647ed54b9a9226b8595cea2d306c1cd207e Mon Sep 17 00:00:00 2001 From: Hongbo Zheng Date: Mon, 29 Mar 2021 14:46:43 +0800 Subject: [PATCH] app/testpmd: fix Tx/Rx descriptor query error log Cc: Luca Boccassi [ upstream commit 0e8f3489940aae7a29112b0de745bb5205239c83 ] This patch adds more err info for Tx/Rx descriptor query command. Fixes: fae9aa717d6c ("app/testpmd: support checking descriptor status") Signed-off-by: Hongbo Zheng Signed-off-by: Min Hu (Connor) Acked-by: Xiaoyun Li --- app/test-pmd/cmdline.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index fa2a0c78e6..58b591b292 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -16613,7 +16613,8 @@ cmd_show_rx_tx_desc_status_parsed(void *parsed_result, rc = rte_eth_rx_descriptor_status(res->cmd_pid, res->cmd_qid, res->cmd_did); if (rc < 0) { - printf("Invalid queueid = %d\n", res->cmd_qid); + printf("Invalid input: queue id = %d, desc id = %d\n", + res->cmd_qid, res->cmd_did); return; } if (rc == RTE_ETH_RX_DESC_AVAIL) @@ -16626,7 +16627,8 @@ cmd_show_rx_tx_desc_status_parsed(void *parsed_result, rc = rte_eth_tx_descriptor_status(res->cmd_pid, res->cmd_qid, res->cmd_did); if (rc < 0) { - printf("Invalid queueid = %d\n", res->cmd_qid); + printf("Invalid input: queue id = %d, desc id = %d\n", + res->cmd_qid, res->cmd_did); return; } if (rc == RTE_ETH_TX_DESC_FULL) -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-05-10 23:59:29.496985100 +0800 +++ 0112-app-testpmd-fix-Tx-Rx-descriptor-query-error-log.patch 2021-05-10 23:59:26.510000000 +0800 @@ -1 +1 @@ -From 0e8f3489940aae7a29112b0de745bb5205239c83 Mon Sep 17 00:00:00 2001 +From 38824647ed54b9a9226b8595cea2d306c1cd207e Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Luca Boccassi + +[ upstream commit 0e8f3489940aae7a29112b0de745bb5205239c83 ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index 14110eb2e4..f44116b087 100644 +index fa2a0c78e6..58b591b292 100644 @@ -22 +24 @@ -@@ -16629,7 +16629,8 @@ cmd_show_rx_tx_desc_status_parsed(void *parsed_result, +@@ -16613,7 +16613,8 @@ cmd_show_rx_tx_desc_status_parsed(void *parsed_result, @@ -32 +34 @@ -@@ -16642,7 +16643,8 @@ cmd_show_rx_tx_desc_status_parsed(void *parsed_result, +@@ -16626,7 +16627,8 @@ cmd_show_rx_tx_desc_status_parsed(void *parsed_result,