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

Ferruh Yigit ferruh.yigit at amd.com
Wed May 17 17:31:39 CEST 2023


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(struct rte_gtp_hdr))
>>
>> This fixes the l2_len to take into consideration the extension size.
>>
>> Fixes: d8e5e69f3a9b ("app/testpmd: add GTP parsing and Tx checksum
>> offload")
>> Cc: ting.xu at intel.com
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Raslan Darawsheh <rasland at nvidia.com>
> 
> Acked-by: Aman Singh <aman.deep.singh at intel.com>>

Applied to dpdk-next-net/main, thanks.



More information about the stable mailing list