Searched refs:wanted_features (Results 1 – 14 of 14) sorted by relevance
154 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()206 dev->wanted_features &= ~valid; in ethtool_set_features()207 dev->wanted_features |= wanted & valid; in ethtool_set_features()210 if ((dev->wanted_features ^ dev->features) & valid) in ethtool_set_features()322 dev->wanted_features |= mask; in ethtool_set_one_feature()324 dev->wanted_features &= ~mask; in ethtool_set_one_feature()378 dev->wanted_features = in __ethtool_set_flags()379 (dev->wanted_features & ~changed) | (features & changed); in __ethtool_set_flags()
1545 dev->wanted_features &= ~NETIF_F_LRO; in dev_disable_lro()1566 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()8031 if (!(upper->wanted_features & feature) in netdev_sync_upper_features()8054 lower->wanted_features &= ~feature; in netdev_sync_lower_features()8467 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
3338 if (netdev->wanted_features) { in i40evf_process_config()3339 if (!(netdev->wanted_features & NETIF_F_TSO) || in i40evf_process_config()3342 if (!(netdev->wanted_features & NETIF_F_TSO6) || in i40evf_process_config()3345 if (!(netdev->wanted_features & NETIF_F_TSO_ECN)) in i40evf_process_config()3347 if (!(netdev->wanted_features & NETIF_F_GRO)) in i40evf_process_config()3349 if (!(netdev->wanted_features & NETIF_F_GSO)) in i40evf_process_config()
35 4. netdev->wanted_features set contains feature set requested by user.
1658 netdev_features_t wanted_features, in mlxsw_sp_handle_feature() argument1662 netdev_features_t changes = wanted_features ^ dev->features; in mlxsw_sp_handle_feature()1663 bool enable = !!(wanted_features & feature); in mlxsw_sp_handle_feature()
1774 netdev_features_t wanted_features; member4350 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
2245 dev->wanted_features |= NETIF_F_GRO; in cxgb_extension_ioctl()2247 dev->wanted_features &= ~NETIF_F_GRO; in cxgb_extension_ioctl()
2717 tun->dev->wanted_features &= ~TUN_USER_FEATURES; in set_offload()2718 tun->dev->wanted_features |= features; in set_offload()
3645 netdev_features_t wanted_features, in mlx5e_handle_feature() argument3649 netdev_features_t changes = wanted_features ^ netdev->features; in mlx5e_handle_feature()3650 bool enable = !!(wanted_features & feature); in mlx5e_handle_feature()
534 dev->wanted_features &= ~NETIF_F_HW_VLAN_CTAG_TX; in mtk_vlan_rx_add_vid()
188 netdev_features_t wanted = dev->wanted_features; in bcm_sysport_set_features()
577 netdev_features_t wanted = dev->wanted_features; in bcmgenet_set_features()
3625 if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
845 dev->wanted_features = dev->features; in mvpp2_bm_update_mtu()