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 7794D41D8D for ; Mon, 27 Feb 2023 08:08:13 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 732F440ED6; Mon, 27 Feb 2023 08:08:13 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2051.outbound.protection.outlook.com [40.107.244.51]) by mails.dpdk.org (Postfix) with ESMTP id A360940A7D for ; Mon, 27 Feb 2023 08:08:11 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b6vSr6CG0QhJbtb3xKkeCsE3QlIuhmiuYjK62/inYBYLGY4wpM13/qlyBrW2s9H40Y45Z0e+JpnFojtVgStX7FLdw+HqknkTiIoieEwgQrnS9tc9zqnNWDydZAiGrQYzsSHvbMuK8JOkH2kr8bvO4FjHuIEo3GWXt66tRbRQQa9ZmBtEZEZxjJcPqK+rcc5boQPtmI2qNNhE2h55NYXAfLrFd4jz9DB9dMM75QBsOvjBAPaz5Qr7VsdQIdXBSpYqXO7qxQE4+ZMMiE22frtupmhqDPUCydMNIhc2FsOVST84Ne5IfUJ1OO+5htggnPpNhuEPPpfyJrycjTUMI0K8XA== 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=zb7pHMz0UCruEwCeFe9bFYe+rz8u2MP8/DoMjDP5zgM=; b=eE+oel+/JW62FtA3NC94GDayJiA+RaaYExwgbvrNf9izyDREC6jX+LqspLbLpuXD5GQrX+9bI3L85ntYCTgOCzb32yHxTGjtEU5Wu92Rwl92gD7/NiOBVgy+uyxu90nC1nHeoyJX3WdoF98WiblZFpKGnGAN70AI+x6OPbq9hHcQ9nc7bIPnm0zqGeVTcn/sqC3sADnFzaLBsoAQprYyokf4QSug9k8nxZXpMPdxgP0yNkg7zHSKVcHn2ljstrHSC85H06O8lHFoDMtOuRJ+2NRsuaUfrXzvx66xgf8YefNkOved7TzU4URCxa/3FFNXkpfPrRrRaBj812dGaqAxug== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=broadcom.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 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=zb7pHMz0UCruEwCeFe9bFYe+rz8u2MP8/DoMjDP5zgM=; b=QCFWDLQjQ6OgR8GRiu15Ryh1C8fbJcHFVRe7Kc3kyNB61Q1KvNG9tcY6Tt9zkZytAARf85dUbEryxaDIhHO98d0OB8UkKG86+7DZdMczRPsQmng/v6asBDwvp5armQ9mrM2xfW5Y5OF3rfNU8eNARYnRY0I80zJeE4GvrM6PCWAvZGz9PBaKxxEsqhG5TXfi6/DmsPJgXmbpynv8joQQuiyMKMpm7+iefpgXUAeUV9TaumxQOMfN5qkq7u/0i05iMTV0SzPvqsFZ4SgIOqBA2ctL/p4I/t9N2K4UcXbFnb6qnHAdn5kzHcM597fARYx72HNpGhW1+60ha5pWkzcspw== Received: from BN0PR04CA0090.namprd04.prod.outlook.com (2603:10b6:408:ea::35) by SJ2PR12MB8650.namprd12.prod.outlook.com (2603:10b6:a03:544::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.27; Mon, 27 Feb 2023 07:08:09 +0000 Received: from BN8NAM11FT014.eop-nam11.prod.protection.outlook.com (2603:10b6:408:ea:cafe::9c) by BN0PR04CA0090.outlook.office365.com (2603:10b6:408:ea::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29 via Frontend Transport; Mon, 27 Feb 2023 07:08:09 +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 BN8NAM11FT014.mail.protection.outlook.com (10.13.177.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.14 via Frontend Transport; Mon, 27 Feb 2023 07:08:09 +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.36; Sun, 26 Feb 2023 23:07:58 -0800 Received: from nvidia.com (10.126.231.37) 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.986.37; Sun, 26 Feb 2023 23:07:55 -0800 From: Xueming Li To: Venkat Duvvuru CC: Kalesh AP , Kishore Padmanabha , Ajit Khaparde , dpdk stable Subject: patch 'net/bnxt: fix RSS hash in mbuf' has been queued to stable release 22.11.2 Date: Mon, 27 Feb 2023 14:59:30 +0800 Message-ID: <20230227070107.15664-62-xuemingl@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230227070107.15664-1-xuemingl@nvidia.com> References: <20230227062349.13764-1-xuemingl@nvidia.com> <20230227070107.15664-1-xuemingl@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.231.37] X-ClientProxiedBy: rnnvmail202.nvidia.com (10.129.68.7) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BN8NAM11FT014:EE_|SJ2PR12MB8650:EE_ X-MS-Office365-Filtering-Correlation-Id: cd6bc3be-3d5c-42c4-f052-08db18916200 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 8UwjIHpQlPtXmuxTmiwNCoLUGy1GfGDC6XuZ14O1x+E0e02TnwbQdlOG387O4kct5sHIzR9EFmh0EW140wsFf3mz3Vto5KlDHKS4x8kgR0C6z75iErAZP7+3eAg+m1hVaZ3QUf6suvPaQY4GDvL8ztSj1j5wrv3HKAcJikbBWRt6LeHdV+vto/u7SuXy6umoSJpaU6TF8UKUpzfpzp+6urgige8VqHbDQrtXpbeMUGd/p+BrKOdPnTEuLFSKHIydyyzrM0o9ra2mLxlpg+KeqOFHofXlRLhlmKlcRBKaipjF3nwp6Bkj18cFY7ac6yGktafHf6qlFHzz4dEMWCt9CrMg7dWTzlQNfTGNMuhoRcAe64gfZIZLPhg21vjfJ9QwuhSmUvMrNHsVlH9XamDeAsANCRlyNJ3czl154fb0M6oN/CCXfd763z3FSKl76mvM9Np4O2x/6OThwqGdRFbLN3o6oifOw/gh7ivT6AuevXkntwYQDzpAcaLWWXFVa5YQDgIIwDwpzqI35drNN6gk1wXXKobRQXNsxuwTXZPUZzNcQgFSLJUaTOQTJRETdXpmYPfrn89joFgoTwiKVjDd+NTP9pIRW7InLWPC3JmXRUeO+mS19PgDaOYsSnWty6eYy7sTMZcZIao9HBIc7xrcrLyezlhAWsfmhouW0FixAgnW+s1QsEmB6VVTuGopeNL/ImzZknJ66OFRN28HnUPOs2rQiGZSzhRjTmnlOW/hgNDDAJBz3WmT54KkBHrSc9aSwpG5msuAc68TZY526vCJ2clgWdoFy0v1hrSHe+dKiyuC2mX6KGygYp7IcvX0hlj+ 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:(13230025)(4636009)(376002)(396003)(39860400002)(346002)(136003)(451199018)(36840700001)(40470700004)(46966006)(53546011)(36860700001)(6286002)(186003)(26005)(16526019)(34020700004)(70206006)(70586007)(4326008)(6916009)(8676002)(478600001)(356005)(40460700003)(7696005)(54906003)(86362001)(966005)(55016003)(316002)(40480700001)(8936002)(1076003)(5660300002)(36756003)(41300700001)(82740400003)(6666004)(7636003)(336012)(82310400005)(2906002)(47076005)(426003)(83380400001)(2616005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2023 07:08:09.4423 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: cd6bc3be-3d5c-42c4-f052-08db18916200 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: BN8NAM11FT014.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ2PR12MB8650 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 22.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 03/01/23. 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=22.11-staging This queued commit can be viewed at: https://git.dpdk.org/dpdk-stable/commit/?h=22.11-staging&id=a4d58197b26c4c6f363146f481f2160cb47627d5 Thanks. Xueming Li --- >From a4d58197b26c4c6f363146f481f2160cb47627d5 Mon Sep 17 00:00:00 2001 From: Venkat Duvvuru Date: Wed, 1 Feb 2023 09:50:14 +0530 Subject: [PATCH] net/bnxt: fix RSS hash in mbuf Cc: Xueming Li [ upstream commit 031102f531e87e25174d4744c4ced92e5b291891 ] By clearing mbuf->hash.fdir.id in the data path, the driver is corrupting the RSS hash value populated in the mbuf as they are defined as a union. This patch fixes the problem by removing the code that clears mbuf->hash.fdir.id. Fixes: 17b6c8386d73 ("net/bnxt: fix mark handling") Signed-off-by: Venkat Duvvuru Reviewed-by: Kalesh AP Reviewed-by: Kishore Padmanabha Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_rxr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/bnxt/bnxt_rxr.c b/drivers/net/bnxt/bnxt_rxr.c index daaf9ffc1e..0eebddb05d 100644 --- a/drivers/net/bnxt/bnxt_rxr.c +++ b/drivers/net/bnxt/bnxt_rxr.c @@ -813,7 +813,6 @@ bnxt_ulp_set_mark_in_mbuf(struct bnxt *bp, struct rx_pkt_cmpl_hi *rxcmp1, skip_mark: mbuf->hash.fdir.hi = 0; - mbuf->hash.fdir.id = 0; return 0; } -- 2.25.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-02-27 14:08:42.929833200 +0800 +++ 0063-net-bnxt-fix-RSS-hash-in-mbuf.patch 2023-02-27 14:08:40.789237000 +0800 @@ -1 +1 @@ -From 031102f531e87e25174d4744c4ced92e5b291891 Mon Sep 17 00:00:00 2001 +From a4d58197b26c4c6f363146f481f2160cb47627d5 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 031102f531e87e25174d4744c4ced92e5b291891 ] @@ -14 +16,0 @@ -Cc: stable@dpdk.org