Hi, It should be fine to push this change in the older release. Thanks, Kishore -----Original Message----- From: Kevin Traynor Sent: Thursday, April 4, 2024 5:52 AM 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 21.11.7 Hi, FYI, your patch has been queued to stable release 21.11.7 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/09/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://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/0bcf927db287664951fed5a 0745b67a269977463 Thanks. Kevin --- From 0bcf927db287664951fed5a0745b67a269977463 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 [ 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 ea3a1fab8e..2f21e78e5c 100644 --- a/drivers/net/bnxt/bnxt_reps.c +++ b/drivers/net/bnxt/bnxt_reps.c @@ -741,8 +741,8 @@ int bnxt_rep_tx_queue_setup_op(struct rte_eth_dev *eth_dev, 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.44.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-04-04 10:49:34.351618161 +0100 +++ 0013-net-bnxt-fix-number-of-Tx-queues-being-created.patch 2024-04-04 10:49:33.753457746 +0100 @@ -1 +1 @@ -From 05b67582cc93128bbf2eb26726d781b8c5c561b3 Mon Sep 17 00:00:00 2001 +From 0bcf927db287664951fed5a0745b67a269977463 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 05b67582cc93128bbf2eb26726d781b8c5c561b3 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -19 +20 @@ -index edcc27f556..79b3583636 100644 +index ea3a1fab8e..2f21e78e5c 100644 @@ -22 +23 @@ -@@ -740,8 +740,8 @@ int bnxt_rep_tx_queue_setup_op(struct rte_eth_dev *eth_dev, +@@ -741,8 +741,8 @@ int bnxt_rep_tx_queue_setup_op(struct rte_eth_dev +*eth_dev, -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.