[dpdk-dev] [PATCH v2] net/i40e: fix incorrect checksum flag of L4 checksum

Zhang, Qi Z qi.z.zhang at intel.com
Fri Dec 11 03:16:55 CET 2020



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Guo, Jia
> Sent: Friday, December 4, 2020 10:19 AM
> To: Yang, MurphyX <murphyx.yang at intel.com>; dev at dpdk.org
> Cc: Yang, Qiming <qiming.yang at intel.com>; Yang, SteveX
> <stevex.yang at intel.com>; Xing, Beilei <beilei.xing at intel.com>; Yang, MurphyX
> <murphyx.yang at intel.com>
> Subject: Re: [dpdk-dev] [PATCH v2] net/i40e: fix incorrect checksum flag of L4
> checksum
> 
> Acked-by: Jeff Guo <jia.guo at intel.com>
> 
> > -----Original Message-----
> > From: Murphy Yang <murphyx.yang at intel.com>
> > Sent: Thursday, December 3, 2020 3:51 PM
> > To: dev at dpdk.org
> > Cc: Yang, Qiming <qiming.yang at intel.com>; Yang, SteveX
> > <stevex.yang at intel.com>; Guo, Jia <jia.guo at intel.com>; Xing, Beilei
> > <beilei.xing at intel.com>; Yang, MurphyX <murphyx.yang at intel.com>
> > Subject: [PATCH v2] net/i40e: fix incorrect checksum flag of L4
> > checksum
> >
> > When send tunneled packet that inner L4 checksum value is correct, the
> > test_pmd output log shows 'ol_flags' value is
> > 'PKT_RX_L4_CKSUM_UNKNOWN', but expected value is
> > 'PKT_RX_L4_CKSUM_GOOD'.
> >
> > If the inner l4 checksum is correctly, mark the 'PKT_RX_L4_CKSUM_GOOD'
> > flag to 'l3_l4e_flags' for sse and 'l3_l4_flags_shuf' for avx2 to
> > ensure that the 'ol_flags' can match correct flags.
> >
> > Fixes: 9966a00a0688 ("net/i40e: enable bad checksum flags in vector
> > Rx")
> > Fixes: dafadd73762e ("net/i40e: add AVX2 Rx function")
> >
> > Signed-off-by: Murphy Yang <murphyx.yang at intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


More information about the dev mailing list