Searched refs:wanted_features (Results 1 – 16 of 16) sorted by relevance
45 ethnl_features_to_bitmap32(data->wanted, dev->wanted_features); in features_prepare_data()241 ethnl_features_to_bitmap(old_wanted, dev->wanted_features); in ethnl_set_features()258 dev->wanted_features &= ~dev->hw_features; in ethnl_set_features()259 dev->wanted_features |= ethnl_bitmap_to_features(req_wanted) & dev->hw_features; in ethnl_set_features()
98 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()151 dev->wanted_features &= ~valid; in ethtool_set_features()152 dev->wanted_features |= wanted & valid; in ethtool_set_features()155 if ((dev->wanted_features ^ dev->features) & valid) in ethtool_set_features()278 dev->wanted_features |= mask; in ethtool_set_one_feature()280 dev->wanted_features &= ~mask; in ethtool_set_one_feature()334 dev->wanted_features = in __ethtool_set_flags()335 (dev->wanted_features & ~changed) | (features & changed); in __ethtool_set_flags()
39 netdev_features_t wanted_features
5223 if (netdev->wanted_features) { in iavf_process_config()5224 if (!(netdev->wanted_features & NETIF_F_TSO) || in iavf_process_config()5227 if (!(netdev->wanted_features & NETIF_F_TSO6) || in iavf_process_config()5230 if (!(netdev->wanted_features & NETIF_F_TSO_ECN)) in iavf_process_config()5232 if (!(netdev->wanted_features & NETIF_F_GRO)) in iavf_process_config()5234 if (!(netdev->wanted_features & NETIF_F_GSO)) in iavf_process_config()
38 4. netdev->wanted_features set contains feature set requested by user.
861 bond->dev->wanted_features |= BOND_XFRM_FEATURES; in bond_set_xfrm_features()863 bond->dev->wanted_features &= ~BOND_XFRM_FEATURES; in bond_set_xfrm_features()
1065 return !!(dev->wanted_features & NETIF_F_GRO); in veth_gro_requested()1747 dev->wanted_features &= ~NETIF_F_GRO; in veth_disable_gro()
2933 tun->dev->wanted_features &= ~TUN_USER_FEATURES; in set_offload()2934 tun->dev->wanted_features |= features; in set_offload()
1964 vf_netdev->wanted_features = features; in netvsc_set_features()2407 vf_netdev->wanted_features = ndev->features; in netvsc_register_vf()
2243 dev->wanted_features |= NETIF_F_GRO; in cxgb_siocdevprivate()2245 dev->wanted_features &= ~NETIF_F_GRO; in cxgb_siocdevprivate()
1339 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
2164 netdev_features_t wanted_features; member5192 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
1790 dev->wanted_features &= ~NETIF_F_LRO; in dev_disable_lro()1811 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()10371 if (!(upper->wanted_features & feature) in netdev_sync_upper_features()10394 lower->wanted_features &= ~feature; in netdev_sync_lower_features()10910 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
3568 if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
5240 tmp & adapter->netdev->wanted_features; in send_control_ip_offload()
6782 dev->wanted_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in qeth_enable_hw_features()