Lines Matching defs:features
113 struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, bool *again)
120 netdev_features_t esp_features = features;
128 if (!(features & NETIF_F_HW_ESP))
129 esp_features = features & ~(NETIF_F_SG | NETIF_F_CSUM_MASK);
164 /* Packet got rerouted, fixup features and segment it. */
488 if ((dev->features & NETIF_F_HW_ESP_TX_CSUM) &&
489 !(dev->features & NETIF_F_HW_ESP))
492 if ((dev->features & NETIF_F_HW_ESP) &&
498 if (dev->features & (NETIF_F_HW_ESP | NETIF_F_HW_ESP_TX_CSUM))
507 if (dev->features & NETIF_F_HW_ESP) {