Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/drivers/net/hw/
H A Dtso.py129 setting = "on" if feature in cfg.wanted_features else "off"
185 cfg.wanted_features = set()
187 cfg.wanted_features.add(f["name"])
/linux/Documentation/networking/net_cachelines/
H A Dnet_device.rst40 netdev_features_t wanted_features
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_main.c5260 if (netdev->wanted_features) { in iavf_process_config()
5261 if (!(netdev->wanted_features & NETIF_F_TSO) || in iavf_process_config()
5264 if (!(netdev->wanted_features & NETIF_F_TSO6) || in iavf_process_config()
5267 if (!(netdev->wanted_features & NETIF_F_TSO_ECN)) in iavf_process_config()
5269 if (!(netdev->wanted_features & NETIF_F_GRO)) in iavf_process_config()
5271 if (!(netdev->wanted_features & NETIF_F_GSO)) in iavf_process_config()
/linux/drivers/net/bonding/
H A Dbond_options.c887 bond->dev->wanted_features |= BOND_XFRM_FEATURES; in bond_set_xfrm_features()
889 bond->dev->wanted_features &= ~BOND_XFRM_FEATURES; in bond_set_xfrm_features()
/linux/drivers/net/
H A Dveth.c1108 return !!(dev->wanted_features & NETIF_F_GRO); in veth_gro_requested()
1790 dev->wanted_features &= ~NETIF_F_GRO; in veth_disable_gro()
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c1916 vf_netdev->wanted_features = features; in netvsc_set_features()
2363 vf_netdev->wanted_features = ndev->features; in netvsc_register_vf()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_common.c2089 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/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c1118 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/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c2243 dev->wanted_features |= NETIF_F_GRO; in cxgb_siocdevprivate()
2245 dev->wanted_features &= ~NETIF_F_GRO; in cxgb_siocdevprivate()
/linux/include/linux/
H A Dnetdevice.h2238 netdev_features_t wanted_features; member
5409 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
/linux/net/core/
H A Ddev.c1829 dev->wanted_features &= ~NETIF_F_LRO; in netif_disable_lro()
1852 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()
10832 if (!(upper->wanted_features & feature) in netdev_sync_upper_features()
10856 lower->wanted_features &= ~feature; in netdev_sync_lower_features()
11381 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c3551 if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
/linux/drivers/net/ethernet/ibm/
H A Dibmvnic.c5287 tmp & adapter->netdev->wanted_features; in send_control_ip_offload()
/linux/drivers/s390/net/
H A Dqeth_core_main.c6781 dev->wanted_features |= NETIF_F_HW_VLAN_CTAG_FILTER; in qeth_enable_hw_features()
/linux/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c1379 dev->wanted_features = dev->features; in mvpp2_bm_update_mtu()