[dpdk-dev] [PATCH v4] net: fix Intel-specific Prepare the outer IPv4 hdr for checksum

2021-09-07 Thread Mohsin Kazmi
.@dpdk.org Signed-off-by: Mohsin Kazmi Acked-by: Qi Zhang Acked-by: Olivier Matz --- v4: * Update the commit message v3: * Update the conditional test with PKT_TX_OUTER_IP_CKSUM. * Update the commit title with "Intel-specific". v2: * Update the commit message with Fixes. li

Re: [dpdk-dev] [PATCH v3] net: fix Intel-specific Prepare the outer ipv4 hdr for checksum

2021-08-27 Thread Mohsin Kazmi
Are we good with this patch with the current state? @Olivier: Any comments on the above suggestions? On Tue, Aug 3, 2021 at 1:49 PM Mohsin Kazmi wrote: > > > On Sat, Jul 31, 2021 at 1:49 PM Andrew Rybchenko < > andrew.rybche...@oktetlabs.ru> wrote: > >> On 7/30/21

Re: [dpdk-dev] [PATCH v3] net: fix Intel-specific Prepare the outer ipv4 hdr for checksum

2021-08-03 Thread Mohsin Kazmi
On Sat, Jul 31, 2021 at 1:49 PM Andrew Rybchenko < andrew.rybche...@oktetlabs.ru> wrote: > On 7/30/21 2:11 PM, Olivier Matz wrote: > > On Wed, Jul 28, 2021 at 06:46:53PM +0300, Andrew Rybchenko wrote: > >> On 7/7/21 12:40 PM, Mohsin Kazmi wrote: > >>> Prep

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

2021-08-03 Thread Mohsin Kazmi
f the same function which can be used in different drivers. -br Mohsin On Thu, Jul 22, 2021 at 8:53 PM Thomas Monjalon wrote: > 07/07/2021 11:14, Mohsin Kazmi: > > On Wed, Jun 30, 2021 at 3:09 PM Olivier Matz > wrote: > > > > + if (ol_flags &

[dpdk-dev] [PATCH v3] net: fix Intel-specific Prepare the outer ipv4 hdr for checksum

2021-07-07 Thread Mohsin Kazmi
rg Signed-off-by: Mohsin Kazmi Acked-by: Qi Zhang --- v3: * Update the conditional test with PKT_TX_OUTER_IP_CKSUM. * Update the commit title with "Intel-specific". v2: * Update the commit message with Fixes. lib/net/rte_net.h | 15 +-- 1 file changed, 13 insert

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

2021-07-07 Thread Mohsin Kazmi
Hi Olivier, Thanks for the review. Please find the comments inline below: On Wed, Jun 30, 2021 at 3:09 PM Olivier Matz wrote: > Hi Mohsin, > > Hope you are fine! > Please see my comments below. > > On Wed, Jun 30, 2021 at 01:04:04PM +0200, Mohsin Kazmi wrote: > > Re:

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

2021-06-30 Thread Mohsin Kazmi
rg Signed-off-by: Mohsin Kazmi Acked-by: Qi Zhang --- v2: * Update the commit message with Fixes. --- lib/net/rte_net.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/net/rte_net.h b/lib/net/rte_net.h index 434435ffa2..e47365099e 100644 --- a/lib/net/rte_n

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

2021-06-29 Thread Mohsin Kazmi
rg Signed-off-by: Mohsin Kazmi Acked-by: Qi Zhang --- lib/net/rte_net.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lib/net/rte_net.h b/lib/net/rte_net.h index 434435ffa2..e47365099e 100644 --- a/lib/net/rte_net.h +++ b/lib/net/rte_net.h @@ -128

[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