]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: add NETIF_F_FRAGLIST flag for dev features
authorXin Long <lucien.xin@gmail.com>
Fri, 15 Jan 2021 09:47:45 +0000 (17:47 +0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Jan 2021 03:57:02 +0000 (19:57 -0800)
commitd3ed6a86fda42d645d0152b48f8da46d6ba267bc
tree505c7eda64561e473c95282d8d541366503f0daa
parent3a98c7f9731997d4933b86e164faaaf065982962
vxlan: add NETIF_F_FRAGLIST flag for dev features

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>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/vxlan.c