commit | ade36ccef1d7d830a17bbe7eba3a6223e81cdc80 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Sat Nov 28 11:51:49 2020 +0800 |
committer | Jakub Kicinski <kuba@kernel.org> | Tue Dec 01 15:16:31 2020 -0800 |
tree | 05782b69c80d71722ffca1211ab70c7b36fdc621 | |
parent | b1533ada7480237be6ffac86092495450f3de3a4 [diff] |
net: hns3: add a check for devcie's verion in hns3_tunnel_csum_bug() For the device whose version is above V3(include V3), the hardware can do checksum offload for the non-tunnel udp packet, who has a dest port as the IANA assigned. So add a check for devcie's verion in hns3_tunnel_csum_bug(). Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>