diff options
author | Alexander Lobakin <alobakin@pm.me> | 2020-11-01 14:17:17 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-04 01:53:55 +0100 |
commit | ecb8fed408b6454606bbb3cd0edb083bf0ad162a (patch) | |
tree | f4ddb75b93d17ad0085f49b20e0bf89f6fc54515 /drivers/net/dummy.c | |
parent | net: add GSO UDP L4 and GSO fraglists to the list of software-backed types (diff) | |
download | linux-ecb8fed408b6454606bbb3cd0edb083bf0ad162a.tar.xz linux-ecb8fed408b6454606bbb3cd0edb083bf0ad162a.zip |
net: bonding, dummy, ifb, team: advertise NETIF_F_GSO_SOFTWARE
Virtual netdevs should use NETIF_F_GSO_SOFTWARE to forward GSO skbs
as-is and let the final drivers deal with them when supported.
Also remove NETIF_F_GSO_UDP_L4 from bonding and team drivers as it's
now included in the "software" list.
Suggested-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Alexander Lobakin <alobakin@pm.me>
Acked-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dummy.c')
-rw-r--r-- | drivers/net/dummy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c index bab3a9bb5e6f..f82ad7419508 100644 --- a/drivers/net/dummy.c +++ b/drivers/net/dummy.c @@ -124,7 +124,7 @@ static void dummy_setup(struct net_device *dev) dev->flags &= ~IFF_MULTICAST; dev->priv_flags |= IFF_LIVE_ADDR_CHANGE | IFF_NO_QUEUE; dev->features |= NETIF_F_SG | NETIF_F_FRAGLIST; - dev->features |= NETIF_F_ALL_TSO; + dev->features |= NETIF_F_GSO_SOFTWARE; dev->features |= NETIF_F_HW_CSUM | NETIF_F_HIGHDMA | NETIF_F_LLTX; dev->features |= NETIF_F_GSO_ENCAP_ALL; dev->hw_features |= dev->features; |