DPDK-dev Archive on lore.kernel.org
 help / color / Atom feed
* [dpdk-dev] [PATCH] net/ice: add TSO offload use basic path
@ 2019-12-03 15:28 taox.zhu
  2019-12-03  7:01 ` Zhang, Qi Z
  2019-12-09 13:05 ` Ye Xiaolong
  0 siblings, 2 replies; 3+ messages in thread
From: taox.zhu @ 2019-12-03 15:28 UTC (permalink / raw)
  To: qiming.yang, wenzhuo.lu; +Cc: dev, Zhu Tao

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


^ 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/ice: add TSO offload use basic path taox.zhu
2019-12-03  7:01 ` Zhang, Qi Z
2019-12-09 13:05 ` Ye Xiaolong

DPDK-dev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dpdk-dev/0 dpdk-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 dpdk-dev dpdk-dev/ https://lore.kernel.org/dpdk-dev \
		dev@dpdk.org
	public-inbox-index dpdk-dev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.dpdk.dev


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