[dpdk-dev] [PATCH v5] app/testpmd: enable GTP header parse and Tx checksum offload

Ferruh Yigit ferruh.yigit at intel.com
Tue Oct 22 10:14:45 CEST 2019


On 10/22/2019 1:29 PM, Ting Xu wrote:
> 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.xu at intel.com>
> 
> ---
> v5: Create rte_gtp.h and move GTP header defination
> to it.
> v4: Move GTP header defination 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 +++++++++++++++++++++++++++++++++++-----
>  lib/librte_net/Makefile  |  2 +-
>  lib/librte_net/rte_gtp.h | 52 +++++++++++++++++++++

Thanks Ting,

Can you also please this new header to 'doc/api/doxy-api-index.md' so that it
can be part of API documentation, and can you please be sure the header file
doxygen documentation is complete?

Thanks,
ferruh

>  3 files changed, 140 insertions(+), 11 deletions(-)
>  create mode 100644 lib/librte_net/rte_gtp.h

<...>



More information about the dev mailing list