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 8EA6143CE7 for ; Mon, 18 Mar 2024 16:40:56 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 874A0402B8; Mon, 18 Mar 2024 16:40:56 +0100 (CET) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mails.dpdk.org (Postfix) with ESMTP id 5BAF3409FA for ; Mon, 18 Mar 2024 16:40:54 +0100 (CET) Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-33fd12a06fdso1055426f8f.1 for ; Mon, 18 Mar 2024 08:40:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710776454; x=1711381254; darn=dpdk.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ZA9rzRr5fRc8OUrjplziROPNB121YvfHlv1JNc9k79Q=; b=CrMSjt48KTPFRRAWbURhAu2R4wmXvPejwSpqu53N/1xgfK/05ij+4bWS5SJsy/C7A3 DjjxX16sOo0zx9iAfHd2DwBQjAnxg7SOjgHMOOzLWDQRPjKNVSAlRFxTollCdGVFa0nl qk/+6Vpg6xv2xqX3LtKEsL6CHgQzzKuoVNHX+/N4bww6T9lUHPBdRoSVm6AJZbrmJmNq ehpQ3n0Rn+DtW6P0/Y/FoGS1m4DUqJYAyjAHZ5byJ929T68Mvszp+qV9c+B18Va5YBwk F9gWJ4dCJzhpHtjuE4hqnPKOcuiYLoKPELqIzr9D62fivrJ9VdpG9hSdlbHkfD9Q4EuK q3Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710776454; x=1711381254; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZA9rzRr5fRc8OUrjplziROPNB121YvfHlv1JNc9k79Q=; b=Lw7wjOanGrvPZiI0D0Nxt4nlfU3iXMPaXeOV4bVlvILprJygPP2MR6x27H+bOlUWDC 5zlNgdyF6CwgL1UFFjAa/s5GvskbayLtbutNeFL6C4y/07YbYr7a21gu2D6M5HRDmndT 4iDaXKEQDeYdttjPTSDt9TWmc9q7Fhx6lGwCa3ry3T7FHNyW4VXNXRleiFmZm9O+Vxfg 0tGlZW3P/zOGzk+/kE7BtQ0aJ4Ao0Un+HL00jQd4Zq4MdmgJEHoM49CiXgLoF+40kihB 2R7vbAED65E0tkzN5YyAx23XkZH67AQoDLav4Erhx0wt4wvNw+KK0SR5pw77VDuAYTLi nXdQ== X-Forwarded-Encrypted: i=1; AJvYcCWz/rRjVLQuDXO3aKurVx8cVYhf6pPnCoxtCPU7zC6Q241VUnLT8aJb3Li3HSllJ9eh0yI+OQoY3eLhE2o1ayA= X-Gm-Message-State: AOJu0YwYb/0/It/WwdGeNyOIZnKqIWmZVD07ryO07hbDGk1JyfGa+hbh sBEdlLwL4xZ89bSkEczWE84VMDCeNwJzfyGRcAXlNxo9KSQzzb/fulllo3Xw6gA= X-Google-Smtp-Source: AGHT+IFZyfZc6jRHjsJ2RhYaiBKhBUC+LcpJIy38jm9YvEFl+lVyZXM0sCO5cmqTeqNywlvVFCqxbw== X-Received: by 2002:adf:e30b:0:b0:33e:6056:6b7d with SMTP id b11-20020adfe30b000000b0033e60566b7dmr7056306wrj.52.1710776453977; Mon, 18 Mar 2024 08:40:53 -0700 (PDT) Received: from localhost ([137.220.120.171]) by smtp.gmail.com with ESMTPSA id w10-20020adff9ca000000b0033e72e104c5sm10032509wrr.34.2024.03.18.08.40.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 08:40:53 -0700 (PDT) From: luca.boccassi@gmail.com 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 22.11.5 Date: Mon, 18 Mar 2024 15:39:17 +0000 Message-Id: <20240318153919.3407921-27-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240318153919.3407921-1-luca.boccassi@gmail.com> References: <20240314000957.2810803-61-luca.boccassi@gmail.com> <20240318153919.3407921-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 22.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/20/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/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/aead7fda3f5b68acb036d33ada05aa8e39643566 Thanks. Luca Boccassi --- >From aead7fda3f5b68acb036d33ada05aa8e39643566 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 f700adb629..d014714b93 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.39.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2024-03-18 12:58:40.474735375 +0000 +++ 0027-net-bnxt-fix-number-of-Tx-queues-being-created.patch 2024-03-18 12:58:39.275349175 +0000 @@ -1 +1 @@ -From 05b67582cc93128bbf2eb26726d781b8c5c561b3 Mon Sep 17 00:00:00 2001 +From aead7fda3f5b68acb036d33ada05aa8e39643566 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 f700adb629..d014714b93 100644