Re: [PATCH] app/testpmd: fix GTP L2 len in checksum engine

2023-05-17 Thread Ferruh Yigit
On 4/25/2023 12:59 PM, Singh, Aman Deep wrote: > > On 4/2/2023 5:56 PM, Raslan Darawsheh wrote: >> GTP header can be followed by an optional 32 bits extension. >> >> But, l2_len value statically set to RTE_ETHER_GTP_HLEN >> which is defined to be >> (sizeof(struct rte_udp_hdr) + sizeof(st

Re: [PATCH] app/testpmd: fix GTP L2 len in checksum engine

2023-04-25 Thread Singh, Aman Deep
On 4/2/2023 5:56 PM, Raslan Darawsheh wrote: GTP header can be followed by an optional 32 bits extension. But, l2_len value statically set to RTE_ETHER_GTP_HLEN which is defined to be (sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr)) This fixes the l2_len to take into conside

[PATCH] app/testpmd: fix GTP L2 len in checksum engine

2023-04-02 Thread Raslan Darawsheh
GTP header can be followed by an optional 32 bits extension. But, l2_len value statically set to RTE_ETHER_GTP_HLEN which is defined to be (sizeof(struct rte_udp_hdr) + sizeof(struct rte_gtp_hdr)) This fixes the l2_len to take into consideration the extension size. Fixes: d8e5e69f3a9b ("