[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251021184108.2390121-1-alok.a.tiwari@oracle.com>
Date: Tue, 21 Oct 2025 11:40:54 -0700
From: Alok Tiwari <alok.a.tiwari@...cle.com>
To: anthony.l.nguyen@...el.com, przemyslaw.kitszel@...el.com,
andrew+netdev@...n.ch, kuba@...nel.org, davem@...emloft.net,
edumazet@...gle.com, pabeni@...hat.com, horms@...nel.org,
intel-wired-lan@...ts.osuosl.org, netdev@...r.kernel.org
Cc: alok.a.tiwarilinux@...il.com, alok.a.tiwari@...cle.com
Subject: [PATCH net-next 1/2] idpf: correct queue index in Rx allocation error messages
The error messages in idpf_rx_desc_alloc_all() used the group index i
when reporting memory allocation failures for individual Rx and Rx buffer
queues. The correct index to report is j, which represents the specific
queue within the group.
Signed-off-by: Alok Tiwari <alok.a.tiwari@...cle.com>
---
drivers/net/ethernet/intel/idpf/idpf_txrx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/intel/idpf/idpf_txrx.c b/drivers/net/ethernet/intel/idpf/idpf_txrx.c
index 828f7c444d30..e29fc5f4012f 100644
--- a/drivers/net/ethernet/intel/idpf/idpf_txrx.c
+++ b/drivers/net/ethernet/intel/idpf/idpf_txrx.c
@@ -923,7 +923,7 @@ static int idpf_rx_desc_alloc_all(struct idpf_vport *vport)
if (err) {
pci_err(vport->adapter->pdev,
"Memory allocation for Rx Queue %u failed\n",
- i);
+ j);
goto err_out;
}
}
@@ -940,7 +940,7 @@ static int idpf_rx_desc_alloc_all(struct idpf_vport *vport)
if (err) {
pci_err(vport->adapter->pdev,
"Memory allocation for Rx Buffer Queue %u failed\n",
- i);
+ j);
goto err_out;
}
}
--
2.50.1
Powered by blists - more mailing lists