[dpdk-dev] [PATCH v2] app/testpmd: fix IPv4 checksum

Thomas Monjalon thomas at monjalon.net
Wed Aug 4 11:38:37 CEST 2021


> > UDP protocol reserves 0 checksum value for special purposes.
> > Other protocols, like IPv4, TCP and SCTP must calculate checksum value
> > in software or offload checksum calculation to hardware.
> >
> > If IPv4 TX checksum offload was off and header checksum was set to 0,
> > testpmd csum engine did not calculate checksum value for IPv4, TCP and
> > SCTP.
> >
> > The patch always calculates IPv4, TCP and SCTP TX checksums if it is
> > not offloaded.
> >
> > Fixes: b2a9e4a855d0 ("app/testpmd: fix Tx checksum calculation for tunnel")
> > Bugzilla ID: 768
> >
> > Signed-off-by: Gregory Etelson <getelson at nvidia.com>
> Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>

Applied, thanks.





More information about the dev mailing list