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()239 ethnl_features_to_bitmap(old_wanted, dev->wanted_features); in ethnl_set_features()256 dev->wanted_features &= ~dev->hw_features; in ethnl_set_features()257 dev->wanted_features |= ethnl_bitmap_to_features(req_wanted) & dev->hw_features; in ethnl_set_features()
75 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()127 dev->wanted_features &= ~valid; in ethtool_set_features()128 dev->wanted_features |= wanted & valid; in ethtool_set_features()131 if ((dev->wanted_features ^ dev->features) & valid) in ethtool_set_features()254 dev->wanted_features |= mask; in ethtool_set_one_feature()256 dev->wanted_features &= ~mask; in ethtool_set_one_feature()310 dev->wanted_features = in __ethtool_set_flags()311 (dev->wanted_features & ~changed) | (features & changed); in __ethtool_set_flags()
3604 if (netdev->wanted_features) { in iavf_process_config()3605 if (!(netdev->wanted_features & NETIF_F_TSO) || in iavf_process_config()3608 if (!(netdev->wanted_features & NETIF_F_TSO6) || in iavf_process_config()3611 if (!(netdev->wanted_features & NETIF_F_TSO_ECN)) in iavf_process_config()3613 if (!(netdev->wanted_features & NETIF_F_GRO)) in iavf_process_config()3615 if (!(netdev->wanted_features & NETIF_F_GSO)) in iavf_process_config()
754 bond_dev->wanted_features |= BOND_XFRM_FEATURES; in bond_set_xfrm_features()756 bond_dev->wanted_features &= ~BOND_XFRM_FEATURES; in bond_set_xfrm_features()
38 4. netdev->wanted_features set contains feature set requested by user.
703 ``ETHTOOL_A_FEATURES_WANTED`` bitset dev->wanted_features
1966 vf_netdev->wanted_features = features; in netvsc_set_features()2383 vf_netdev->wanted_features = ndev->features; in netvsc_register_vf()
1039 netdev_features_t wanted_features, in mlxsw_sp_handle_feature() argument1043 netdev_features_t changes = wanted_features ^ dev->features; in mlxsw_sp_handle_feature()1044 bool enable = !!(wanted_features & feature); in mlxsw_sp_handle_feature()
1697 dev->wanted_features &= ~NETIF_F_LRO; in dev_disable_lro()1718 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()9526 if (!(upper->wanted_features & feature) in netdev_sync_upper_features()9549 lower->wanted_features &= ~feature; in netdev_sync_lower_features()9983 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
2244 dev->wanted_features |= NETIF_F_GRO; in cxgb_extension_ioctl()2246 dev->wanted_features &= ~NETIF_F_GRO; in cxgb_extension_ioctl()
1947 netdev_features_t wanted_features; member4887 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
2912 tun->dev->wanted_features &= ~TUN_USER_FEATURES; in set_offload()2913 tun->dev->wanted_features |= features; in set_offload()
3541 if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
4143 tmp & adapter->netdev->wanted_features; in send_control_ip_offload()
1085 dev->wanted_features = dev->features; in mvpp2_bm_update_mtu()
6765 dev->wanted_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in qeth_enable_hw_features()