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

2021-08-04 Thread Thomas Monjalon
> > 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 eng

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

2021-08-02 Thread Ajit Khaparde
On Mon, Aug 2, 2021 at 11:13 AM Gregory Etelson wrote: > > 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 he

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

2021-08-02 Thread Gregory Etelson
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 c