mbuf: support GTP in software packet type parser
authorBeilei Xing <beilei.xing@intel.com>
Thu, 5 Oct 2017 08:14:51 +0000 (16:14 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:50 +0000 (02:49 +0200)
commitb378e12e2a7a45634fe0639fa7c845e92123174b
tree9c02f0a283ac8cd2c68e302060447a6e51b85b43
parent942f03c9203f973e4beda4830a0562fb153068ab
mbuf: support GTP in software packet type parser

Add support of GTP-C and GTP-U tunnels in rte_net_get_ptype().

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Seán Harte <seanbh@gmail.com>
lib/librte_mbuf/rte_mbuf_ptype.c
lib/librte_mbuf/rte_mbuf_ptype.h