Skip to contentSkip to conversation

net/iavf: fix Tx debug

PATCH Applied David Marchand 2 participants 2 messages Sep 13, 2023 – Sep 14, 2023 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net/iavf: fix Tx debug

Commit 1e728b01120c ("net/iavf: rework Tx path") reintroduced a check on RTE_LIBRTE_IAVF_DEBUG_TX that has been dropped in favor of RTE_ETHDEV_DEBUG_TX.

Fixes 1e728b01120c ("net/iavf: rework Tx path")
---
 drivers/net/iavf/iavf_rxtx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/iavf/iavf_rxtx.c +1 -1
index f7df4665d1..f1952e1bc8 100644
@@ -2529,7 +2529,7 @@ iavf_fill_ctx_desc_segmentation_field(volatile uint64_t *field,
 			total_length -= m->outer_l3_len + m->outer_l2_len;
 	}
 
-#ifdef RTE_LIBRTE_IAVF_DEBUG_TX
+#ifdef RTE_ETHDEV_DEBUG_TX
 	if (!m->l4_len || !m->tso_segsz)
 		PMD_TX_LOG(DEBUG, "L4 length %d, LSO Segment size %d",
 			 m->l4_len, m->tso_segsz);
Signature · 1 line
2.41.0
Acked-by on v1 1/1 Applied
#1 lore raw
Quoted 12 lines

-----Original Message-----
From: David Marchand <[email protected]>
Sent: Wednesday, September 13, 2023 10:03 PM
To: [email protected]
Cc: [email protected]; Wu, Jingjing <[email protected]>; Xing, Beilei <[email protected]>; Doherty, Declan <[email protected]>; Sinha, Abhijit <[email protected]>; Nicolau, Radu <[email protected]>
Subject: [PATCH] net/iavf: fix Tx debug

Quoted 8 lines

Commit 1e728b01120c ("net/iavf: rework Tx path") reintroduced a check on RTE_LIBRTE_IAVF_DEBUG_TX that has been dropped in favor of RTE_ETHDEV_DEBUG_TX.

Fixes 1e728b01120c ("net/iavf: rework Tx path")

Applied to dpdk-next-net-intel.

Thanks
Qi