> -----Original Message----- > From: Wenwu Ma <wenwux...@intel.com> > Sent: Thursday, May 12, 2022 9:08 AM > To: Li, Xiaoyun <xiaoyun...@intel.com>; Singh, Aman Deep > <aman.deep.si...@intel.com>; Zhang, Yuying <yuying.zh...@intel.com>; > dev@dpdk.org > Cc: Hu, Jiayu <jiayu...@intel.com>; Wang, Yinan <yinan.w...@intel.com>; > He, Xingguang <xingguang...@intel.com>; Ma, WenwuX > <wenwux...@intel.com>; sta...@dpdk.org > Subject: [PATCH v3] app/testpmd: perform SW IP checksum for GRO/GSO > packets > > The GRO/GSO library doesn't re-calculate checksums for > merged/fragmented packets. If users want the packets to have correct IP > checksums, they should select HW IP checksum calculation for the port which > the 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. > > Fixes: b7091f1dcfbc ("app/testpmd: enable the heavyweight mode TCP/IPv4 > GRO") > Fixes: 52f38a2055ed ("app/testpmd: enable TCP/IPv4 VxLAN and GRE GSO") > Cc: sta...@dpdk.org > > Signed-off-by: Wenwu Ma <wenwux...@intel.com> > ---
Tested-by: Wei Ling <weix.l...@intel.com>