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 B182BA034F for ; Wed, 10 Nov 2021 07:56:28 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ABEA94014D; Wed, 10 Nov 2021 07:56:28 +0100 (CET) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2081.outbound.protection.outlook.com [40.107.92.81]) by mails.dpdk.org (Postfix) with ESMTP id D95D74014D for ; Wed, 10 Nov 2021 07:56:27 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WrIQ4fbyChmnU2q4kEaGHTpq6+MKatRrVRWLH44DYhrZutWrW4EemzrsInk2Bp2KPqJpTo/pOxFggNMJUtL8cnm+ujh1PPb5gXdI0jZiZXJetUn3rdN21Pa//frpdOh3wUor8YnowwhVOiDz6x5WMtqXtQylxg63u/J5RHngoojviCsSax5lfjvxgX1S+ZLXAMz0FqqE+dxaDXhI1/n6D3JfJ+2U+p8YG1DvYt/XwL0T2CD9rwYI9BymANC0Y1FLfDYKEwgD9tIslJGf/8k8IyKCBmKIMmJ8Em7dl5icNicih34rz61zWEig/wfKv5IovQ4OYzESpK8WaV4kI6eNBQ== 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=LgItkkLHCJM8e5dd7yVpzZLzqB2SSsDAnwHbgc74soA=; b=V+spLHGcoNpDersAWw47ueQIRJzCLyTr+Umcft3rcQyfqMzu2AvXWDz0SIcr2N4F6PakAKQMyV/NJ9a3z6EwoBIPEAEToqsuGFnYIFvjDcjrXAR9JwRpXrr/cTzCf+2hYc85nvshajLGcafCkKK3g5CR5TEpkpARF/pN+0rfY2EHI+Q0v2JIB/cO41c0I6lKA1IcImx8K4rhs+A3LXpKnGdugKi+ANQBrNwzVBGAgZbxMzGcnxEzgR7eq2UyzyUsGgpkVln7MI6h2WtbY0Er4KQv/09PQxonRvzZXPcsw3xble45tWb0oFEj7a4+tmMDwX3vpRKmZ/NB0Ue1F9QOpw== 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=quarantine sp=quarantine 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=LgItkkLHCJM8e5dd7yVpzZLzqB2SSsDAnwHbgc74soA=; b=IfVE+FpTPc+KSzQ3ySLuOWTkgYEPrz9cq1wUKo2Vp3hlMyDbiWDhzja3I0KXRFVf8QIMQgHvX0ZYPE+Nh4hriAn8UNE36ktzKgEPtsiryHCCNPl00+BogohGGDRdAPg8LKPNyhZ0JgSwBFoum91J5uARdCk5rdVC4jiG25zoABrHcJNebuYeptcgpG2/wByhM5QVTomxJc5Rw0lYppjYEiN8tVtA30gY/bWwqMpn1ZzH8BcXvtiXhE9gqReC1nLBXw+5PPM3lD1xoOHhtAR0FrUQCoX0tmso7Y7+vgYTVNzUSB9fS1u8Wk3re7u8j/HpXQCUv9ul0C+rI20Fk8/tLg== Received: from DM6PR02CA0078.namprd02.prod.outlook.com (2603:10b6:5:1f4::19) by CH2PR12MB4858.namprd12.prod.outlook.com (2603:10b6:610:67::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.13; Wed, 10 Nov 2021 06:56:26 +0000 Received: from DM6NAM11FT044.eop-nam11.prod.protection.outlook.com (2603:10b6:5:1f4:cafe::3) by DM6PR02CA0078.outlook.office365.com (2603:10b6:5:1f4::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16 via Frontend Transport; Wed, 10 Nov 2021 06:56:26 +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 DM6NAM11FT044.mail.protection.outlook.com (10.13.173.185) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4690.15 via Frontend Transport; Wed, 10 Nov 2021 06:56:25 +0000 Received: from nvidia.com (172.20.187.6) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Wed, 10 Nov 2021 06:56:23 +0000 From: Xueming Li To: Maxime Coquelin CC: Luca Boccassi , Xiaoyun Li , Chenbo Xia , dpdk stable Date: Wed, 10 Nov 2021 14:31:39 +0800 Message-ID: <20211110063216.2744012-216-xuemingl@nvidia.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211110063216.2744012-1-xuemingl@nvidia.com> References: <20211110063216.2744012-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.20.187.6] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ac2d7586-0430-4d8d-e7fc-08d9a41736b5 X-MS-TrafficTypeDiagnostic: CH2PR12MB4858: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: esrECB+MeFPTHlqPpPkUE/1qtFbhJAXKIlIVd5wcdsMMchxHfMYoFybok5yyeLy4cZfTumQ2xA9DSAqYOFpw9Xhi69AMTtPrdW5O98H7Lha4X/qH151Jy63iIZP1zNkOa2KnPEioYKF/jrcDbWXOIsIxS/bNY5W7tzWZOAni+GeFS2sioGCqF1K9QfD3KSbtxI5aLkfDIgHYRN+rbEq5nC6AqFJrW/y4gJYRUNtT9iJoq5jefFF/kwyKQWrII4V1FqAMi/Sa204s01wsPppnyoB4/V+Cpt2mtBogib6gmvZ5MM7c+h/3dGUAJYFo7KJ+vYNdNiYSxQpi1OgpncvTlD5MccEaE2uCqjfSTM8FSMOJXQL4zZ4bfQC3K0tyULdYHW/h2XuRjDOZheroFOgIl+tTpqpcfi8sH1/xOwb3NwXMbvboo7Gdv8eMinOQmMHOCSPLY94LFZkC3C/JAkQIcTadnr7/bA+KPxwAjVIJAVMhe0VARITKNwhbJoT2d/Qh2ysy/T1UcoqwmfBUSENIsT0wsuRI3jDK32G/MsmTutJhmszvqrmz0dWDiOlCBVF6BX+L920gb2tda+aE26EfA6zbkndx4FKmrXINQMcjjswjswcAtu7sIlUB0Hl2W30aus05tkdX3XVo0jjKTNgFpRE54GfJgKG/IfwVeuqjkOGI59nk3eZkpUCoFOg/izTIoiK+sire/SIAIMMgBEgrYL/tJdfRJ+2pKbmwb/hPhb8LvC4sXIBPtpU4fH3d1KnFhFMRM4NWiywGzBZgfjTEQMuM45Y3REtBhuxKcfjVEba8cAK+4mTtO6F1dVerXb7ay6caxmqraMk0BgjYssZcIQ== 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)(46966006)(36840700001)(36860700001)(356005)(426003)(508600001)(2906002)(316002)(6916009)(55016002)(7696005)(2616005)(8936002)(47076005)(6666004)(16526019)(83380400001)(336012)(6286002)(86362001)(4001150100001)(1076003)(70206006)(8676002)(36756003)(36906005)(26005)(82310400003)(4326008)(54906003)(966005)(186003)(70586007)(5660300002)(7636003)(53546011); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Nov 2021 06:56:25.7710 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ac2d7586-0430-4d8d-e7fc-08d9a41736b5 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: DM6NAM11FT044.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB4858 Subject: [dpdk-stable] patch 'app/testpmd: fix RSS type display' has been queued to stable release 20.11.4 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.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/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/c2f64b86fff634ea4571f3d7fc2561293a0214f7 Thanks. Xueming Li --- >From c2f64b86fff634ea4571f3d7fc2561293a0214f7 Mon Sep 17 00:00:00 2001 From: Maxime Coquelin Date: Wed, 27 Oct 2021 16:22:11 +0200 Subject: [PATCH] app/testpmd: fix RSS type display Cc: Xueming Li [ upstream commit 88232b54eed87d80782aae2c0c7a3db5089e61cc ] This patch fixes the display of the RSS hash types configured in the port, which displayed "all" even if only a single type was configured Fixes: 3c90743dd3b9 ("app/testpmd: support more types for flow RSS") Signed-off-by: Maxime Coquelin Acked-by: Xiaoyun Li Reviewed-by: Chenbo Xia --- app/test-pmd/config.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index d4ec4cec80..29c5f37222 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd/config.c @@ -2967,7 +2967,9 @@ port_rss_hash_conf_show(portid_t port_id, int show_rss_key) } printf("RSS functions:\n "); for (i = 0; rss_type_table[i].str; i++) { - if (rss_hf & rss_type_table[i].rss_type) + if (rss_type_table[i].rss_type == 0) + continue; + if ((rss_hf & rss_type_table[i].rss_type) == rss_type_table[i].rss_type) printf("%s ", rss_type_table[i].str); } printf("\n"); -- 2.33.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-10 14:17:11.400449451 +0800 +++ 0215-app-testpmd-fix-RSS-type-display.patch 2021-11-10 14:17:02.027411476 +0800 @@ -1 +1 @@ -From 88232b54eed87d80782aae2c0c7a3db5089e61cc Mon Sep 17 00:00:00 2001 +From c2f64b86fff634ea4571f3d7fc2561293a0214f7 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 88232b54eed87d80782aae2c0c7a3db5089e61cc ] @@ -11 +13,0 @@ -Cc: stable@dpdk.org @@ -21 +23 @@ -index dde6cdcff1..5dfc8a15da 100644 +index d4ec4cec80..29c5f37222 100644 @@ -24 +26 @@ -@@ -3021,7 +3021,9 @@ port_rss_hash_conf_show(portid_t port_id, int show_rss_key) +@@ -2967,7 +2967,9 @@ port_rss_hash_conf_show(portid_t port_id, int show_rss_key)