net: add rte prefix to ip structure
[dpdk.git] / drivers / net / sfc / sfc_ef10_tx.c
index 0711c11..cb2fbb2 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;