RE: [PATCH] app/testpmd: perform SW IP checksum for GRO packets

2022-05-11 Thread Ma, WenwuX
> -Original Message- > From: David Marchand > Sent: 2022年5月11日 15:28 > To: Ma, WenwuX > Cc: Li, Xiaoyun ; Singh, Aman Deep > ; Zhang, Yuying ; > dev ; Hu, Jiayu ; Wang, Yinan > ; He, Xingguang > Subject: Re: [PATCH] app/testpmd: perform SW IP checksum fo

Re: [PATCH] app/testpmd: perform SW IP checksum for GRO packets

2022-05-11 Thread David Marchand
On Wed, May 11, 2022 at 3:40 AM Wenwu Ma wrote: > > The GRO library doesn't re-calculate checksums for > merged packets. If users want the merged packets to > have correct IP checksums, they should select HW IP > checksum calculation for the port which the merged > packets are transmitted to. But

[PATCH] app/testpmd: perform SW IP checksum for GRO packets

2022-05-10 Thread Wenwu Ma
The GRO library doesn't re-calculate checksums for merged packets. If users want the merged packets to have correct IP checksums, they should select HW IP checksum calculation for the port which the merged packets are transmitted to. But if the port doesn't support HW IP checksum, users may perform