net: support MPLS in software packet type parser
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 23 Oct 2018 07:46:49 +0000 (09:46 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 26 Oct 2018 20:14:06 +0000 (22:14 +0200)
commit140af04e63d77e8f57f5db1ffadfada38b677e53
treee7bca64d76d803dffd4d82969c9e5b3b50afb0c6
parente480cf487a0d77ead8fa606532ead1e35eb2426f
net: support MPLS in software packet type parser

Add RTE_PTYPE_L2_ETHER_MPLS packet type support in rte_net_get_ptype().

Signed-off-by: Didier Pallard <didier.pallard@6wind.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
lib/librte_net/rte_ether.h
lib/librte_net/rte_net.c