Home
last modified time | relevance | path

Searched refs:wanted_features (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.10/net/ethtool/
Dfeatures.c45 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()
Dioctl.c74 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()
126 dev->wanted_features &= ~valid; in ethtool_set_features()
127 dev->wanted_features |= wanted & valid; in ethtool_set_features()
130 if ((dev->wanted_features ^ dev->features) & valid) in ethtool_set_features()
253 dev->wanted_features |= mask; in ethtool_set_one_feature()
255 dev->wanted_features &= ~mask; in ethtool_set_one_feature()
309 dev->wanted_features = in __ethtool_set_flags()
310 (dev->wanted_features & ~changed) | (features & changed); in __ethtool_set_flags()
/Linux-v5.10/drivers/net/ethernet/intel/iavf/
Diavf_main.c3542 if (netdev->wanted_features) { in iavf_process_config()
3543 if (!(netdev->wanted_features & NETIF_F_TSO) || in iavf_process_config()
3546 if (!(netdev->wanted_features & NETIF_F_TSO6) || in iavf_process_config()
3549 if (!(netdev->wanted_features & NETIF_F_TSO_ECN)) in iavf_process_config()
3551 if (!(netdev->wanted_features & NETIF_F_GRO)) in iavf_process_config()
3553 if (!(netdev->wanted_features & NETIF_F_GSO)) in iavf_process_config()
/Linux-v5.10/drivers/net/bonding/
Dbond_options.c754 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()
/Linux-v5.10/Documentation/networking/
Dnetdev-features.rst38 4. netdev->wanted_features set contains feature set requested by user.
Dethtool-netlink.rst703 ``ETHTOOL_A_FEATURES_WANTED`` bitset dev->wanted_features
/Linux-v5.10/drivers/net/hyperv/
Dnetvsc_drv.c1963 vf_netdev->wanted_features = features; in netvsc_set_features()
2367 vf_netdev->wanted_features = ndev->features; in netvsc_register_vf()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1039 netdev_features_t wanted_features, in mlxsw_sp_handle_feature() argument
1043 netdev_features_t changes = wanted_features ^ dev->features; in mlxsw_sp_handle_feature()
1044 bool enable = !!(wanted_features & feature); in mlxsw_sp_handle_feature()
/Linux-v5.10/net/core/
Ddev.c1678 dev->wanted_features &= ~NETIF_F_LRO; in dev_disable_lro()
1699 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()
9494 if (!(upper->wanted_features & feature) in netdev_sync_upper_features()
9517 lower->wanted_features &= ~feature; in netdev_sync_lower_features()
9946 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2243 dev->wanted_features |= NETIF_F_GRO; in cxgb_extension_ioctl()
2245 dev->wanted_features &= ~NETIF_F_GRO; in cxgb_extension_ioctl()
/Linux-v5.10/drivers/net/
Dtun.c2872 tun->dev->wanted_features &= ~TUN_USER_FEATURES; in set_offload()
2873 tun->dev->wanted_features |= features; in set_offload()
/Linux-v5.10/include/linux/
Dnetdevice.h1893 netdev_features_t wanted_features; member
4783 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3860 netdev_features_t wanted_features, in mlx5e_handle_feature() argument
3864 netdev_features_t changes = wanted_features ^ netdev->features; in mlx5e_handle_feature()
3865 bool enable = !!(wanted_features & feature); in mlx5e_handle_feature()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c3533 if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
/Linux-v5.10/drivers/net/ethernet/ibm/
Dibmvnic.c4137 tmp & adapter->netdev->wanted_features; in send_control_ip_offload()
/Linux-v5.10/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c1085 dev->wanted_features = dev->features; in mvpp2_bm_update_mtu()
/Linux-v5.10/drivers/s390/net/
Dqeth_core_main.c6749 dev->wanted_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in qeth_enable_hw_features()