From: Xin Long <lucien.xin@gmail.com> Date: 2021-01-15 09:48:46
Like GRE device, UDP tunnel devices should also support fraglist, so
that some protocol (like SCTP) HW GSO that requires NETIF_F_FRAGLIST
in the dev can work. Especially when the lower device support both
NETIF_F_GSO_UDP_TUNNEL and NETIF_F_GSO_SCTP.
Xin Long (3):
vxlan: add NETIF_F_FRAGLIST flag for dev features
geneve: add NETIF_F_FRAGLIST flag for dev features
bareudp: add NETIF_F_FRAGLIST flag for dev features
drivers/net/bareudp.c | 5 +++--
drivers/net/geneve.c | 5 +++--
drivers/net/vxlan.c | 5 +++--
3 files changed, 9 insertions(+), 6 deletions(-)
--
2.1.0
From: Xin Long <lucien.xin@gmail.com> Date: 2021-01-15 09:49:11
Some protocol HW GSO requires fraglist supported by the device, like
SCTP. Without NETIF_F_FRAGLIST set in the dev features of vxlan, it
would have to do SW GSO before the packets enter the driver, even
when the vxlan dev and lower dev (like veth) both have the feature
of NETIF_F_GSO_SCTP.
So this patch is to add it for vxlan.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
---
drivers/net/vxlan.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
From: Xin Long <lucien.xin@gmail.com> Date: 2021-01-15 09:49:12
Some protocol HW GSO requires fraglist supported by the device, like
SCTP. Without NETIF_F_FRAGLIST set in the dev features of geneve, it
would have to do SW GSO before the packets enter the driver, even
when the geneve dev and lower dev (like veth) both have the feature
of NETIF_F_GSO_SCTP.
So this patch is to add it for geneve.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
---
drivers/net/geneve.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
From: Xin Long <lucien.xin@gmail.com> Date: 2021-01-15 09:49:12
Like vxlan and geneve, bareudp also needs this dev feature
to support some protocol's HW GSO.
Signed-off-by: Xin Long <lucien.xin@gmail.com>
---
drivers/net/bareudp.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Hello:
This series was applied to netdev/net-next.git (refs/heads/master):
On Fri, 15 Jan 2021 17:47:44 +0800 you wrote:
Like GRE device, UDP tunnel devices should also support fraglist, so
that some protocol (like SCTP) HW GSO that requires NETIF_F_FRAGLIST
in the dev can work. Especially when the lower device support both
NETIF_F_GSO_UDP_TUNNEL and NETIF_F_GSO_SCTP.
Xin Long (3):
vxlan: add NETIF_F_FRAGLIST flag for dev features
geneve: add NETIF_F_FRAGLIST flag for dev features
bareudp: add NETIF_F_FRAGLIST flag for dev features
[...]