[PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments

Zhang, Qi Z qi.z.zhang at intel.com
Mon Mar 14 03:33:32 CET 2022



> -----Original Message-----
> From: Yigit, Ferruh <ferruh.yigit at intel.com>
> Sent: Friday, March 11, 2022 6:47 PM
> To: Liu, KevinX <kevinx.liu at intel.com>; Zhang, Qi Z <qi.z.zhang at intel.com>; dev
> <dev at dpdk.org>; Thomas Monjalon <thomas at monjalon.net>
> Cc: Yang, Qiming <qiming.yang at intel.com>; Yang, SteveX
> <stevex.yang at intel.com>; Xing, Beilei <beilei.xing at intel.com>; Li, Xiaoyun
> <xiaoyun.li at intel.com>; dpdk stable <stable at dpdk.org>; Zhang, Yuying
> <yuying.zhang at intel.com>
> Subject: Re: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-segments
> 
> On 3/11/2022 7:04 AM, Liu, KevinX wrote:
> 
> message moved down, please do not top post
> 
> >> -----Original Message-----
> >> From: Zhang, Yuying <yuying.zhang at intel.com>
> >> Sent: 2022年3月3日 14:30
> >> To: Zhang, Qi Z <qi.z.zhang at intel.com>; Liu, KevinX
> >> <kevinx.liu at intel.com>; dev <dev at dpdk.org>
> >> Cc: Yang, Qiming <qiming.yang at intel.com>; Yang, SteveX
> >> <stevex.yang at intel.com>; Yigit, Ferruh <ferruh.yigit at intel.com>;
> >> Xing, Beilei <beilei.xing at intel.com>; Li, Xiaoyun
> >> <xiaoyun.li at intel.com>; dpdk stable <stable at dpdk.org>
> >> Subject: RE: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in multi-
> >> segments
> >>
> >> LGTM.
> >>
> >>>> -----Original Message-----
> >>>> From: Liu, KevinX <kevinx.liu at intel.com>
> >>>> Sent: Wednesday, December 29, 2021 5:37 PM
> >>>> To: dev at dpdk.org
> >>>> Cc: Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi Z
> >>>> <qi.z.zhang at intel.com>; Yang, SteveX <stevex.yang at intel.com>;
> >>>> Yigit, Ferruh <ferruh.yigit at intel.com>; Liu, KevinX
> >>>> <kevinx.liu at intel.com>; stable at dpdk.org
> >>>> Subject: [PATCH v2 2/2] app/testpmd: fix SW L4 checksum in
> >>>> multi-segments
> >>>>
> >>>> Testpmd forwards packets in checksum mode that it needs to
> >>>> calculate the checksum of each layer's protocol.
> >>>>
> >>>> In process_inner_cksums, when parsing tunnel packets, inner L4
> >>>> offset should be outer_l2_len + outer_l3_len + l2_len + l3_len.
> >>>>
> >>>> In process_outer_cksums, when parsing tunnel packets, outer L4
> >>>> offset should be outer_l2_len + outer_l3_len.
> >>>>
> >>>> Fixes: e6b9d6411e91 ("app/testpmd: add SW L4 checksum in multi-
> >>>> segments")
> >>>> Cc: stable at dpdk.org
> >>>>
> >>>> Signed-off-by: Kevin Liu <kevinx.liu at intel.com>
> >>
> >> Acked-by: Yuying Zhang <yuying.zhang at intel.com>
> >>
> > Hi, Ferruh
> >
> > Yuying has already reviewed it days ago.
> > If you can, I hope you can change the status as soon as possible and try to
> merge the code in RC4.
> > Thank you.
> >
> 
> +Thomas, he is getting patches for -rc4.
> 
> And just for double check Qi, are you comfortable with patch?
> (I am asking because initially this is set with ice and testpmd patch)

Yes, I'm OK with this patch. It has been verified on most of Intel PMDs.





More information about the stable mailing list