mbuf: add MPLS packet type
[dpdk.git] / lib / librte_mbuf / rte_mbuf_ptype.h
index 5693bae..8fe000a 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.