DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] net/ice: disable IPv4 checksum offload in vector path
@ 2021-01-08  7:17 Murphy Yang
  2021-01-14  3:35 ` Zhang, Qi Z
  0 siblings, 1 reply; 2+ messages in thread
From: Murphy Yang @ 2021-01-08  7:17 UTC (permalink / raw)
  To: dev; +Cc: qiming.yang, wenzhuo.lu, qi.z.zhang, stevex.yang, Murphy Yang

ICE choices vector TX path or basic TX path by macro
'ICE_NO_VECTOR_FLAGS'.

This patch adds 'DEV_TX_OFFLOAD_IPV4_CKSUM' in 'ICE_NO_VECTOR_FLAGS'
to make IPv4 checksum offload processed by basic TX path.

Fixes: a22483208800 ("net/ice: disable TSO offload in vector path")

Signed-off-by: Murphy Yang <murphyx.yang@intel.com>
---
 drivers/net/ice/ice_rxtx_vec_common.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/ice/ice_rxtx_vec_common.h b/drivers/net/ice/ice_rxtx_vec_common.h
index ae2ac29f2a..c09ac7f667 100644
--- a/drivers/net/ice/ice_rxtx_vec_common.h
+++ b/drivers/net/ice/ice_rxtx_vec_common.h
@@ -266,6 +266,7 @@ ice_rx_vec_queue_default(struct ice_rx_queue *rxq)
 #define ICE_NO_VECTOR_FLAGS (				 \
 		DEV_TX_OFFLOAD_MULTI_SEGS |		 \
 		DEV_TX_OFFLOAD_VLAN_INSERT |		 \
+		DEV_TX_OFFLOAD_IPV4_CKSUM |		 \
 		DEV_TX_OFFLOAD_SCTP_CKSUM |		 \
 		DEV_TX_OFFLOAD_UDP_CKSUM |		 \
 		DEV_TX_OFFLOAD_TCP_TSO |		 \
-- 
2.17.1


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

* Re: [dpdk-dev] [PATCH] net/ice: disable IPv4 checksum offload in vector path
  2021-01-08  7:17 [dpdk-dev] [PATCH] net/ice: disable IPv4 checksum offload in vector path Murphy Yang
@ 2021-01-14  3:35 ` Zhang, Qi Z
  0 siblings, 0 replies; 2+ messages in thread
From: Zhang, Qi Z @ 2021-01-14  3:35 UTC (permalink / raw)
  To: Yang, MurphyX, dev; +Cc: Yang, Qiming, Lu, Wenzhuo, Yang, SteveX, Yang, MurphyX



> -----Original Message-----
> From: Murphy Yang <murphyx.yang@intel.com>
> Sent: Friday, January 8, 2021 3:18 PM
> To: dev@dpdk.org
> Cc: Yang, Qiming <qiming.yang@intel.com>; Lu, Wenzhuo
> <wenzhuo.lu@intel.com>; Zhang, Qi Z <qi.z.zhang@intel.com>; Yang, SteveX
> <stevex.yang@intel.com>; Yang, MurphyX <murphyx.yang@intel.com>
> Subject: [PATCH] net/ice: disable IPv4 checksum offload in vector path
> 
> ICE choices vector TX path or basic TX path by macro 'ICE_NO_VECTOR_FLAGS'.
> 
> This patch adds 'DEV_TX_OFFLOAD_IPV4_CKSUM' in 'ICE_NO_VECTOR_FLAGS'
> to make IPv4 checksum offload processed by basic TX path.
> 
> Fixes: a22483208800 ("net/ice: disable TSO offload in vector path")
> 
> Signed-off-by: Murphy Yang <murphyx.yang@intel.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:[~2021-01-14  3:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-08  7:17 [dpdk-dev] [PATCH] net/ice: disable IPv4 checksum offload in vector path Murphy Yang
2021-01-14  3:35 ` 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).