net: support QinQ in software packet type parser
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 3 Oct 2016 08:38:48 +0000 (10:38 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 11 Oct 2016 16:17:12 +0000 (18:17 +0200)
commit218a163efd674fb5de6721e021de56329f7d1509
tree362beeada0fc4e12d29ba7b610bb9a7754aa76e5
parenteb173c8def0a3cb3bf4d7e6ed4e329efbeeb35cf
net: support QinQ in software packet type parser

Add a new RTE_PTYPE_L2_ETHER_QINQ 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
lib/librte_net/rte_net.h