diff options
author | Alexander Lobakin <alobakin@pm.me> | 2020-11-01 13:17:07 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-03 16:53:55 -0800 |
commit | 2e4ef10f58502323ea470bc30ba84d5ddd4e77f0 (patch) | |
tree | e0f46ad66c6d5b290706f429f97f5f0693528337 | |
parent | c1c0f6eac3db61761dc8bfeb2e61989b1f3eeee9 (diff) | |
download | linux-rt-2e4ef10f58502323ea470bc30ba84d5ddd4e77f0.tar.gz |
net: add GSO UDP L4 and GSO fraglists to the list of software-backed types
Commit e20cf8d3f1f7 ("udp: implement GRO for plain UDP sockets.") and
commit 9fd1ff5d2ac7 ("udp: Support UDP fraglist GRO/GSO.") made UDP L4
and fraglisted GRO/GSO fully supported by the software fallback mode.
We can safely add them to NETIF_F_GSO_SOFTWARE to allow logical/virtual
netdevs to forward these types of skbs up to the real drivers.
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | include/linux/netdev_features.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netdev_features.h b/include/linux/netdev_features.h index 0b17c4322b09..934de56644e7 100644 --- a/include/linux/netdev_features.h +++ b/include/linux/netdev_features.h @@ -207,8 +207,8 @@ static inline int find_next_netdev_feature(u64 feature, unsigned long start) NETIF_F_FSO) /* List of features with software fallbacks. */ -#define NETIF_F_GSO_SOFTWARE (NETIF_F_ALL_TSO | \ - NETIF_F_GSO_SCTP) +#define NETIF_F_GSO_SOFTWARE (NETIF_F_ALL_TSO | NETIF_F_GSO_SCTP | \ + NETIF_F_GSO_UDP_L4 | NETIF_F_GSO_FRAGLIST) /* * If one device supports one of these features, then enable them |