diff options
author | Yi Li <[email protected]> | 2020-08-26 13:11:50 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-08-26 07:26:41 -0700 |
commit | a156998fc92d3859c8e820f1583f6d0541d643c3 (patch) | |
tree | 8171b65c1617da02a00c217c3b366e81a608a418 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 0a3445b82e0d66520345b7ef2b82df341a8c6db0 (diff) |
net: hns3: Fix for geneve tx checksum bug
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 <[email protected]>
Signed-off-by: Yi Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions