Lines Matching refs:features
577 if (lowerdev->features & NETIF_F_HW_L2FW_DOFFLOAD && in macvlan_open()
801 dev->features = lowerdev->features & MACVLAN_FEATURES; in macvlan_init()
802 dev->features |= ALWAYS_ON_FEATURES; in macvlan_init()
952 netdev_features_t features) in macvlan_fix_features() argument
955 netdev_features_t lowerdev_features = vlan->lowerdev->features; in macvlan_fix_features()
958 features |= NETIF_F_ALL_FOR_ALL; in macvlan_fix_features()
959 features &= (vlan->set_features | ~MACVLAN_FEATURES); in macvlan_fix_features()
960 mask = features; in macvlan_fix_features()
962 lowerdev_features &= (features | ~NETIF_F_LRO); in macvlan_fix_features()
963 features = netdev_increment_features(lowerdev_features, features, mask); in macvlan_fix_features()
964 features |= ALWAYS_ON_FEATURES; in macvlan_fix_features()
965 features &= ~NETIF_F_NETNS_LOCAL; in macvlan_fix_features()
967 return features; in macvlan_fix_features()