From: Tao Zhu Date: Tue, 3 Dec 2019 15:28:25 +0000 (+0800) Subject: net/iavf: add TSO offload use basic path X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b1b73eaee2f184799a02dbff4c48a6a04c19cf5b;p=dpdk.git net/iavf: add TSO offload use basic path IAVF choices VECTOR TX path or Basic TX path by macro IAVF_NO_VECTOR_FLAGS. TSO offload only processed by Basic TX path. Fixes: 605c6f9ca52f ("net/avf: convert to new Rx and Tx offload API") Cc: stable@dpdk.org Signed-off-by: Tao Zhu Acked-by: Qi Zhang --- diff --git a/drivers/net/iavf/iavf_rxtx.h b/drivers/net/iavf/iavf_rxtx.h index 225a0c4c42..60d02c521f 100644 --- a/drivers/net/iavf/iavf_rxtx.h +++ b/drivers/net/iavf/iavf_rxtx.h @@ -28,6 +28,7 @@ DEV_TX_OFFLOAD_VLAN_INSERT | \ DEV_TX_OFFLOAD_SCTP_CKSUM | \ DEV_TX_OFFLOAD_UDP_CKSUM | \ + DEV_TX_OFFLOAD_TCP_TSO | \ DEV_TX_OFFLOAD_TCP_CKSUM) #define DEFAULT_TX_RS_THRESH 32