[dpdk-dev] [PATCH] net: prepare the outer ipv4 hdr for checksum

Zhang, Qi Z qi.z.zhang at intel.com
Tue Jun 29 13:54:45 CEST 2021



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Mohsin Kazmi
> Sent: Thursday, June 24, 2021 11:28 PM
> To: dev at dpdk.org
> Cc: Mohsin Kazmi <mohsin.kazmi14 at gmail.com>; Kinsella, Ray
> <ray.kinsella at intel.com>; Olivier Matz <olivier.matz at 6wind.com>
> Subject: [dpdk-dev] [PATCH] net: prepare the outer ipv4 hdr for checksum
> 
> Preparation the headers for the hardware offload misses the outer ipv4
> checksum offload.
> It results in bad checksum computed by hardware NIC.
> 
> This patch fixes the issue by setting the outer ipv4 checksum field to 0.

As this a fix, below fix line and cc stable could be added

Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation")
Cc: stable at dpdk.org
	
> 
> Cc: ray.kinsella at intel.com
> 
> Signed-off-by: Mohsin Kazmi <mohsin.kazmi14 at gmail.com>

Acked-by: Qi Zhang <qi.z.zhang at intel.com>




More information about the dev mailing list