when userspace tso enabled, mbuf RTE_MBUF_F_TX_TCP_SEG and 
RTE_MBUF_F_TX_TCP_CKSUM

flag bits all positioned will result in driver hang using intel E810 vf

driver iavf. As refered to dpdk csum example, RTE_MBUF_F_TX_TCP_SEG

should only be positioned when tso is open.

Signed-off-by: Dexia Li <[email protected]>
---
 lib/netdev-dpdk.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 55700250d..c7cd00fc3 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -2461,7 +2461,6 @@ netdev_dpdk_prep_hwol_packet(struct netdev_dpdk *dev, 
struct rte_mbuf *mbuf)
         }
 
         mbuf->l4_len = TCP_OFFSET(th->tcp_ctl) * 4;
-        mbuf->ol_flags |= RTE_MBUF_F_TX_TCP_CKSUM;
         mbuf->tso_segsz = dev->mtu - mbuf->l3_len - mbuf->l4_len;
 
         if (mbuf->ol_flags & RTE_MBUF_F_TX_IPV4) {
-- 
2.33.0.windows.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to