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 360C843E57 for ; Sat, 13 Apr 2024 15:00:10 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 30BC240294; Sat, 13 Apr 2024 15:00:10 +0200 (CEST) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2060.outbound.protection.outlook.com [40.107.93.60]) by mails.dpdk.org (Postfix) with ESMTP id B05EC400D6 for ; Sat, 13 Apr 2024 15:00:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z5t1GLVTtlJagkvt4bS0u3z3eTqU5FC3YkOMc1Q7c8LPKAXQUM9aVtPVTAMpjXyQMLHWEJJ7rdon/AY52sNfl23SKR24rsyPBsLVrwDa/Ue/zK0qkC8h709doh+eiZxo8er6lASi3YxR8iOq9TDVnP+WEcZ2N7/3uSDi7kOsENoRiBUAwUidCIvcM0WTKD2TPOA0tpw/BTnxOKS6EYRJFHMx9sJsHlFhPfjvYBhafOFk0N5Yh6Pm/PFLYwmIGmuWdyU1Ka2VTNq7k6I4ElNIGCfpcmqJCb+2LbKAS+2cbgM+A6Xp/eHUwMcgf+pojXWgQxSY0kKT72iqPOUIhxzpsQ== 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=Y3ZlMfUB9Vv0XGD0RuJVpz3zE7YLmryqpWUYIoOtjPk=; b=DzzSIc9H6xjqQ7WWtZazFAJMlpoT3znkCs1R9OAeCHsQLC/HchpWUppnXv9JtGTdotr74rv58eErOMGTTwZVIWPjxPuI6RWsecAwK1F0DZEykZS072YWbBf1biqxY7peo6lzFMlHBDSs5DgjOljG4UF4CaJzaSCl8ifbXK64VT+qppO8xRhtkd/OWBR1PmLmhSsydYTuHHNZ83p5ZPII0hbSpBhjniM3B4pzVXD5pmptFhL/rwAz3xtzPh1mWO+G9hSgLRupBLqWvhTqhL004RfntPBz7x/rF1UQYLvsnDOlwwKTuZ0DZfHpkMqIQjkfNrXhhaCbIjfuS0w2jMsVTA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) 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 (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=Y3ZlMfUB9Vv0XGD0RuJVpz3zE7YLmryqpWUYIoOtjPk=; b=tJwopKSY+DtC3fAXuXzS3SxaV8o8phrumVzC/A1FP1XnuBh3WvLPQaTCARmzk/iEI5xc7t36Cr+rih/BZg6jLTJzuF9P+GVtR8e1AXdRxrAmxhDEHHbptSYjJelR6/2NHbfUxowFlokaVykjiulAqhWj9E11jGTH2IbKBHtUyObfudhR+XOKjkHzOqky+luEvUNUk9+gfWWoj+dEij5F216p8b11uRAfawEZP9WGlkAgKIKMeQccLPAy6SBgCVlGlIrhVvHXqyeNkQ/UsZY2u4mKgwll5BZnZbjp4T/fQUl2ajy/RURG3cAR/SKTFWwwJboVG2L/hGOim6qBKOdRmQ== Received: from MW4PR04CA0103.namprd04.prod.outlook.com (2603:10b6:303:83::18) by DS7PR12MB5957.namprd12.prod.outlook.com (2603:10b6:8:7c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.47; Sat, 13 Apr 2024 13:00:05 +0000 Received: from MWH0EPF000989EA.namprd02.prod.outlook.com (2603:10b6:303:83:cafe::ff) by MW4PR04CA0103.outlook.office365.com (2603:10b6:303:83::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.28 via Frontend Transport; Sat, 13 Apr 2024 13:00:04 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) 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.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by MWH0EPF000989EA.mail.protection.outlook.com (10.167.241.137) 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 13:00:03 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) 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:59:53 -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:59:51 -0700 From: Xueming Li To: Kishore Padmanabha CC: Ajit Khaparde , dpdk stable Subject: patch 'net/bnxt: fix number of Tx queues being created' has been queued to stable release 23.11.1 Date: Sat, 13 Apr 2024 20:49:49 +0800 Message-ID: <20240413125005.725659-109-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: MWH0EPF000989EA:EE_|DS7PR12MB5957:EE_ X-MS-Office365-Filtering-Correlation-Id: bd04b286-1076-4085-2868-08dc5bb9a2ce X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SVb7pSTBjrf91IU5GcUcxX5Y2+urH3wdZv0juQtVOn0dTF7Em4a6L5rngAmfA3/BQvChMNkwwM9/owSyv4owORuU5Q3Y0qCjSrn1GflN7Gt0XGbcr8oE7s0/azg30Z58x706i8hV2ZgWVMy90nTVMgB8fXSXbYdOYSXclAEWnQQjoev7cqUZ8MJnr7pIG+OQOTeTBI5wYU9mMBfD2gxV3PidokWKcQk0h6pRGB2ZoLP/g2HsWIYyivuK6+ZVLAks1mI0aq8PMFDmNxPTtnDpQDxXrLKJfMr6DPm/dMgUkkanuLH7PpQgMBWIWLuJfsgFxz6ncuv00XSQlJM0o0Reu8hvzxZommvnOVYNHKH+tlXHHqKDP2HLumxrKXa1XwAoHTv4oxVn7m7xcrU+10IeDGftaCg/OAPMY+NN9CQHFCNqcCUSfci7Hv/yOO9PctBCImK4S+ZYrmGNsF8km0w7E+rrtBPsGc0IsiR1pt1zSngMn2RX87iKsinn9zKHuhessZOJsK3w28Ba+kiNHFaROMIDX9867bVmbT+0Q+O/7j27gEwmSOT6sYeAN2425B1tAV4JvbQU2XYYlD7C/k0TiL6Desdqqu7Fp1dBJvwFcpj78NVBCXavlCcJfAEvIVuWnjplG2D2LP8seVke6pQZBIiV8C6hwha35L/f8qY+XpxwQ5MCkntZ2B1/QyZBgl6DLkMT7nBHj+Mye3zZ21uNH+bMDgD0WMpBzxoavPpPNcllO67wbnpcX7dh6k2vDsNw X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230031)(1800799015)(82310400014)(376005)(36860700004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2024 13:00:03.7327 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bd04b286-1076-4085-2868-08dc5bb9a2ce 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.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: MWH0EPF000989EA.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB5957 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=0a44e64c41c87bfd8c4e01dd37b0ec43c3d5f509 Thanks. Xueming Li --- >From 0a44e64c41c87bfd8c4e01dd37b0ec43c3d5f509 Mon Sep 17 00:00:00 2001 From: Kishore Padmanabha Date: Mon, 13 Nov 2023 11:08:52 -0500 Subject: [PATCH] net/bnxt: fix number of Tx queues being created Cc: Xueming Li [ upstream commit 05b67582cc93128bbf2eb26726d781b8c5c561b3 ] The number of Tx queues for the representor port is limited by number of Rx rings instead of Tx rings. Fixes: 322bd6e70272 ("net/bnxt: add port representor infrastructure") Signed-off-by: Kishore Padmanabha Reviewed-by: Ajit Khaparde --- drivers/net/bnxt/bnxt_reps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/bnxt/bnxt_reps.c b/drivers/net/bnxt/bnxt_reps.c index a7b75b543e..6d6b8252e2 100644 --- a/drivers/net/bnxt/bnxt_reps.c +++ b/drivers/net/bnxt/bnxt_reps.c @@ -739,10 +739,10 @@ int bnxt_rep_tx_queue_setup_op(struct rte_eth_dev *eth_dev, struct bnxt_tx_queue *parent_txq, *txq; struct bnxt_vf_rep_tx_queue *vfr_txq; - if (queue_idx >= rep_bp->rx_nr_rings) { + if (queue_idx >= rep_bp->tx_nr_rings) { PMD_DRV_LOG(ERR, "Cannot create Tx rings %d. %d rings available\n", - queue_idx, rep_bp->rx_nr_rings); + queue_idx, rep_bp->tx_nr_rings); return -EINVAL; } -- 2.34.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-13 20:43:08.361514438 +0800 +++ 0109-net-bnxt-fix-number-of-Tx-queues-being-created.patch 2024-04-13 20:43:05.127753762 +0800 @@ -1 +1 @@ -From 05b67582cc93128bbf2eb26726d781b8c5c561b3 Mon Sep 17 00:00:00 2001 +From 0a44e64c41c87bfd8c4e01dd37b0ec43c3d5f509 Mon Sep 17 00:00:00 2001 @@ -4,0 +5,3 @@ +Cc: Xueming Li + +[ upstream commit 05b67582cc93128bbf2eb26726d781b8c5c561b3 ] @@ -10 +12,0 @@ -Cc: stable@dpdk.org @@ -19 +21 @@ -index edcc27f556..79b3583636 100644 +index a7b75b543e..6d6b8252e2 100644