> -----Original Message----- > From: David Marchand <david.march...@redhat.com> > Sent: 2022年5月11日 15:28 > To: Ma, WenwuX <wenwux...@intel.com> > Cc: Li, Xiaoyun <xiaoyun...@intel.com>; Singh, Aman Deep > <aman.deep.si...@intel.com>; Zhang, Yuying <yuying.zh...@intel.com>; > dev <dev@dpdk.org>; Hu, Jiayu <jiayu...@intel.com>; Wang, Yinan > <yinan.w...@intel.com>; He, Xingguang <xingguang...@intel.com> > Subject: Re: [PATCH] app/testpmd: perform SW IP checksum for GRO > packets > > On Wed, May 11, 2022 at 3:40 AM Wenwu Ma <wenwux...@intel.com> > 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 <wenwux...@intel.com> > > > -- > David Marchand