]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_mbuf/rte_mbuf_ptype.h
mbuf: add MPLS packet type
[dpdk.git] / lib / librte_mbuf / rte_mbuf_ptype.h
index 5693baeb8a7fb713ea597bf46a480e17947244bd..8fe000a824a643dec7291f7a9b5a35dd3d11c865 100644 (file)
@@ -137,6 +137,13 @@ extern "C" {
  * <'ether type'=[0x8906]>
  */
 #define RTE_PTYPE_L2_ETHER_FCOE             0x00000009
+/**
+ * MPLS packet type.
+ *
+ * Packet format:
+ * <'ether type'=[0x8847|0x8848]>
+ */
+#define RTE_PTYPE_L2_ETHER_MPLS             0x0000000a
 /**
  * Mask of layer 2 packet types.
  * It is used for outer packet for tunneling cases.