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

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

Checks

Context Check Description
ci/iol-mellanox-Performance success Performance Testing PASS
ci/iol-compilation success Compile Testing PASS
ci/iol-intel-Performance success Performance 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>

IAVF choices VECTOR TX path or Basic TX path by macro
IAVF_NO_VECTOR_FLAGS. TSO offload only processed by Basic TX path.

Fixes: 605c6f9ca5 ("net/avf: convert to new Rx and Tx offload API")

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

Comments

Zhang, Qi Z Dec. 18, 2019, 1:59 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:28 PM
> To: Wu, Jingjing <jingjing.wu@intel.com>; Lu, Wenzhuo
> <wenzhuo.lu@intel.com>
> Cc: dev@dpdk.org; Zhu, TaoX <taox.zhu@intel.com>
> Subject: [dpdk-dev] [PATCH] net/iavf: add TSO offload use basic path
> 
> From: Zhu Tao <taox.zhu@intel.com>
> 
> IAVF choices VECTOR TX path or Basic TX path by macro
> IAVF_NO_VECTOR_FLAGS. TSO offload only processed by Basic TX path.
> 
> Fixes: 605c6f9ca5 ("net/avf: convert to new Rx and Tx offload API")
> 
> Signed-off-by: Zhu Tao <taox.zhu@intel.com>
> ---
>  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
> 225a0c4c4..60d02c521 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.17.1

Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Ye Xiaolong Dec. 18, 2019, 2:14 a.m. UTC | #2
On 12/18, Zhang, Qi Z wrote:
>
>
>> -----Original Message-----
>> From: dev <dev-bounces@dpdk.org> On Behalf Of taox.zhu@intel.com
>> Sent: Tuesday, December 3, 2019 11:28 PM
>> To: Wu, Jingjing <jingjing.wu@intel.com>; Lu, Wenzhuo
>> <wenzhuo.lu@intel.com>
>> Cc: dev@dpdk.org; Zhu, TaoX <taox.zhu@intel.com>
>> Subject: [dpdk-dev] [PATCH] net/iavf: add TSO offload use basic path
>> 
>> From: Zhu Tao <taox.zhu@intel.com>
>> 
>> IAVF choices VECTOR TX path or Basic TX path by macro
>> IAVF_NO_VECTOR_FLAGS. TSO offload only processed by Basic TX path.
>> 
>> Fixes: 605c6f9ca5 ("net/avf: convert to new Rx and Tx offload API")
>> 
>> Signed-off-by: Zhu Tao <taox.zhu@intel.com>
>> ---
>>  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
>> 225a0c4c4..60d02c521 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.17.1
>
>Acked-by: Qi Zhang <qi.z.zhang@intel.com>
>
>

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

Patch
diff mbox series

diff --git a/drivers/net/iavf/iavf_rxtx.h b/drivers/net/iavf/iavf_rxtx.h
index 225a0c4c4..60d02c521 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