]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_tso.c
net/mlx5: add C++ include guard to public header
[dpdk.git] / drivers / net / sfc / sfc_tso.c
index 29d0836b65c053335901ccf800b079bb1fc8ab4d..927e351a6ed45cefdfa7242f4fc74aad4b3fd215 100644 (file)
@@ -153,7 +153,7 @@ sfc_efx_tso_do(struct sfc_efx_txq *txq, unsigned int idx,
         * IPv4 flag. If the packet is still IPv4, HW will simply start from
         * zero IPID.
         */
-       if (m->ol_flags & PKT_TX_IPV4)
+       if (m->ol_flags & RTE_MBUF_F_TX_IPV4)
                packet_id = sfc_tso_ip4_get_ipid(tsoh, nh_off);
 
        /* Handle TCP header */