Re: [PATCH] net: hns3: Fix for geneve tx checksum bug

From: David Miller
Date: Wed Aug 26 2020 - 10:27:14 EST


From: Yi Li <yili@xxxxxxxxxxx>
Date: Wed, 26 Aug 2020 13:11:50 +0800

> when skb->encapsulation is 0, skb->ip_summed is CHECKSUM_PARTIAL
> and it is udp packet, which has a dest port as the IANA assigned.
> the hardware is expected to do the checksum offload, but the
> hardware will not do the checksum offload when udp dest port is
> 6081.
>
> This patch fixes it by doing the checksum in software.
>
> Reported-by: Li Bing <libing@xxxxxxxxxxx>
> Signed-off-by: Yi Li <yili@xxxxxxxxxxx>

Applied, thank you.