[PATCH v2] net/ice: fix Tx Checksum offload

Zhang, Qi Z qi.z.zhang at intel.com
Mon Jan 10 10:36:29 CET 2022



> -----Original Message-----
> From: Liu, KevinX <kevinx.liu at intel.com>
> Sent: Sunday, December 12, 2021 10:35 PM
> To: dev at dpdk.org
> Cc: Yang, Qiming <qiming.yang at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>; Yang, SteveX <stevex.yang at intel.com>; Liu, KevinX
> <kevinx.liu at intel.com>; stable at dpdk.org
> Subject: [PATCH v2] net/ice: fix Tx Checksum offload
> 
> The tunnel packets is missing some information after Tx forwarding.
> 
> In ice_txd_enable_offload, when set tunnel packet Tx checksum offload enable,
> td_offset should be set with outer l2/l3 len instead of inner l2/l3 len.
> 
> In ice_txd_enable_checksum, td_offset should also be set with outer
> l3 len.
> 
> This patch fix the bug that the checksum engine can forward Ipv4/Ipv6 tunnel
> packets.
> 
> Fixes: 28f9002ab67f ("net/ice: add Tx AVX512 offload path")
> Fixes: 17c7d0f9d6a4 ("net/ice: support basic Rx/Tx")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Kevin Liu <kevinx.liu at intel.com>

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

Applied to dpdk-next-net-intel.

Thanks
Qi



More information about the stable mailing list