Home
last modified time | relevance | path

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

/Linux-v4.19/net/core/
Dethtool.c154 features[i].requested = (u32)(dev->wanted_features >> (32 * i)); in ethtool_get_features()
206 dev->wanted_features &= ~valid; in ethtool_set_features()
207 dev->wanted_features |= wanted & valid; in ethtool_set_features()
210 if ((dev->wanted_features ^ dev->features) & valid) in ethtool_set_features()
322 dev->wanted_features |= mask; in ethtool_set_one_feature()
324 dev->wanted_features &= ~mask; in ethtool_set_one_feature()
378 dev->wanted_features = in __ethtool_set_flags()
379 (dev->wanted_features & ~changed) | (features & changed); in __ethtool_set_flags()
Ddev.c1545 dev->wanted_features &= ~NETIF_F_LRO; in dev_disable_lro()
1566 dev->wanted_features &= ~NETIF_F_GRO_HW; in dev_disable_gro_hw()
8031 if (!(upper->wanted_features & feature) in netdev_sync_upper_features()
8054 lower->wanted_features &= ~feature; in netdev_sync_lower_features()
8467 dev->wanted_features = dev->features & dev->hw_features; in register_netdevice()
/Linux-v4.19/drivers/net/ethernet/intel/i40evf/
Di40evf_main.c3338 if (netdev->wanted_features) { in i40evf_process_config()
3339 if (!(netdev->wanted_features & NETIF_F_TSO) || in i40evf_process_config()
3342 if (!(netdev->wanted_features & NETIF_F_TSO6) || in i40evf_process_config()
3345 if (!(netdev->wanted_features & NETIF_F_TSO_ECN)) in i40evf_process_config()
3347 if (!(netdev->wanted_features & NETIF_F_GRO)) in i40evf_process_config()
3349 if (!(netdev->wanted_features & NETIF_F_GSO)) in i40evf_process_config()
/Linux-v4.19/Documentation/networking/
Dnetdev-features.txt35 4. netdev->wanted_features set contains feature set requested by user.
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1658 netdev_features_t wanted_features, in mlxsw_sp_handle_feature() argument
1662 netdev_features_t changes = wanted_features ^ dev->features; in mlxsw_sp_handle_feature()
1663 bool enable = !!(wanted_features & feature); in mlxsw_sp_handle_feature()
/Linux-v4.19/include/linux/
Dnetdevice.h1774 netdev_features_t wanted_features; member
4350 return (dev->features & ~dev->hw_features) | dev->wanted_features; in netdev_get_wanted_features()
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c2245 dev->wanted_features |= NETIF_F_GRO; in cxgb_extension_ioctl()
2247 dev->wanted_features &= ~NETIF_F_GRO; in cxgb_extension_ioctl()
/Linux-v4.19/drivers/net/
Dtun.c2717 tun->dev->wanted_features &= ~TUN_USER_FEATURES; in set_offload()
2718 tun->dev->wanted_features |= features; in set_offload()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c3645 netdev_features_t wanted_features, in mlx5e_handle_feature() argument
3649 netdev_features_t changes = wanted_features ^ netdev->features; in mlx5e_handle_feature()
3650 bool enable = !!(wanted_features & feature); in mlx5e_handle_feature()
/Linux-v4.19/drivers/staging/mt7621-eth/
Dmtk_eth_soc.c534 dev->wanted_features &= ~NETIF_F_HW_VLAN_CTAG_TX; in mtk_vlan_rx_add_vid()
/Linux-v4.19/drivers/net/ethernet/broadcom/
Dbcmsysport.c188 netdev_features_t wanted = dev->wanted_features; in bcm_sysport_set_features()
/Linux-v4.19/drivers/net/ethernet/broadcom/genet/
Dbcmgenet.c577 netdev_features_t wanted = dev->wanted_features; in bcmgenet_set_features()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c3625 if (dev->wanted_features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
/Linux-v4.19/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_main.c845 dev->wanted_features = dev->features; in mvpp2_bm_update_mtu()