Lines Matching refs:features
112 netdev_features_t features) in xfrm4_tunnel_gso_segment() argument
117 return skb_eth_gso_segment(skb, features, type); in xfrm4_tunnel_gso_segment()
122 netdev_features_t features) in xfrm4_transport_gso_segment() argument
131 segs = ops->callbacks.gso_segment(skb, features); in xfrm4_transport_gso_segment()
138 netdev_features_t features) in xfrm4_beet_gso_segment() argument
172 segs = ops->callbacks.gso_segment(skb, features); in xfrm4_beet_gso_segment()
179 netdev_features_t features) in xfrm4_outer_mode_gso_segment() argument
183 return xfrm4_tunnel_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment()
185 return xfrm4_transport_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment()
187 return xfrm4_beet_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment()
194 netdev_features_t features) in esp4_gso_segment() argument
199 netdev_features_t esp_features = features; in esp4_gso_segment()
225 !(features & NETIF_F_HW_ESP)) || x->xso.dev != skb->dev) in esp4_gso_segment()
226 esp_features = features & ~(NETIF_F_SG | NETIF_F_CSUM_MASK | in esp4_gso_segment()
228 else if (!(features & NETIF_F_HW_ESP_TX_CSUM) && in esp4_gso_segment()
230 esp_features = features & ~(NETIF_F_CSUM_MASK | in esp4_gso_segment()
252 static int esp_xmit(struct xfrm_state *x, struct sk_buff *skb, netdev_features_t features) in esp_xmit() argument
271 if ((!(features & NETIF_F_HW_ESP) && in esp_xmit()
344 if (skb_needs_linearize(skb, skb->dev->features) && in esp_xmit()