net: support NVGRE in software packet type parser
authorOlivier Matz <olivier.matz@6wind.com>
Mon, 3 Oct 2016 08:38:52 +0000 (10:38 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 11 Oct 2016 16:17:13 +0000 (18:17 +0200)
commit2c15c5377da23863b02a4b94ae89a3a76dfa0e4a
tree462e856d16cc0c35608f52837c88a186ad625abd
parentd21d855464ff05d65ce160264eac1e52eb319574
net: support NVGRE in software packet type parser

Add support of Nvgre tunnels in rte_net_get_ptype(). At the same
time, as Nvgre transports Ethernet, we need to add the support for inner
Vlan, QinQ, and Mpls.

Signed-off-by: Jean Dao <jean.dao@6wind.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
lib/librte_mbuf/rte_mbuf_ptype.h
lib/librte_net/rte_net.c
lib/librte_net/rte_net.h