From b1b73eaee2f184799a02dbff4c48a6a04c19cf5b Mon Sep 17 00:00:00 2001 From: Tao Zhu Date: Tue, 3 Dec 2019 23:28:25 +0800 Subject: [PATCH] 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 --- drivers/net/iavf/iavf_rxtx.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1