> -----Original Message-----
> From: Xu, Ke1 <[email protected]>
> Sent: Wednesday, December 14, 2022 9:51 AM
> To: Zeng, ZhichaoX <[email protected]>; [email protected]
> Cc: Zhou, YidingX <[email protected]>; Zhang, Qi Z
> <[email protected]>; Wu, Jingjing <[email protected]>; Xing, Beilei
> <[email protected]>; Nicolau, Radu <[email protected]>
> Subject: RE: [PATCH v2] net/iavf: fix outer udp checksum offload
>
>
>
> > -----Original Message-----
> > From: Zeng, ZhichaoX <[email protected]>
> > Sent: Tuesday, December 13, 2022 9:45 AM
> > To: [email protected]
> > Cc: Zhou, YidingX <[email protected]>; Xu, Ke1
> > <[email protected]>; Zhang, Qi Z <[email protected]>; Zeng, ZhichaoX
> > <[email protected]>; Wu, Jingjing <[email protected]>; Xing,
> > Beilei <[email protected]>; Nicolau, Radu <[email protected]>
> > Subject: [PATCH v2] net/iavf: fix outer udp checksum offload
> >
> > Currently, when dealing with UDP tunnel pkts checksum offloading, the
> > outer-udp checksum will be offloaded by default. So the 'csum set
> > outer-udp hw/sw' command does not work.
> >
> > This patch fixes judgment of the EIPT flag and enables the 'csum set
> > outer- udp hw/sw' command by adding judgment for the outer-udp
> > checksum offload flag.
> >
> > Fixes: 0c550022fb82 ("net/iavf: fix Tx descriptors for IPsec")
> >
> > Signed-off-by: Zhichao Zeng <[email protected]>
>
> Verified and passed.
>
> Verified applying only outer IP checksum without outer UDP checksum. Outer
> UDP checksum will be errors as this feature is to ignore this checksum error.
> Inner checksum is not influenced. Outer IP checksum is not influenced.
>
> Verified applying all checksum HW offload.
>
> > ---
> > drivers/net/iavf/iavf_rxtx.c | 7 +++++--
> > 1 file changed, 5 insertions(+), 2 deletions(-)
> >
Applied to dpdk-next-net-intel.
Thanks
Qi