net/hns3: support VXLAN-GPE TSO and checksum
authorChengchang Tang <tangchengchang@huawei.com>
Mon, 2 Nov 2020 14:38:15 +0000 (22:38 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:35:07 +0000 (23:35 +0100)
commit938eb2369356b6a47cb458d2d69be3041f92e2ea
tree0451c486d6696b8320b5bec000e0aad1b11134cd
parentfb6eb9009f41b823dddef8a09fe8e0b0698c2bf5
net/hns3: support VXLAN-GPE TSO and checksum

Kupeng920 support tso and checksum offload for VXLAN_GPE with
the next protocol id 3(i.e., Ethernet).

Kupeng930 support TSO and checksum offload for VXLAN_GPE with
the next protocol id 1,2,3(i.e., IPv4, IPv6 and Ethernet).

This patch add support for this tunnel type.

Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
drivers/net/hns3/hns3_rxtx.c