diff options
author | Steffen Klassert <steffen.klassert@secunet.com> | 2020-01-25 11:26:42 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-27 11:00:21 +0100 |
commit | 3b33583265ed3b0ae76eddbabf9d038b4076d1a9 (patch) | |
tree | 221f57ea09c94f91e5f83a887ebd8d91f94b27a2 /include/linux/netdevice.h | |
parent | 79572c98c554dcdb080bca547c871a51716dcdf8 (diff) | |
download | linux-3b33583265ed3b0ae76eddbabf9d038b4076d1a9.tar.gz linux-3b33583265ed3b0ae76eddbabf9d038b4076d1a9.tar.bz2 linux-3b33583265ed3b0ae76eddbabf9d038b4076d1a9.zip |
net: Add fraglist GRO/GSO feature flags
This adds new Fraglist GRO/GSO feature flags. They will be used
to configure fraglist GRO/GSO what will be implemented with some
followup paches.
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 78e9c6c1b131..fcc76b890f50 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -4570,6 +4570,7 @@ static inline bool net_gso_ok(netdev_features_t features, int gso_type) BUILD_BUG_ON(SKB_GSO_ESP != (NETIF_F_GSO_ESP >> NETIF_F_GSO_SHIFT)); BUILD_BUG_ON(SKB_GSO_UDP != (NETIF_F_GSO_UDP >> NETIF_F_GSO_SHIFT)); BUILD_BUG_ON(SKB_GSO_UDP_L4 != (NETIF_F_GSO_UDP_L4 >> NETIF_F_GSO_SHIFT)); + BUILD_BUG_ON(SKB_GSO_FRAGLIST != (NETIF_F_GSO_FRAGLIST >> NETIF_F_GSO_SHIFT)); return (features & feature) == feature; } |