app/testpmd: add GTP parsing and Tx checksum offload
authorTing Xu <ting.xu@intel.com>
Tue, 22 Oct 2019 16:26:36 +0000 (16:26 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 25 Oct 2019 17:00:22 +0000 (19:00 +0200)
commitd8e5e69f3a9b14c336ecc31a11a41c92488a1d28
tree008be7d8bf2035c3b0583d6eb827a2d202bde995
parent4958ca3a443a33ed49b2601232349037dbb7124f
app/testpmd: add GTP parsing and Tx checksum offload

Enable testpmd to forward GTP packet in csum fwd mode.

A GTP header structure (without optional fields and extension header)
is defined in new rte_gtp.h.
A parser function in testpmd is added.  GTPU and GTPC packets are both
supported, with respective UDP destination port and GTP message type.

Signed-off-by: Ting Xu <ting.xu@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
app/test-pmd/csumonly.c
doc/api/doxy-api-index.md
lib/librte_net/Makefile
lib/librte_net/meson.build
lib/librte_net/rte_gtp.h [new file with mode: 0644]