summaryrefslogtreecommitdiffstats
path: root/src/pal/linux/mbuf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pal/linux/mbuf.h')
-rwxr-xr-xsrc/pal/linux/mbuf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pal/linux/mbuf.h b/src/pal/linux/mbuf.h
index 2996b514..17b7c7ad 100755
--- a/src/pal/linux/mbuf.h
+++ b/src/pal/linux/mbuf.h
@@ -32,6 +32,7 @@ typedef struct rte_mbuf rte_mbuf_t;
#define MAGIC2 0x11223344
#define IND_ATTACHED_MBUF (1ULL << 62) /**< Indirect attached mbuf */
+#define PKT_TX_VLAN_PKT (1ULL << 57) /**< TX packet is a 802.1q VLAN packet. */
#define RTE_MBUF_INDIRECT(mb) ((mb)->ol_flags & IND_ATTACHED_MBUF)
#define RTE_MBUF_TO_BADDR(mb) (((struct rte_mbuf *)(mb)) + 1)
#define RTE_MBUF_FROM_BADDR(ba) (((struct rte_mbuf *)(ba)) - 1)
@@ -65,6 +66,7 @@ struct rte_mbuf {
uint64_t ol_flags; /**< Offload features. */
uint16_t l2_len;
uint16_t l3_len;
+ uint16_t vlan_tci;
} ;
typedef struct rte_mempool rte_mempool_t;