DPDK patches and discussions
 help / color / Atom feed
* [dpdk-dev] [PATCH] net/iavf: add TSO offload use basic path
@ 2019-12-03 15:28 taox.zhu
  2019-12-18  1:59 ` Zhang, Qi Z
  0 siblings, 1 reply; 3+ messages in thread
From: taox.zhu @ 2019-12-03 15:28 UTC (permalink / raw)
  To: jingjing.wu, wenzhuo.lu; +Cc: dev, Zhu Tao

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/iavf: add TSO offload use basic path
  2019-12-03 15:28 [dpdk-dev] [PATCH] net/iavf: add TSO offload use basic path taox.zhu
@ 2019-12-18  1:59 ` Zhang, Qi Z
  2019-12-18  2:14   ` Ye Xiaolong
  0 siblings, 1 reply; 3+ messages in thread
From: Zhang, Qi Z @ 2019-12-18  1:59 UTC (permalink / raw)
  To: Zhu, TaoX, Wu, Jingjing, Lu, Wenzhuo; +Cc: dev, Zhu, TaoX



> -----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>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] [PATCH] net/iavf: add TSO offload use basic path
  2019-12-18  1:59 ` Zhang, Qi Z
@ 2019-12-18  2:14   ` Ye Xiaolong
  0 siblings, 0 replies; 3+ messages in thread
From: Ye Xiaolong @ 2019-12-18  2:14 UTC (permalink / raw)
  To: Zhang, Qi Z; +Cc: Zhu, TaoX, Wu, Jingjing, Lu, Wenzhuo, dev

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-03 15:28 [dpdk-dev] [PATCH] net/iavf: add TSO offload use basic path taox.zhu
2019-12-18  1:59 ` Zhang, Qi Z
2019-12-18  2:14   ` Ye Xiaolong

DPDK patches and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dev/0 dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dev dev/ http://inbox.dpdk.org/dev \
		dev@dpdk.org
	public-inbox-index dev


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox