Lines Matching defs:features
112 static inline unsigned int tun_vnet_parse_size(netdev_features_t features)
114 if (!(features & NETIF_F_GSO_UDP_TUNNEL))
121 netdev_features_t features,
125 unsigned int parsed_size = tun_vnet_parse_size(features);
156 static inline int __tun_vnet_hdr_put(int sz, netdev_features_t features,
160 unsigned int parsed_size = tun_vnet_parse_size(features);
187 * Tun is not aware of the negotiated guest features, guess them from the
198 tun_vnet_hdr_tnl_to_skb(unsigned int flags, netdev_features_t features,
204 features & NETIF_F_GSO_UDP_TUNNEL,
205 features & NETIF_F_GSO_UDP_TUNNEL_CSUM,
243 bool has_tnl_offload = !!(dev->features & NETIF_F_GSO_UDP_TUNNEL);