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

2021-06-29 Thread Kinsella, Ray
Please mark [PATCH v2], and record changes under the --- Ray K > -Original Message- > From: Mohsin Kazmi > Sent: Tuesday 29 June 2021 18:07 > To: dev@dpdk.org > Cc: Kinsella, Ray ; Mohsin Kazmi > ; sta...@dpdk.org; Olivier Matz > ; Ananyev, Konstantin > ; Thomas Monjalon > ; Tomasz Kulas

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

2021-06-29 Thread Mohsin Kazmi
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. Fixes: 4fb7e803eb1a ("ethdev: add Tx preparation") Cc: sta...@dpdk.org Signed-of

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

2021-06-29 Thread Zhang, Qi Z
> -Original Message- > From: dev On Behalf Of Mohsin Kazmi > Sent: Thursday, June 24, 2021 11:28 PM > To: dev@dpdk.org > Cc: Mohsin Kazmi ; Kinsella, Ray > ; Olivier Matz > Subject: [dpdk-dev] [PATCH] net: prepare the outer ipv4 hdr for checksum > > Prep

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

2021-06-24 Thread Mohsin Kazmi
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. Cc: ray.kinse...@intel.com Signed-off-by: Mohsin Kazmi --- lib/net/rte_net.h |

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

2021-06-24 Thread Mohsin Kazmi
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. Cc: ray.kinse...@intel.com Signed-off-by: Mohsin Kazmi --- lib/net/rte_net.h |