net/ice: add TSO offload use basic path
diff mbox series

Message ID 20191203152852.51713-1-taox.zhu@intel.com
State Accepted
Delegated to: xiaolong ye
Headers show
Series
  • net/ice: add TSO offload use basic path
Related show

Checks

Context Check Description
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-compilation success Compile Testing PASS
ci/travis-robot success Travis build: passed
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Zhu, TaoX Dec. 3, 2019, 3:28 p.m. UTC
From: Zhu Tao <taox.zhu@intel.com>

ICE choices VECTOR TX path or Basic TX path by macro
ICE_NO_VECTOR_FLAGS. TSO offload only processed by Basic TX path.

Fixes: f88de4694d ("net/ice: support Tx SSE vector")

Signed-off-by: Zhu Tao <taox.zhu@intel.com>
---
 drivers/net/ice/ice_rxtx_vec_common.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Qi Zhang Dec. 3, 2019, 7:01 a.m. UTC | #1
> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of taox.zhu@intel.com
> Sent: Tuesday, December 3, 2019 11:29 PM
> To: Yang, Qiming <qiming.yang@intel.com>; Lu, Wenzhuo
> <wenzhuo.lu@intel.com>
> Cc: dev@dpdk.org; Zhu, TaoX <taox.zhu@intel.com>
> Subject: [dpdk-dev] [PATCH] net/ice: add TSO offload use basic path
> 
> From: Zhu Tao <taox.zhu@intel.com>
> 
> ICE choices VECTOR TX path or Basic TX path by macro
> ICE_NO_VECTOR_FLAGS. TSO offload only processed by Basic TX path.
> 
> Fixes: f88de4694d ("net/ice: support Tx SSE vector")
> 
> Signed-off-by: Zhu Tao <taox.zhu@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Xiaolong Ye Dec. 9, 2019, 1:05 p.m. UTC | #2
On 12/03, taox.zhu@intel.com wrote:
>From: Zhu Tao <taox.zhu@intel.com>
>
>ICE choices VECTOR TX path or Basic TX path by macro
>ICE_NO_VECTOR_FLAGS. TSO offload only processed by Basic TX path.
>
>Fixes: f88de4694d ("net/ice: support Tx SSE vector")
>
>Signed-off-by: Zhu Tao <taox.zhu@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 5e6f89642..6b57ff2ae 100644
>--- a/drivers/net/ice/ice_rxtx_vec_common.h
>+++ b/drivers/net/ice/ice_rxtx_vec_common.h
>@@ -245,6 +245,7 @@ ice_rx_vec_queue_default(struct ice_rx_queue *rxq)
> 		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)
> 
> static inline int
>-- 
>2.17.1
>

Applied to dpdk-next-net-intel, Thanks.

Patch
diff mbox series

diff --git a/drivers/net/ice/ice_rxtx_vec_common.h b/drivers/net/ice/ice_rxtx_vec_common.h
index 5e6f89642..6b57ff2ae 100644
--- a/drivers/net/ice/ice_rxtx_vec_common.h
+++ b/drivers/net/ice/ice_rxtx_vec_common.h
@@ -245,6 +245,7 @@  ice_rx_vec_queue_default(struct ice_rx_queue *rxq)
 		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)
 
 static inline int