net/iavf: fix Tx debug
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")
Signed-off-by David Marchand <[email protected]>
--- drivers/net/iavf/iavf_rxtx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/iavf/iavf_rxtx.c +1 -1
@@ -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
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 onRTE_LIBRTE_IAVF_DEBUG_TXthat has been dropped in favor ofRTE_ETHDEV_DEBUG_TX.Fixes 1e728b01120c ("net/iavf: rework Tx path")Signed-off-by David Marchand <[email protected]>
Acked-by Qi Zhang <[email protected]>
Applied to dpdk-next-net-intel.
Thanks
Qi