mbuf: rename deprecated VLAN flags
[dpdk.git] / drivers / net / dpaa / dpaa_rxtx.c
index d73f9cb..f7cfff7 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 */
 }