/linux-master/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 3055 if (dev->features & NETIF_F_HW_VLAN_CTAG_RX && 4874 static int nv_set_loopback(struct net_device *dev, netdev_features_t features) argument 4883 if (features & NETIF_F_LOOPBACK) { 4930 netdev_features_t features) 4933 if (features & (NETIF_F_HW_VLAN_CTAG_TX|NETIF_F_HW_VLAN_CTAG_RX)) 4934 features |= NETIF_F_RXCSUM; 4936 return features; 4939 static void nv_vlan_mode(struct net_device *dev, netdev_features_t features) argument 4945 if (features & NETIF_F_HW_VLAN_CTAG_RX) 4950 if (features 4929 nv_fix_features(struct net_device *dev, netdev_features_t features) argument 4960 nv_set_features(struct net_device *dev, netdev_features_t features) argument [all...] |
/linux-master/drivers/net/ethernet/ni/ |
H A D | nixge.c | 1306 ndev->features = NETIF_F_SG;
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_repr.c | 236 nfp_repr_fix_features(struct net_device *netdev, netdev_features_t features) argument 239 netdev_features_t old_features = features; 245 lower_features = lower_dev->features; 249 features = netdev_intersect_features(features, lower_features); 250 features |= old_features & (NETIF_F_SOFT_FEATURES | NETIF_F_HW_TC); 251 features |= NETIF_F_LLTX; 253 return features; 338 /* Set features the lower device can support with representors */ 380 netdev->features [all...] |
H A D | nfp_net_common.c | 1991 netdev_features_t features) 1993 netdev_features_t changed = netdev->features ^ features; 1998 /* Assume this is not called with features we have not advertised */ 2003 if (features & NETIF_F_RXCSUM) 2010 if (features & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)) 2017 if (features & (NETIF_F_TSO | NETIF_F_TSO6)) 2025 if (features & NETIF_F_HW_VLAN_CTAG_RX) 2033 if (features & NETIF_F_HW_VLAN_CTAG_TX) 2041 if (features 1990 nfp_net_set_features(struct net_device *netdev, netdev_features_t features) argument 2083 nfp_net_fix_features(struct net_device *netdev, netdev_features_t features) argument 2104 nfp_net_features_check(struct sk_buff *skb, struct net_device *dev, netdev_features_t features) argument [all...] |
/linux-master/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 4001 * certain protocol assist features on Tx side, namely CSO, S/G, LSO. 6564 static int s2io_set_features(struct net_device *dev, netdev_features_t features) argument 6567 netdev_features_t changed = (features ^ dev->features) & NETIF_F_LRO; 6574 dev->features = features; 7120 ring->lro = !!(dev->features & NETIF_F_LRO); 7153 if (dev->features & NETIF_F_LRO) { 7376 (dev->features & NETIF_F_RXCSUM)) { 7863 dev->features | [all...] |
/linux-master/drivers/net/ethernet/myricom/myri10ge/ |
H A D | myri10ge.c | 247 u32 features; member in struct:myri10ge_priv 690 mgp->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_TSO; 695 mgp->features |= NETIF_F_TSO6; 1285 if ((dev->features & NETIF_F_HW_VLAN_CTAG_RX) == 1364 if (dev->features & NETIF_F_RXCSUM) { 2897 segs = skb_gso_segment(skb, dev->features & ~NETIF_F_TSO6); 3862 netdev->hw_features = mgp->features | NETIF_F_RXCSUM; 3867 netdev->features = netdev->hw_features | NETIF_F_HIGHDMA; 3869 netdev->vlan_features |= mgp->features;
|
/linux-master/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_en.c | 1543 if ((ndev->features & NETIF_F_RXCSUM) && cqe->rx_iphdr_csum_succeed) { 1548 if (cqe->rx_hashtype != 0 && (ndev->features & NETIF_F_RXHASH)) { 2732 ndev->features = ndev->hw_features | NETIF_F_HW_VLAN_CTAG_TX | 2734 ndev->vlan_features = ndev->features;
|
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_fdma.c | 241 if (likely(!(skb->dev->features & NETIF_F_RXFCS)))
|
/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 701 if (unlikely(dev->features & NETIF_F_RXFCS)) { 815 dev->features |= NETIF_F_HW_VLAN_CTAG_TX |
|
/linux-master/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.c | 1622 if (netdev->features & NETIF_F_RXCSUM) 2749 if (rx->adapter->netdev->features & NETIF_F_RXCSUM) { 3488 adapter->netdev->features = NETIF_F_SG | NETIF_F_TSO | 3490 adapter->netdev->hw_features = adapter->netdev->features;
|
/linux-master/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 1144 /* Hardware features and bug fixes. */ 1190 * @features: Hardware features to enable. 1191 * @overrides: Hardware features to override. 1234 uint features; member in struct:ksz_hw 2891 if ((hw->features & HALF_DUPLEX_SIGNAL_BUG) && 3153 * hw_cfg_wol - configure Wake-on-LAN features 3158 * This routine is used to enable or disable certain Wake-on-LAN features. 3356 /* Setup hardware features or bug workarounds. */ 3358 hw->features | 6201 netdev_set_features(struct net_device *dev, netdev_features_t features) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum.c | 1242 netdev_features_t changes = wanted_features ^ dev->features; 1257 dev->features |= feature; 1259 dev->features &= ~feature; 1264 netdev_features_t features) 1266 netdev_features_t oper_features = dev->features; 1269 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_HW_TC, 1271 err |= mlxsw_sp_handle_feature(dev, features, NETIF_F_LOOPBACK, 1275 dev->features = oper_features; 1696 dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_LLTX | NETIF_F_SG | 1263 mlxsw_sp_set_features(struct net_device *dev, netdev_features_t features) argument
|
H A D | pci.c | 2111 .features = MLXSW_BUS_F_TXRX | MLXSW_BUS_F_RESET,
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_tc.c | 5078 !(priv->netdev->features & NETIF_F_HW_TC))
|
H A D | en_rep.c | 863 /* update XDP supported features */ 900 netdev->features |= netdev->hw_features; 901 netdev->features |= NETIF_F_NETNS_LOCAL;
|
H A D | en_main.c | 3937 #define MLX5E_SET_FEATURE(features, feature, enable) \ 3940 *features |= feature; \ 3942 *features &= ~feature; \ 4213 netdev_features_t *features, 4217 netdev_features_t changes = *features ^ netdev->features; 4218 bool enable = !!(*features & feature); 4226 MLX5E_SET_FEATURE(features, feature, !enable); 4254 int mlx5e_set_features(struct net_device *netdev, netdev_features_t features) argument 4256 netdev_features_t oper_features = features; 4212 mlx5e_handle_feature(struct net_device *netdev, netdev_features_t *features, netdev_features_t feature, mlx5e_feature_handler feature_handler) argument 4286 mlx5e_fix_uplink_rep_features(struct net_device *netdev, netdev_features_t features) argument 4312 mlx5e_fix_features(struct net_device *netdev, netdev_features_t features) argument 4842 mlx5e_tunnel_features_check(struct mlx5e_priv *priv, struct sk_buff *skb, netdev_features_t features) argument 4897 mlx5e_features_check(struct sk_buff *skb, struct net_device *netdev, netdev_features_t features) argument 5525 enum mlx5e_rx_res_features features; local [all...] |
H A D | en_ethtool.c | 528 arfs_enabled = opened && (priv->netdev->features & NETIF_F_NTUPLE); 2201 /* update XDP supported features */ 2352 /* Need to fix some features.. */
|
H A D | en.h | 1001 u32 features; member in struct:mlx5e_profile 1010 ((profile)->features & BIT(MLX5E_PROFILE_FEATURE_##feature)) 1242 netdev_features_t features); 1243 int mlx5e_set_features(struct net_device *netdev, netdev_features_t features);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | xdp.c | 244 if (unlikely(!(_ctx->xdp.rxq->dev->features & NETIF_F_RXHASH)))
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_netdev.c | 2468 if (mlx4_en_reset_config(dev, config, dev->features)) { 2498 netdev_features_t features) 2507 if (features & NETIF_F_HW_VLAN_CTAG_RX && 2509 features |= NETIF_F_HW_VLAN_STAG_RX; 2511 features &= ~NETIF_F_HW_VLAN_STAG_RX; 2513 return features; 2517 netdev_features_t features) 2523 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_RXFCS)) { 2525 (features & NETIF_F_RXFCS) ? "ON" : "OFF"); 2529 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_RXAL 2497 mlx4_en_fix_features(struct net_device *netdev, netdev_features_t features) argument 2516 mlx4_en_set_features(struct net_device *netdev, netdev_features_t features) argument 2678 mlx4_en_features_check(struct sk_buff *skb, struct net_device *dev, netdev_features_t features) argument 3441 mlx4_en_reset_config(struct net_device *dev, struct hwtstamp_config ts_config, netdev_features_t features) argument [all...] |
H A D | en_rx.c | 693 if (unlikely(!(_ctx->dev->features & NETIF_F_RXHASH))) 896 if (likely(dev->features & NETIF_F_RXCSUM)) { 919 if (check_csum(cqe, skb, va, dev->features)) 932 if (dev->features & NETIF_F_RXHASH) 939 (dev->features & NETIF_F_HW_VLAN_CTAG_RX)) 944 (dev->features & NETIF_F_HW_VLAN_STAG_RX)) 1142 if (priv->dev->features & NETIF_F_RXFCS)
|
/linux-master/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 3016 netdev_features_t features) 3018 if (!(features & NETIF_F_LRO)) { 3025 features |= NETIF_F_LRO; 3029 return features; 3032 static int mtk_set_features(struct net_device *dev, netdev_features_t features) argument 3034 netdev_features_t diff = dev->features ^ features; 3036 if ((diff & NETIF_F_LRO) && !(features & NETIF_F_LRO)) 4640 eth->netdev[id]->features |= eth->soc->hw_features; 3015 mtk_fix_features(struct net_device *dev, netdev_features_t features) argument
|
/linux-master/drivers/net/ethernet/marvell/ |
H A D | sky2.c | 6 * This driver intentionally does not support all the features 1276 (sky2->netdev->features & NETIF_F_RXCSUM) 1281 static void rx_set_rss(struct net_device *dev, netdev_features_t features) argument 1294 if (features & NETIF_F_RXHASH) { 1403 static void sky2_vlan_mode(struct net_device *dev, netdev_features_t features) argument 1409 if (features & NETIF_F_HW_VLAN_CTAG_RX) 1416 if (features & NETIF_F_HW_VLAN_CTAG_TX) { 1544 rx_set_rss(sky2->netdev, sky2->netdev->features); 1705 sky2_vlan_mode(sky2->netdev, sky2->netdev->features); 2680 sky2->netdev->features 4304 sky2_fix_features(struct net_device *dev, netdev_features_t features) argument 4329 sky2_set_features(struct net_device *dev, netdev_features_t features) argument [all...] |
H A D | skge.c | 7 * This driver intentionally does not support all the features 3115 if (dev->features & NETIF_F_RXCSUM) { 3832 dev->features |= NETIF_F_HIGHDMA; 3865 dev->features |= dev->hw_features;
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_main.c | 636 dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_HW_TC;
|