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

2020-08-26 Thread David Miller
From: Yi Li 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

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

2020-08-25 Thread Yi Li
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