patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH] net/iavf: fix Tx debug
@ 2023-09-13 14:03 David Marchand
  2023-09-14  2:01 ` Zhang, Qi Z
  0 siblings, 1 reply; 2+ messages in thread
From: David Marchand @ 2023-09-13 14:03 UTC (permalink / raw)
  To: dev
  Cc: stable, Jingjing Wu, Beilei Xing, Declan Doherty, Abhijit Sinha,
	Radu Nicolau

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")
Cc: stable@dpdk.org

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 drivers/net/iavf/iavf_rxtx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/iavf/iavf_rxtx.c b/drivers/net/iavf/iavf_rxtx.c
index f7df4665d1..f1952e1bc8 100644
--- a/drivers/net/iavf/iavf_rxtx.c
+++ b/drivers/net/iavf/iavf_rxtx.c
@@ -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);
-- 
2.41.0


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

* RE: [PATCH] net/iavf: fix Tx debug
  2023-09-13 14:03 [PATCH] net/iavf: fix Tx debug David Marchand
@ 2023-09-14  2:01 ` Zhang, Qi Z
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2023-09-14  2:01 UTC (permalink / raw)
  To: David Marchand, dev
  Cc: stable, Wu, Jingjing, Xing, Beilei, Doherty, Declan, Sinha,
	Abhijit, Nicolau, Radu



> -----Original Message-----
> From: David Marchand <david.marchand@redhat.com>
> Sent: Wednesday, September 13, 2023 10:03 PM
> To: dev@dpdk.org
> Cc: stable@dpdk.org; Wu, Jingjing <jingjing.wu@intel.com>; Xing, Beilei
> <beilei.xing@intel.com>; Doherty, Declan <declan.doherty@intel.com>;
> Sinha, Abhijit <abhijit.sinha@intel.com>; Nicolau, Radu
> <radu.nicolau@intel.com>
> Subject: [PATCH] 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")
> Cc: stable@dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand@redhat.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


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

end of thread, other threads:[~2023-09-14  2:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-13 14:03 [PATCH] net/iavf: fix Tx debug David Marchand
2023-09-14  2:01 ` Zhang, Qi Z

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).