> -----Original Message-----
> From: David Marchand <david.march...@redhat.com>
> Sent: Wednesday, August 23, 2023 2:29 PM
> To: dev@dpdk.org
> Cc: echau...@redhat.com; m...@redhat.com; Zhang, Qi Z
> <qi.z.zh...@intel.com>; sta...@dpdk.org; Wu, Jingjing
> <jingjing...@intel.com>; Xing, Beilei <beilei.x...@intel.com>; Sinha, Abhijit
> <abhijit.si...@intel.com>; Doherty, Declan <declan.dohe...@intel.com>;
> Nicolau, Radu <radu.nico...@intel.com>
> Subject: [PATCH v2] net/iavf: fix checksum offloading
>
> l2_len and l3_len fields are related to Tx offloading features.
>
> It is undefined in the DPDK API what those fields may contain if an
> application
> did not request a Tx offload.
>
> Skip reading them if no Tx offloads has been requested.
>
> Fixes: 1e728b01120c ("net/iavf: rework Tx path")
> Cc: sta...@dpdk.org
>
> Signed-off-by: David Marchand <david.march...@redhat.com>
Acked-by: Qi Zhang <qi.z.zh...@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi