net: support Mpls in software packet type parser
authorOlivier Matz <olivier.matz@6wind.com>
Thu, 19 May 2016 13:38:06 +0000 (15:38 +0200)
committerOlivier Matz <olivier.matz@6wind.com>
Tue, 23 Oct 2018 07:43:44 +0000 (09:43 +0200)
commite8efd76fb5a2a6f78261abbb38755009aa0f4b5f
tree00bb47309eddd48abab78abd79a0fed6fd7f0259
parent0334cdac96271a2dfb8002d0732d8dcefb8e4377
net: support Mpls in software packet type parser

Add a new RTE_PTYPE_L2_ETHER_MPLS packet type, and its support in
rte_net_get_ptype().

Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf_ptype.h
lib/librte_net/rte_ether.h
lib/librte_net/rte_net.c