> -----Original Message-----
> From: Zhichao Zeng <[email protected]>
> Sent: Friday, November 18, 2022 3:03 PM
> To: [email protected]
> Cc: Zhang, Qi Z <[email protected]>; Zhou, YidingX
> <[email protected]>; Zeng, ZhichaoX <[email protected]>; Wu,
> Jingjing <[email protected]>; Xing, Beilei <[email protected]>; Peng
> Zhang <[email protected]>
> Subject: [PATCH] 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 enables the 'csum set outer-udp hw/sw' command by adding
> judgment on the outer-udp chekcusm offload flag.
> 
> Fixes: f7c8c36fdeb7 ("net/iavf: enable inner and outer Tx checksum offload")
> 
> Signed-off-by: Zhichao Zeng <[email protected]>

Tested 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.

Regards,
Tested-by: Ke Xu <[email protected]>

> ---
>  drivers/net/iavf/iavf_rxtx.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Reply via email to