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 6713943DF8 for ; Thu, 4 Apr 2024 11:52:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5E11240648; Thu, 4 Apr 2024 11:52:43 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id B4A05402D8 for ; Thu, 4 Apr 2024 11:52:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1712224361; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Vvf+Xd5FUnR/EeRTUpiJzQVkewLtX4NykB7fNifluAY=; b=M6FzBEXuaZnGEBxK9r9f/qWsEuebS995Dy4wqYFMMIOgOjryFaJgJbCRVUZVF3/xKJSuGw uJE2+q8l2IIQEtWeQsmM3IYut4HDhmT19dibOnbvvBW3KEn/MdTFnAIJeFrrmvuVHqywMI Z6GFC4h2BfBMHLsFka+c3/qUuxwyi9M= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-64-vDawND-3OqOoAxO4klHW_g-1; Thu, 04 Apr 2024 05:52:38 -0400 X-MC-Unique: vDawND-3OqOoAxO4klHW_g-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id C62873C0ED63; Thu, 4 Apr 2024 09:52:37 +0000 (UTC) Received: from rh.Home (unknown [10.39.192.22]) by smtp.corp.redhat.com (Postfix) with ESMTP id 26A36485A; Thu, 4 Apr 2024 09:52:36 +0000 (UTC) From: Kevin Traynor 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 Date: Thu, 4 Apr 2024 10:51:43 +0100 Message-ID: <20240404095155.155427-13-ktraynor@redhat.com> In-Reply-To: <20240404095155.155427-1-ktraynor@redhat.com> References: <20240404095155.155427-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true 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 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/0bcf927db287664951fed5a0745b67a269977463 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,