Home
last modified time | relevance | path

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

/Linux-v5.4/net/core/
Dethtool.c155 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()
207 dev->wanted_features &= ~valid; in ethtool_set_features()
208 dev->wanted_features |= wanted & valid; in ethtool_set_features()
211 if ((dev->wanted_features ^ dev->features) & valid) in ethtool_set_features()
323 dev->wanted_features |= mask; in ethtool_set_one_feature()
325 dev->wanted_features &= ~mask; in ethtool_set_one_feature()
379 dev->wanted_features = in __ethtool_set_flags()
380 (dev->wanted_features & ~changed) | (features & changed); in __ethtool_set_flags()
Ddev.c1479 dev->wanted_features &= ~NETIF_F_LRO; in dev_disable_lro()
1500 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()
8577 if (!(upper->wanted_features & feature) in netdev_sync_upper_features()
8600 lower->wanted_features &= ~feature; in netdev_sync_lower_features()
9050 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_main.c3521 if (netdev->wanted_features) { in iavf_process_config()
3522 if (!(netdev->wanted_features & NETIF_F_TSO) || in iavf_process_config()
3525 if (!(netdev->wanted_features & NETIF_F_TSO6) || in iavf_process_config()
3528 if (!(netdev->wanted_features & NETIF_F_TSO_ECN)) in iavf_process_config()
3530 if (!(netdev->wanted_features & NETIF_F_GRO)) in iavf_process_config()
3532 if (!(netdev->wanted_features & NETIF_F_GSO)) in iavf_process_config()
/Linux-v5.4/Documentation/networking/
Dnetdev-features.txt35 4. netdev->wanted_features set contains feature set requested by user.
/Linux-v5.4/drivers/net/hyperv/
Dnetvsc_drv.c1826 vf_netdev->wanted_features = features; in netvsc_set_features()
2208 vf_netdev->wanted_features = ndev->features; in netvsc_register_vf()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2244 dev->wanted_features |= NETIF_F_GRO; in cxgb_extension_ioctl()
2246 dev->wanted_features &= ~NETIF_F_GRO; in cxgb_extension_ioctl()
/Linux-v5.4/drivers/net/
Dtun.c2916 tun->dev->wanted_features &= ~TUN_USER_FEATURES; in set_offload()
2917 tun->dev->wanted_features |= features; in set_offload()
/Linux-v5.4/include/linux/
Dnetdevice.h1816 netdev_features_t wanted_features; member
4471 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3764 netdev_features_t wanted_features, in mlx5e_handle_feature() argument
3768 netdev_features_t changes = wanted_features ^ netdev->features; in mlx5e_handle_feature()
3769 bool enable = !!(wanted_features & feature); in mlx5e_handle_feature()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1799 netdev_features_t wanted_features, in mlxsw_sp_handle_feature() argument
1803 netdev_features_t changes = wanted_features ^ dev->features; in mlxsw_sp_handle_feature()
1804 bool enable = !!(wanted_features & feature); in mlxsw_sp_handle_feature()
/Linux-v5.4/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c574 netdev_features_t wanted = dev->wanted_features; in bcmgenet_set_features()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c3624 if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
/Linux-v5.4/drivers/net/ethernet/ibm/
Dibmvnic.c3977 tmp & adapter->netdev->wanted_features; in handle_query_ip_offload_rsp()
/Linux-v5.4/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c1005 dev->wanted_features = dev->features; in mvpp2_bm_update_mtu()
/Linux-v5.4/drivers/s390/net/
Dqeth_core_main.c6085 dev->wanted_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in qeth_enable_hw_features()