Lines Matching refs:features
565 dev->features |= dev->hw_features | NETIF_F_LLTX; in vlan_dev_init()
567 if (dev->features & NETIF_F_VLAN_FEATURES) in vlan_dev_init()
587 if (vlan_hw_offload_capable(real_dev->features, in vlan_dev_init()
625 netdev_features_t features) in vlan_dev_fix_features() argument
628 netdev_features_t old_features = features; in vlan_dev_fix_features()
630 features = netdev_intersect_features(features, real_dev->vlan_features); in vlan_dev_fix_features()
631 features |= NETIF_F_RXCSUM; in vlan_dev_fix_features()
632 features = netdev_intersect_features(features, real_dev->features); in vlan_dev_fix_features()
634 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_GSO_SOFTWARE); in vlan_dev_fix_features()
635 features |= NETIF_F_LLTX; in vlan_dev_fix_features()
637 return features; in vlan_dev_fix_features()