Searched refs:features (Results 226 - 250 of 1431) sorted by last modified time

1234567891011>>

/linux-master/drivers/net/ethernet/nvidia/
H A Dforcedeth.c3055 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 Dnixge.c1306 ndev->features = NETIF_F_SG;
/linux-master/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_repr.c236 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 Dnfp_net_common.c1991 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 Ds2io.c4001 * 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 Dmyri10ge.c247 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 Dmana_en.c1543 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 Dsparx5_fdma.c241 if (likely(!(skb->dev->features & NETIF_F_RXFCS)))
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_main.c701 if (unlikely(dev->features & NETIF_F_RXFCS)) {
815 dev->features |= NETIF_F_HW_VLAN_CTAG_TX |
/linux-master/drivers/net/ethernet/microchip/
H A Dlan743x_main.c1622 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 Dksz884x.c1144 /* 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 Dspectrum.c1242 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 Dpci.c2111 .features = MLXSW_BUS_F_TXRX | MLXSW_BUS_F_RESET,
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_tc.c5078 !(priv->netdev->features & NETIF_F_HW_TC))
H A Den_rep.c863 /* update XDP supported features */
900 netdev->features |= netdev->hw_features;
901 netdev->features |= NETIF_F_NETNS_LOCAL;
H A Den_main.c3937 #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 Den_ethtool.c528 arfs_enabled = opened && (priv->netdev->features & NETIF_F_NTUPLE);
2201 /* update XDP supported features */
2352 /* Need to fix some features.. */
H A Den.h1001 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 Dxdp.c244 if (unlikely(!(_ctx->xdp.rxq->dev->features & NETIF_F_RXHASH)))
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Den_netdev.c2468 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 Den_rx.c693 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 Dmtk_eth_soc.c3016 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 Dsky2.c6 * 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 Dskge.c7 * 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 Dprestera_main.c636 dev->features |= NETIF_F_NETNS_LOCAL | NETIF_F_HW_TC;

Completed in 482 milliseconds

1234567891011>>