22/10/2019 18:26, Ting Xu: > This patch enables 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...@intel.com> > > --- > v6: complete doxygen documentation. > v5: create rte_gtp.h and move GTP header definition > to it. > v4: move GTP header definition to rte_ether.h > v3: correct coding style issue. > v2: modify commit log > > depend on patch: lib/mbuf: add GTP tunnel type flag. > --- > app/test-pmd/csumonly.c | 97 +++++++++++++++++++++++++++++++++++---- > doc/api/doxy-api-index.md | 1 + > lib/librte_net/Makefile | 2 +-
You missed meson.build in addition of Makefile. > lib/librte_net/rte_gtp.h | 52 +++++++++++++++++++++ > 4 files changed, 141 insertions(+), 11 deletions(-) > create mode 100644 lib/librte_net/rte_gtp.h Does it deserve 2 separate patches? GTP header + testpmd use [...] > --- /dev/null > +++ b/lib/librte_net/rte_gtp.h [...] > + > +#endif /* RTE_GTP_H_ */ > + Please remove this blank line at EOF. Such things are cleaned up sometimes: http://git.dpdk.org/dpdk/commit/?id=6f3f0acd95