Lines Matching defs:features
112 struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, bool *again)
119 netdev_features_t esp_features = features;
127 if (!(features & NETIF_F_HW_ESP))
128 esp_features = features & ~(NETIF_F_SG | NETIF_F_CSUM_MASK);
153 /* Packet got rerouted, fixup features and segment it. */
382 if ((dev->features & NETIF_F_HW_ESP_TX_CSUM) &&
383 !(dev->features & NETIF_F_HW_ESP))
386 if ((dev->features & NETIF_F_HW_ESP) &&
392 if (dev->features & (NETIF_F_HW_ESP | NETIF_F_HW_ESP_TX_CSUM))
411 if (dev->features & NETIF_F_HW_ESP)