intel-wired-lan.osuosl.org archive mirror
 help / color / mirror / Atom feed
* [Intel-wired-lan] [PATCH net-next 1/2] idpf: correct queue index in Rx allocation error messages
@ 2025-10-21 18:40 Alok Tiwari
  2025-10-21 18:40 ` [Intel-wired-lan] [PATCH net-next 2/2] idpf: fix typos and correct doc comments in idpf driver Alok Tiwari
  2025-10-22 14:38 ` [Intel-wired-lan] [PATCH net-next 1/2] idpf: correct queue index in Rx allocation error messages Simon Horman
  0 siblings, 2 replies; 5+ messages in thread
From: Alok Tiwari @ 2025-10-21 18:40 UTC (permalink / raw)
  To: anthony.l.nguyen, przemyslaw.kitszel, andrew+netdev, kuba, davem,
	edumazet, pabeni, horms, intel-wired-lan, netdev
  Cc: alok.a.tiwarilinux, alok.a.tiwari

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@oracle.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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-22 15:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-21 18:40 [Intel-wired-lan] [PATCH net-next 1/2] idpf: correct queue index in Rx allocation error messages Alok Tiwari
2025-10-21 18:40 ` [Intel-wired-lan] [PATCH net-next 2/2] idpf: fix typos and correct doc comments in idpf driver Alok Tiwari
2025-10-22 14:40   ` Simon Horman
2025-10-22 15:05     ` [Intel-wired-lan] [External] : " ALOK TIWARI
2025-10-22 14:38 ` [Intel-wired-lan] [PATCH net-next 1/2] idpf: correct queue index in Rx allocation error messages Simon Horman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).