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

Thomas Monjalon thomas at monjalon.net
Mon Mar 14 21:21:18 CET 2022


14/03/2022 03:33, Zhang, Qi Z:
> From: Yigit, Ferruh <ferruh.yigit at intel.com>
> > On 3/11/2022 7:04 AM, Liu, KevinX wrote:
> > > From: Zhang, Yuying <yuying.zhang at intel.com>
> > >>> From: Liu, KevinX <kevinx.liu at intel.com>
> > >>>> 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.

Applied, thanks.






More information about the stable mailing list