Home
last modified time | relevance | path

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

/Linux-v6.1/net/ethtool/
Dfeatures.c45 ethnl_features_to_bitmap32(data->wanted, dev->wanted_features); in features_prepare_data()
238 ethnl_features_to_bitmap(old_wanted, dev->wanted_features); in ethnl_set_features()
255 dev->wanted_features &= ~dev->hw_features; in ethnl_set_features()
256 dev->wanted_features |= ethnl_bitmap_to_features(req_wanted) & dev->hw_features; in ethnl_set_features()
Dioctl.c100 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()
153 dev->wanted_features &= ~valid; in ethtool_set_features()
154 dev->wanted_features |= wanted & valid; in ethtool_set_features()
157 if ((dev->wanted_features ^ dev->features) & valid) in ethtool_set_features()
280 dev->wanted_features |= mask; in ethtool_set_one_feature()
282 dev->wanted_features &= ~mask; in ethtool_set_one_feature()
336 dev->wanted_features = in __ethtool_set_flags()
337 (dev->wanted_features & ~changed) | (features & changed); in __ethtool_set_flags()
/Linux-v6.1/drivers/net/bonding/
Dbond_options.c838 bond->dev->wanted_features |= BOND_XFRM_FEATURES; in bond_set_xfrm_features()
840 bond->dev->wanted_features &= ~BOND_XFRM_FEATURES; in bond_set_xfrm_features()
851 bond->dev->wanted_features |= BOND_TLS_FEATURES; in bond_set_tls_features()
853 bond->dev->wanted_features &= ~BOND_TLS_FEATURES; in bond_set_tls_features()
/Linux-v6.1/drivers/net/ethernet/intel/iavf/
Diavf_main.c4797 if (netdev->wanted_features) { in iavf_process_config()
4798 if (!(netdev->wanted_features & NETIF_F_TSO) || in iavf_process_config()
4801 if (!(netdev->wanted_features & NETIF_F_TSO6) || in iavf_process_config()
4804 if (!(netdev->wanted_features & NETIF_F_TSO_ECN)) in iavf_process_config()
4806 if (!(netdev->wanted_features & NETIF_F_GRO)) in iavf_process_config()
4808 if (!(netdev->wanted_features & NETIF_F_GSO)) in iavf_process_config()
/Linux-v6.1/Documentation/networking/
Dnetdev-features.rst38 4. netdev->wanted_features set contains feature set requested by user.
Dethtool-netlink.rst745 ``ETHTOOL_A_FEATURES_WANTED`` bitset dev->wanted_features
/Linux-v6.1/drivers/net/
Dveth.c1060 return !!(dev->wanted_features & NETIF_F_GRO); in veth_gro_requested()
1678 dev->wanted_features &= ~NETIF_F_GRO; in veth_disable_gro()
Dtun.c2896 tun->dev->wanted_features &= ~TUN_USER_FEATURES; in set_offload()
2897 tun->dev->wanted_features |= features; in set_offload()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c1763 netdev->wanted_features &= ~NETIF_F_HW_VLAN_CTAG_RX; in nfp_net_fix_features()
1768 netdev->wanted_features &= ~NETIF_F_HW_VLAN_STAG_RX; in nfp_net_fix_features()
/Linux-v6.1/drivers/net/hyperv/
Dnetvsc_drv.c1955 vf_netdev->wanted_features = features; in netvsc_set_features()
2382 vf_netdev->wanted_features = ndev->features; in netvsc_register_vf()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c1143 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1218 netdev_features_t wanted_features, in mlxsw_sp_handle_feature() argument
1222 netdev_features_t changes = wanted_features ^ dev->features; in mlxsw_sp_handle_feature()
1223 bool enable = !!(wanted_features & feature); in mlxsw_sp_handle_feature()
/Linux-v6.1/net/core/
Ddev.c1587 dev->wanted_features &= ~NETIF_F_LRO; in dev_disable_lro()
1608 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()
9556 if (!(upper->wanted_features & feature) in netdev_sync_upper_features()
9579 lower->wanted_features &= ~feature; in netdev_sync_lower_features()
10021 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
/Linux-v6.1/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2244 dev->wanted_features |= NETIF_F_GRO; in cxgb_siocdevprivate()
2246 dev->wanted_features &= ~NETIF_F_GRO; in cxgb_siocdevprivate()
/Linux-v6.1/include/linux/
Dnetdevice.h2057 netdev_features_t wanted_features; member
4886 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c3547 if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
/Linux-v6.1/drivers/net/ethernet/ibm/
Dibmvnic.c4901 tmp & adapter->netdev->wanted_features; in send_control_ip_offload()
/Linux-v6.1/drivers/s390/net/
Dqeth_core_main.c6755 dev->wanted_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in qeth_enable_hw_features()
/Linux-v6.1/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c1354 dev->wanted_features = dev->features; in mvpp2_bm_update_mtu()