From 30dc028802b440d6ce223078a1992ba77667af34 Mon Sep 17 00:00:00 2001 From: Murphy Yang Date: Fri, 8 Jan 2021 07:17:52 +0000 Subject: [PATCH] net/ice: disable IPv4 checksum offload in vector Tx 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") Cc: stable@dpdk.org Signed-off-by: Murphy Yang Acked-by: Qi Zhang --- 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.20.1