]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/sfc_ef10_tx.c
net: add rte prefix to ip structure
[dpdk.git] / drivers / net / sfc / sfc_ef10_tx.c
index 0711c1136d4327f815bcb47982b2976ff7e87170..cb2fbb2ee57ebba64b7f71e20a018f7f3768f9e4 100644 (file)
@@ -430,9 +430,9 @@ sfc_ef10_xmit_tso_pkt(struct sfc_ef10_txq * const txq, struct rte_mbuf *m_seg,
 
        switch (first_m_seg->ol_flags & (PKT_TX_IPV4 | PKT_TX_IPV6)) {
        case PKT_TX_IPV4: {
-               const struct ipv4_hdr *iphe4;
+               const struct rte_ipv4_hdr *iphe4;
 
-               iphe4 = (const struct ipv4_hdr *)(hdr_addr + iph_off);
+               iphe4 = (const struct rte_ipv4_hdr *)(hdr_addr + iph_off);
                rte_memcpy(&packet_id, &iphe4->packet_id, sizeof(uint16_t));
                packet_id = rte_be_to_cpu_16(packet_id);
                break;