]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/dpaa/dpaa_rxtx.c
mbuf: rename deprecated VLAN flags
[dpdk.git] / drivers / net / dpaa / dpaa_rxtx.c
index d73f9cbe71c083432389f5ae5656e306d2d28c7d..f7cfff7984fc3ffd267c83dad2126b6bef627667 100644 (file)
@@ -32,7 +32,6 @@
  */
 
 /* System headers */
-#include <stdio.h>
 #include <inttypes.h>
 #include <unistd.h>
 #include <stdio.h>
@@ -56,7 +55,6 @@
 #include <rte_alarm.h>
 #include <rte_ether.h>
 #include <rte_ethdev.h>
-#include <rte_atomic.h>
 #include <rte_malloc.h>
 #include <rte_ring.h>
 #include <rte_ip.h>
@@ -221,7 +219,7 @@ static inline void dpaa_eth_packet_info(struct rte_mbuf *m,
 
        /* Check if Vlan is present */
        if (prs & DPAA_PARSE_VLAN_MASK)
-               m->ol_flags |= PKT_RX_VLAN_PKT;
+               m->ol_flags |= PKT_RX_VLAN;
        /* Packet received without stripping the vlan */
 }