Home
last modified time | relevance | path

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

/openbmc/linux/net/ethtool/
H A Dfeatures.c45 ethnl_features_to_bitmap32(data->wanted, dev->wanted_features); in features_prepare_data()
241 ethnl_features_to_bitmap(old_wanted, dev->wanted_features); in ethnl_set_features()
258 dev->wanted_features &= ~dev->hw_features; in ethnl_set_features()
259 dev->wanted_features |= ethnl_bitmap_to_features(req_wanted) & dev->hw_features; in ethnl_set_features()
H A Dioctl.c94 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()
147 dev->wanted_features &= ~valid; in ethtool_set_features()
148 dev->wanted_features |= wanted & valid; in ethtool_set_features()
151 if ((dev->wanted_features ^ dev->features) & valid) in ethtool_set_features()
274 dev->wanted_features |= mask; in ethtool_set_one_feature()
276 dev->wanted_features &= ~mask; in ethtool_set_one_feature()
330 dev->wanted_features = in __ethtool_set_flags()
331 (dev->wanted_features & ~changed) | (features & changed); in __ethtool_set_flags()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c4932 if (netdev->wanted_features) { in iavf_process_config()
4933 if (!(netdev->wanted_features & NETIF_F_TSO) || in iavf_process_config()
4936 if (!(netdev->wanted_features & NETIF_F_TSO6) || in iavf_process_config()
4939 if (!(netdev->wanted_features & NETIF_F_TSO_ECN)) in iavf_process_config()
4941 if (!(netdev->wanted_features & NETIF_F_GRO)) in iavf_process_config()
4943 if (!(netdev->wanted_features & NETIF_F_GSO)) in iavf_process_config()
/openbmc/linux/Documentation/networking/
H A Dnetdev-features.rst38 4. netdev->wanted_features set contains feature set requested by user.
H A Dethtool-netlink.rst751 ``ETHTOOL_A_FEATURES_WANTED`` bitset dev->wanted_features
/openbmc/linux/drivers/net/bonding/
H A Dbond_options.c845 bond->dev->wanted_features |= BOND_XFRM_FEATURES; in bond_set_xfrm_features()
847 bond->dev->wanted_features &= ~BOND_XFRM_FEATURES; in bond_set_xfrm_features()
/openbmc/linux/drivers/net/
H A Dveth.c1126 return !!(dev->wanted_features & NETIF_F_GRO); in veth_gro_requested()
1788 dev->wanted_features &= ~NETIF_F_GRO; in veth_disable_gro()
H A Dtun.c2933 tun->dev->wanted_features &= ~TUN_USER_FEATURES; in set_offload()
2934 tun->dev->wanted_features |= features; in set_offload()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c1961 vf_netdev->wanted_features = features; in netvsc_set_features()
2404 vf_netdev->wanted_features = ndev->features; in netvsc_register_vf()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c1907 netdev->wanted_features &= ~NETIF_F_HW_VLAN_CTAG_RX; in nfp_net_fix_features()
1912 netdev->wanted_features &= ~NETIF_F_HW_VLAN_STAG_RX; in nfp_net_fix_features()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c1236 netdev_features_t wanted_features, in mlxsw_sp_handle_feature() argument
1240 netdev_features_t changes = wanted_features ^ dev->features; in mlxsw_sp_handle_feature()
1241 bool enable = !!(wanted_features & feature); in mlxsw_sp_handle_feature()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c1290 netdev->wanted_features |= NETIF_F_HW_TC; in mlx5e_uplink_rep_enable()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c2244 dev->wanted_features |= NETIF_F_GRO; in cxgb_siocdevprivate()
2246 dev->wanted_features &= ~NETIF_F_GRO; in cxgb_siocdevprivate()
/openbmc/linux/include/linux/
H A Dnetdevice.h2120 netdev_features_t wanted_features; member
4977 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
/openbmc/linux/net/core/
H A Ddev.c1661 dev->wanted_features &= ~NETIF_F_LRO; in dev_disable_lro()
1682 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()
9716 if (!(upper->wanted_features & feature) in netdev_sync_upper_features()
9739 lower->wanted_features &= ~feature; in netdev_sync_lower_features()
10232 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c3492 if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c5274 tmp & adapter->netdev->wanted_features; in send_control_ip_offload()
/openbmc/linux/drivers/s390/net/
H A Dqeth_core_main.c6782 dev->wanted_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in qeth_enable_hw_features()
/openbmc/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c1379 dev->wanted_features = dev->features; in mvpp2_bm_update_mtu()