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 6F3B845610 for ; Fri, 12 Jul 2024 12:52:49 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 68D7C42F1F; Fri, 12 Jul 2024 12:52:49 +0200 (CEST) Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2086.outbound.protection.outlook.com [40.107.92.86]) by mails.dpdk.org (Postfix) with ESMTP id ABEF040261 for ; Fri, 12 Jul 2024 12:52:48 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=f9LEgU7bgCyNhL0GSy8MxF0EwytYEZj4mojgdQ69EVuADutUpmBVb2/XO+ZZnPMO2bZoiAjNIfz+niOAfWLjS21hasWDRczYcikn7MccOHHNY5qRz6Sbg+3QQAkCGW3yh52Uuku4lYUF5H5qprLdM+Ectq2eGQX4FJ1Aw/PndxGWzKNN3puPGR3yEYeaygZkXSRVQYcH4tIBhKvZcStjcMbQi3rzU+htH5edRVbqLZVUd8ySJUGe1sWehY7eNXlB7T+AM8iaDV9TUHxO6Un0uKHewq9OzL44/UUdjXyilULVm1byH1WsE2n6qVusgxCxY5rHcmbrAo3vhdmJyVyWHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=glNPYm9pik2FJRIaBVHop0HAkpsrjl7e/H6IhkMTk/U=; b=l2yPhmLnJhwkNk5qAybbk9wcNpqmbpTksgq/seryii3fuuwaL8iOEURUwvF+jcTJS4v4Z7hssOJbdpXPZTlJsFpp5vcs/3KQv1fGnNBYgpg4sDW8MpfzlQo0izIa5/rSPAaf+3NccbM76c1nxYo/AWWy8aoXZq0FI+h6G0hSIy21cFqcaBgF1xzy3BKp/qDJScWLB08Uqcb+dSVBRNRWLOVoqcwpnmLH2nk5wR99yvOluPNLkkM/XZY6Fc0MbqEITiBMciYsbfMGJ0a/zEnFFi8um0JEKhC55D6iz//BdC+ZQKbmigE96S8VI+PNrBdSrMFCw+nbqMK8pqxbQF8jMw== 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=glNPYm9pik2FJRIaBVHop0HAkpsrjl7e/H6IhkMTk/U=; b=N9kLzRom2XpfoYfanAu3UlM4TeL0V0ouuZW7N9oNz0CO/44WwfD70Ho38K/vz6DeMA+DAb7c8uckH8QW3VVG8vMVn8OSQi1nJCrMN5eCXlxpDawR3PyRSSD/HMalaB6Mc/a/VoCKcfsoJ1+hY90d1Ix2rVAeIX22PvYKn10tW/eCX/ExczzRVelyGR1XeFzip3JZvNd5u/i/bUMU9L3udzSTnAK6MgJjXtwHI3zLj1762W3NIe/5vblW9tGO0qdmla6bbc+0yh/G8TkGMiOC8jCDJFA5eAj8AI5F/MUEMy8Kdjimh+eAWLW8lqco77wEyBpUJSMfTop+0rKNiMjyNw== Received: from SJ0PR05CA0100.namprd05.prod.outlook.com (2603:10b6:a03:334::15) by SA1PR12MB8860.namprd12.prod.outlook.com (2603:10b6:806:38b::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.21; Fri, 12 Jul 2024 10:52:45 +0000 Received: from SJ5PEPF000001D2.namprd05.prod.outlook.com (2603:10b6:a03:334:cafe::34) by SJ0PR05CA0100.outlook.office365.com (2603:10b6:a03:334::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.22 via Frontend Transport; Fri, 12 Jul 2024 10:52:45 +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 SJ5PEPF000001D2.mail.protection.outlook.com (10.167.242.54) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.17 via Frontend Transport; Fri, 12 Jul 2024 10:52:45 +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.1544.4; Fri, 12 Jul 2024 03:52:33 -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.1544.4; Fri, 12 Jul 2024 03:52:31 -0700 From: Xueming Li To: Sunil Kumar Kori CC: dpdk stable Subject: patch 'net/cnxk: fix RSS config' has been queued to stable release 23.11.2 Date: Fri, 12 Jul 2024 18:44:55 +0800 Message-ID: <20240712104528.308638-70-xuemingl@nvidia.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240712104528.308638-1-xuemingl@nvidia.com> References: <20240712104528.308638-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: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ5PEPF000001D2:EE_|SA1PR12MB8860:EE_ X-MS-Office365-Filtering-Correlation-Id: e86f0eee-984b-4546-18ab-08dca260c31b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|36860700013|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?E7gQ7FrgQN/sc4+ht9jnb74u00uztsl0it0xlNsWLtQjm9z7/5ab4IFZp2vy?= =?us-ascii?Q?P6en6oPcRaBtRMwuncCxJGJzol/17bJstP6AuE97bI8sCZXPaEMBzrXCdgHq?= =?us-ascii?Q?zsWCZuWPPNv5WibgScI15L1prwT8YhMvOoQZllTpVg5PkRrNf+rXqtPS0ojt?= =?us-ascii?Q?sxf8LSX2yiwCLV9wlE46ufA1wx4aRY9SaztGHK27uI9akY1NUTX7uQL1eqC6?= =?us-ascii?Q?6oUsBDNBpKuDy0PyPaqQrQ7/bCfygu4ziqB9I+5D+W8y0OFNmQshqllYjeW+?= =?us-ascii?Q?hDBC3yD7JeyRfs9f6mxD3npJ2pUP2vo3J8AI+zByQ1nNVGTm40ioFOVWa+32?= =?us-ascii?Q?ycSOqZLA2j6GhcdGjxT84EgfoWrxTgC9bu14bsDmqQJGAIC4YACCaidU6cic?= =?us-ascii?Q?dgXNvKTrdKU6+UkOsU97miN1X5cQjnhzadGADcAMknh92Ua1dcZfGk1yOIn1?= =?us-ascii?Q?0Xt0YtYRpASgDrCZAhxBy7YN6oW/RMBc/RWljhgBphWqHlx/zQMFZj8tzmck?= =?us-ascii?Q?yGQGWdnbGBgFQoRAdZbwFENaGpYamcfRIfjLVApg7gJcCvxgCPEcGcB5DFmy?= =?us-ascii?Q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ispam-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:(13230040)(376014)(36860700013)(1800799024)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2024 10:52:45.3348 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e86f0eee-984b-4546-18ab-08dca260c31b 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: SJ5PEPF000001D2.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR12MB8860 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.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 07/14/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=d73bed774ec937f5ff3a2c267c8cb7c031999ee2 Thanks. Xueming Li --- >From d73bed774ec937f5ff3a2c267c8cb7c031999ee2 Mon Sep 17 00:00:00 2001 From: Sunil Kumar Kori Date: Thu, 23 May 2024 20:23:21 +0530 Subject: [PATCH] net/cnxk: fix RSS config Cc: Xueming Li [ upstream commit d3654d35176dcc6e5ebb7bab00c7fdd6b61fc1f0 ] Currently user passed RSS configuration is ignored via rte_eth_dev_configure() API. Instead default RSS setup is done by driver. Adding handling for user passed RSS configuration too via rte_eth_dev_configure(). Fixes: b75e0aca84b0 ("net/cnxk: add device configuration operation") Signed-off-by: Sunil Kumar Kori --- drivers/net/cnxk/cnxk_ethdev.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c index 5e11bbb017..c841b31051 100644 --- a/drivers/net/cnxk/cnxk_ethdev.c +++ b/drivers/net/cnxk/cnxk_ethdev.c @@ -1384,6 +1384,13 @@ cnxk_nix_configure(struct rte_eth_dev *eth_dev) goto free_nix_lf; } + /* Overwrite default RSS setup if requested by user */ + rc = cnxk_nix_rss_hash_update(eth_dev, &conf->rx_adv_conf.rss_conf); + if (rc) { + plt_err("Failed to configure rss rc=%d", rc); + goto free_nix_lf; + } + /* Init the default TM scheduler hierarchy */ rc = roc_nix_tm_init(nix); if (rc) { -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-07-12 18:40:17.275793946 +0800 +++ 0069-net-cnxk-fix-RSS-config.patch 2024-07-12 18:40:14.176594219 +0800 @@ -1 +1 @@ -From d3654d35176dcc6e5ebb7bab00c7fdd6b61fc1f0 Mon Sep 17 00:00:00 2001 +From d73bed774ec937f5ff3a2c267c8cb7c031999ee2 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit d3654d35176dcc6e5ebb7bab00c7fdd6b61fc1f0 ] @@ -14 +16,0 @@ -Cc: stable@dpdk.org @@ -22 +24 @@ -index 6b37bd877f..95a3d8aaf9 100644 +index 5e11bbb017..c841b31051 100644