DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] net/iavf: fix Tx offloading flags check
@ 2023-10-23 16:38 Radu Nicolau
  2023-10-24  5:42 ` Zhang, Qi Z
  2023-10-25  9:12 ` [PATCH v2] " Radu Nicolau
  0 siblings, 2 replies; 9+ messages in thread
From: Radu Nicolau @ 2023-10-23 16:38 UTC (permalink / raw)
  To: Jingjing Wu, Beilei Xing; +Cc: dev, Radu Nicolau, stable, david.marchand

Use IAVF_TX_OFFLOAD_MASK flags instead of IAVF_TX_CKSUM_OFFLOAD_MASK.

Fixes: 3c715591ece0 ("net/iavf: fix checksum offloading")
Cc: stable@dpdk.org
Cc: david.marchand@redhat.com

Signed-off-by: Radu Nicolau <radu.nicolau@intel.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 c6ef6af1d8..85f8c141ce 100644
--- a/drivers/net/iavf/iavf_rxtx.c
+++ b/drivers/net/iavf/iavf_rxtx.c
@@ -2664,7 +2664,7 @@ iavf_build_data_desc_cmd_offset_fields(volatile uint64_t *qw1,
 		l2tag1 |= m->vlan_tci;
 	}
 
-	if ((m->ol_flags & IAVF_TX_CKSUM_OFFLOAD_MASK) == 0)
+	if ((m->ol_flags & IAVF_TX_OFFLOAD_MASK) == 0)
 		goto skip_cksum;
 
 	/* Set MACLEN */
-- 
2.25.1


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

end of thread, other threads:[~2023-10-30  0:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-23 16:38 [PATCH] net/iavf: fix Tx offloading flags check Radu Nicolau
2023-10-24  5:42 ` Zhang, Qi Z
2023-10-24  8:39   ` Radu Nicolau
2023-10-24  8:44     ` David Marchand
2023-10-24  9:03       ` Radu Nicolau
2023-10-24  9:24         ` David Marchand
2023-10-25  9:12 ` [PATCH v2] " Radu Nicolau
2023-10-26  8:07   ` David Marchand
2023-10-30  0:19     ` 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).