]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_net/rte_net.h
net: fix IPv6 checksum with TSO
[dpdk.git] / lib / librte_net / rte_net.h
index 1edc283a47a167541ad575a19ceabadb7527024c..94b06d9ee4a5688be14f8cf7a22220d260368c26 100644 (file)
@@ -125,7 +125,7 @@ rte_net_intel_cksum_flags_prepare(struct rte_mbuf *m, uint64_t ol_flags)
         * Mainly it is required to avoid fragmented headers check if
         * no offloads are requested.
         */
-       if (!(ol_flags & (PKT_TX_IP_CKSUM | PKT_TX_L4_MASK)))
+       if (!(ol_flags & (PKT_TX_IP_CKSUM | PKT_TX_L4_MASK | PKT_TX_TCP_SEG)))
                return 0;
 
        if (ol_flags & (PKT_TX_OUTER_IPV4 | PKT_TX_OUTER_IPV6))