| /linux-6.15/net/ethtool/ |
| H A D | features.c | 47 ethnl_features_to_bitmap32(data->wanted, dev->wanted_features); in features_prepare_data() 244 ethnl_features_to_bitmap(old_wanted, dev->wanted_features); in ethnl_set_features() 261 dev->wanted_features &= ~dev->hw_features; in ethnl_set_features() 262 dev->wanted_features |= ethnl_bitmap_to_features(req_wanted) & dev->hw_features; in ethnl_set_features()
|
| H A D | ioctl.c | 99 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features() 152 dev->wanted_features &= ~valid; in ethtool_set_features() 153 dev->wanted_features |= wanted & valid; in ethtool_set_features() 156 if ((dev->wanted_features ^ dev->features) & valid) in ethtool_set_features() 279 dev->wanted_features |= mask; in ethtool_set_one_feature() 281 dev->wanted_features &= ~mask; in ethtool_set_one_feature() 335 dev->wanted_features = in __ethtool_set_flags() 336 (dev->wanted_features & ~changed) | (features & changed); in __ethtool_set_flags()
|
| /linux-6.15/Documentation/networking/net_cachelines/ |
| H A D | net_device.rst | 39 netdev_features_t wanted_features
|
| /linux-6.15/Documentation/networking/ |
| H A D | netdev-features.rst | 38 4. netdev->wanted_features set contains feature set requested by user.
|
| H A D | ethtool-netlink.rst | 773 ``ETHTOOL_A_FEATURES_WANTED`` bitset dev->wanted_features
|
| /linux-6.15/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_main.c | 5424 if (netdev->wanted_features) { in iavf_process_config() 5425 if (!(netdev->wanted_features & NETIF_F_TSO) || in iavf_process_config() 5428 if (!(netdev->wanted_features & NETIF_F_TSO6) || in iavf_process_config() 5431 if (!(netdev->wanted_features & NETIF_F_TSO_ECN)) in iavf_process_config() 5433 if (!(netdev->wanted_features & NETIF_F_GRO)) in iavf_process_config() 5435 if (!(netdev->wanted_features & NETIF_F_GSO)) in iavf_process_config()
|
| /linux-6.15/drivers/net/bonding/ |
| H A D | bond_options.c | 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()
|
| /linux-6.15/drivers/net/ |
| H A D | veth.c | 1065 return !!(dev->wanted_features & NETIF_F_GRO); in veth_gro_requested() 1747 dev->wanted_features &= ~NETIF_F_GRO; in veth_disable_gro()
|
| H A D | tun.c | 2852 tun->dev->wanted_features &= ~TUN_USER_FEATURES; in set_offload() 2853 tun->dev->wanted_features |= features; in set_offload()
|
| /linux-6.15/drivers/net/hyperv/ |
| H A D | netvsc_drv.c | 1931 vf_netdev->wanted_features = features; in netvsc_set_features() 2374 vf_netdev->wanted_features = ndev->features; in netvsc_register_vf()
|
| /linux-6.15/drivers/net/ethernet/netronome/nfp/ |
| H A D | nfp_net_common.c | 2089 netdev->wanted_features &= ~NETIF_F_HW_VLAN_CTAG_RX; in nfp_net_fix_features() 2094 netdev->wanted_features &= ~NETIF_F_HW_VLAN_STAG_RX; in nfp_net_fix_features()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum.c | 1118 netdev_features_t wanted_features, in mlxsw_sp_handle_feature() argument 1122 netdev_features_t changes = wanted_features ^ dev->features; in mlxsw_sp_handle_feature() 1123 bool enable = !!(wanted_features & feature); in mlxsw_sp_handle_feature()
|
| /linux-6.15/drivers/net/ethernet/chelsio/cxgb3/ |
| H A D | cxgb3_main.c | 2243 dev->wanted_features |= NETIF_F_GRO; in cxgb_siocdevprivate() 2245 dev->wanted_features &= ~NETIF_F_GRO; in cxgb_siocdevprivate()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rep.c | 1344 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
|
| /linux-6.15/include/linux/ |
| H A D | netdevice.h | 2192 netdev_features_t wanted_features; member 5245 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
|
| /linux-6.15/net/core/ |
| H A D | dev.c | 1755 dev->wanted_features &= ~NETIF_F_LRO; in netif_disable_lro() 1779 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw() 10421 if (!(upper->wanted_features & feature) in netdev_sync_upper_features() 10445 lower->wanted_features &= ~feature; in netdev_sync_lower_features() 10963 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_netdev.c | 3568 if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
|
| /linux-6.15/drivers/net/ethernet/ibm/ |
| H A D | ibmvnic.c | 5254 tmp & adapter->netdev->wanted_features; in send_control_ip_offload()
|
| /linux-6.15/drivers/s390/net/ |
| H A D | qeth_core_main.c | 6782 dev->wanted_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in qeth_enable_hw_features()
|
| /linux-6.15/drivers/net/ethernet/marvell/mvpp2/ |
| H A D | mvpp2_main.c | 1379 dev->wanted_features = dev->features; in mvpp2_bm_update_mtu()
|