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 7E7D243E57 for ; Sat, 13 Apr 2024 14:53:26 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D4C040A6E; Sat, 13 Apr 2024 14:53:26 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam04on2042.outbound.protection.outlook.com [40.107.102.42]) by mails.dpdk.org (Postfix) with ESMTP id 23AF94068E for ; Sat, 13 Apr 2024 14:53:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VduHZKJzV3vayMyC1Zkff6fBtRCUN47ImBj3oYtMTrxEBBdZglbAEGqwV11a2hFh9aXqq+Uo6l4zU3pYCHJqruqnp24oIC5423qIpwayZR1j8pIfW8co4xiqSD61tsulXDO1NtmoUSQrssRUuVMteVfeIU8TB8SP/ehT53qWjaF5eAD31Twfz8Gy1kJzJQouWbB634cKbUmHqUYORzSi5eUqGGntdl1xPsTMtxFKjUr5HmXXJaKSKHXKt76ciralHur7Ecmj87dTtZFEW9dT5uxuF/3UDVnrByRclhyTlnKWX/SQEftigYTkxyl+wS/2o+II4BkiSBQoUXcOKUS0vw== 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=ms9NC4opgMGadvic31E92a9rXmeozdceeqxWYNXUf2c=; b=HQQAI/IrDbtia4Y3gKp5CQ/AS3KUDP2mZyhKiX+FfXhQ0xX6aqAEWiEPSN0jmFVyFerTYbwo6Z78FQVmqsWIfy6sg9AbTnxEXHoL78GEpHbZrpPrX3d/5RZQZ6tXAmu6XODaE/vtyC6ENHOS+BPQ+bRyxrebT4GM2k/RHiWX9T8/BH1M0+xHSyEU/GebwNozpl7P6+vwlb1eeGiMbWGesWmy3xhWA2cupONDXW41PyCSx1ciZ5DqPKPTN0p43kvJGXzPM59WRwlbXrgw7nXB8rjec5RyIIXtWh0giQmOhG0bMrRrMc8uFz/VPB+KVRYFlE2uF0rajlpOKlO6BIV3GA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=marvell.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=ms9NC4opgMGadvic31E92a9rXmeozdceeqxWYNXUf2c=; b=Y0nRQsETrMJVkMxBSScCwOns/aqzyvjRHLfSRmuWJdotb9xlkLQHI8PO6CqOpsUW8BxZiYAil9WecFOvniqtpF/lpMIaH1zgVNG1Utn66zJy2N5eFvXIgYDfvrTlS/00ml8k7PqnLbNy/wtWpB9KSIAXdbDPtnAvwVr+yVgNWt8kzSUVYRPZvNJ4OUWJjjyB2HcysTJXbAwLp0nA4EK/TbFc2N8U6Z8bZokQR1gA6vkQc+dUWh4D4MGaf+AUVpWy/QQFEW+NFQOfpzG2yr22GpIPsUkqT1WdlF1tvQvEMc7mXNjam9iokhIa9KAOGGrjq0Ym5Z3K4Ztp5rGOE1UR5w== Received: from BY3PR04CA0008.namprd04.prod.outlook.com (2603:10b6:a03:217::13) by PH7PR12MB9104.namprd12.prod.outlook.com (2603:10b6:510:2f3::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.46; Sat, 13 Apr 2024 12:53:22 +0000 Received: from SJ1PEPF00001CDF.namprd05.prod.outlook.com (2603:10b6:a03:217:cafe::c7) by BY3PR04CA0008.outlook.office365.com (2603:10b6:a03:217::13) 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:53:22 +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 SJ1PEPF00001CDF.mail.protection.outlook.com (10.167.242.7) 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:53:22 +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:53:11 -0700 Received: from nvidia.com (10.126.231.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:53:09 -0700 From: Xueming Li To: Kommula Shiva Shankar CC: dpdk stable Subject: patch 'common/cnxk: fix RSS RETA configuration' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:48:35 +0800 Message-ID: <20240413125005.725659-35-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.231.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: SJ1PEPF00001CDF:EE_|PH7PR12MB9104:EE_ X-MS-Office365-Filtering-Correlation-Id: 59253f31-7443-4ada-ba9a-08dc5bb8b361 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6IGr/KRzMooJJxFn9Mg0+HkUZx8eztQYCDzUxAamTJ2Ip4oNGHku4i7qecUBFDw9HZ9O+mEMSOveNkYDtJedYsj5LtO00NmtDY+oA9BPPft4PNXtQ0OA3DmP1gPR2kH5K7OsZ2xXxLazQZBA9F7UDZftmyckiUwKgkjEXygIvwLI7GLgS8iUaMx6PPFF2yillsZv8hmYv3WSJHHdCCKrPCpCrMd9KBC96J4+feYxtYLFGuCCAPhQIOo3HyI6JAQEe6cWrvk00bocWhiW112yNnM6Q0Wt41O18DbIMtYra2XXQurhVk+beyS7Zp6C54O65qXA472ZcBPzSbawaM2tiBIAKZOT5qUc5g7jutIIPceETXG46gVmMGXzhpFGU1z+podJQB9K/BPLcYPAgmLVnsqtfiYjZ6qmUdXttE+0It1f1XCYmDAKY9BHdSpjMy4j1Z+TOoojDZV2Krypq+Y1P6kcFWoIt8aqM5H+ACRgCKWOS7rbKJCuXB//+Zjm+tOH/bRurOjwptzuqMNVvd5rqDlsMBgv7aYPvisUfszh8hR52DuSBDg0KsgPlOswmaQjXYnxGih/qNQahvp6jNnYLnX2JkG6ZXEnFp/gvO2PkDWH/V/4kZ0W+koXooZ325QKmlrAGGL3I+ncfqA9cMlrukDs0vdmfkbDy7xGcCgI3dtxdrR/mnR5P86OdEEJL9lYnA3ZJzS2kph9W/6YtYiobYsDf9Lp6qavZ12xYT6PrD8qkxOSIknHpxL4/sBwrzI3 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)(376005)(82310400014)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 12:53:22.0935 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 59253f31-7443-4ada-ba9a-08dc5bb8b361 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: SJ1PEPF00001CDF.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR12MB9104 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=6c6cd1fe5322873d1116f178d263673ab0c7757f Thanks. Xueming Li --- >From 6c6cd1fe5322873d1116f178d263673ab0c7757f Mon Sep 17 00:00:00 2001 From: Kommula Shiva Shankar Date: Mon, 26 Feb 2024 19:05:31 +0530 Subject: [PATCH] common/cnxk: fix RSS RETA configuration Cc: Xueming Li [ upstream commit dce7f0c2400246da41049c64c0c461a24a4c0498 ] Update queue entries copy in RETA table based on data type. Fixes: 1bf6746e653b ("common/cnxk: support NIX RSS") Signed-off-by: Kommula Shiva Shankar --- drivers/common/cnxk/roc_nix_rss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/common/cnxk/roc_nix_rss.c b/drivers/common/cnxk/roc_nix_rss.c index 3599eb9bae..2b88e1360d 100644 --- a/drivers/common/cnxk/roc_nix_rss.c +++ b/drivers/common/cnxk/roc_nix_rss.c @@ -196,7 +196,7 @@ roc_nix_rss_reta_set(struct roc_nix *roc_nix, uint8_t group, if (rc) return rc; - memcpy(&nix->reta[group], reta, ROC_NIX_RSS_RETA_MAX); + memcpy(&nix->reta[group], reta, sizeof(uint16_t) * ROC_NIX_RSS_RETA_MAX); return 0; } @@ -209,7 +209,7 @@ roc_nix_rss_reta_get(struct roc_nix *roc_nix, uint8_t group, if (group >= ROC_NIX_RSS_GRPS) return NIX_ERR_PARAM; - memcpy(reta, &nix->reta[group], ROC_NIX_RSS_RETA_MAX); + memcpy(reta, &nix->reta[group], sizeof(uint16_t) * ROC_NIX_RSS_RETA_MAX); return 0; } -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:06.175059894 +0800 +++ 0035-common-cnxk-fix-RSS-RETA-configuration.patch 2024-04-13 20:43:04.947753997 +0800 @@ -1 +1 @@ -From dce7f0c2400246da41049c64c0c461a24a4c0498 Mon Sep 17 00:00:00 2001 +From 6c6cd1fe5322873d1116f178d263673ab0c7757f Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit dce7f0c2400246da41049c64c0c461a24a4c0498 ] @@ -9 +11,0 @@ -Cc: stable@dpdk.org