> -----Original Message----- > From: David Marchand <[email protected]> > Sent: 2022年5月11日 15:28 > To: Ma, WenwuX <[email protected]> > Cc: Li, Xiaoyun <[email protected]>; Singh, Aman Deep > <[email protected]>; Zhang, Yuying <[email protected]>; > dev <[email protected]>; Hu, Jiayu <[email protected]>; Wang, Yinan > <[email protected]>; He, Xingguang <[email protected]> > Subject: Re: [PATCH] app/testpmd: perform SW IP checksum for GRO > packets > > On Wed, May 11, 2022 at 3:40 AM Wenwu Ma <[email protected]> > 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 if the port doesn't support HW IP > > checksum, users may perform a SW IP checksum. This patch add the code > > about it. > > It looks like a fix, please add a Fixes: line. ok
> Out of curiosity, would there be an issue too when using the gso library? > yes, gso library has the same issue. IP checksum need to be re-calculated for fragmented packets > > > > Signed-off-by: Wenwu Ma <[email protected]> > > > -- > David Marchand

