Lines Matching refs:features

2158 	if (mlx4_en_reset_config(dev, config, dev->features)) {  in mlx4_en_hwtstamp_set()
2188 netdev_features_t features) in mlx4_en_set_features() argument
2194 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_RXFCS)) { in mlx4_en_set_features()
2196 (features & NETIF_F_RXFCS) ? "ON" : "OFF"); in mlx4_en_set_features()
2200 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_RXALL)) { in mlx4_en_set_features()
2201 u8 ignore_fcs_value = (features & NETIF_F_RXALL) ? 1 : 0; in mlx4_en_set_features()
2211 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_HW_VLAN_CTAG_RX)) { in mlx4_en_set_features()
2213 (features & NETIF_F_HW_VLAN_CTAG_RX) ? "ON" : "OFF"); in mlx4_en_set_features()
2217 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_HW_VLAN_CTAG_TX)) in mlx4_en_set_features()
2219 (features & NETIF_F_HW_VLAN_CTAG_TX) ? "ON" : "OFF"); in mlx4_en_set_features()
2221 if (DEV_FEATURE_CHANGED(netdev, features, NETIF_F_LOOPBACK)) { in mlx4_en_set_features()
2223 (features & NETIF_F_LOOPBACK) ? "ON" : "OFF"); in mlx4_en_set_features()
2224 mlx4_en_update_loopback_state(netdev, features); in mlx4_en_set_features()
2229 features); in mlx4_en_set_features()
2398 netdev_features_t features) in mlx4_en_features_check() argument
2400 features = vlan_features_check(skb, features); in mlx4_en_features_check()
2401 return vxlan_features_check(skb, features); in mlx4_en_features_check()
2908 dev->features = dev->hw_features | NETIF_F_HIGHDMA | in mlx4_en_init_netdev()
2941 dev->features |= NETIF_F_GSO_UDP_TUNNEL; in mlx4_en_init_netdev()
2953 mlx4_en_update_loopback_state(priv->dev, priv->dev->features); in mlx4_en_init_netdev()
3012 netdev_features_t features) in mlx4_en_reset_config() argument
3021 !DEV_FEATURE_CHANGED(dev, features, NETIF_F_HW_VLAN_CTAG_RX) && in mlx4_en_reset_config()
3022 !DEV_FEATURE_CHANGED(dev, features, NETIF_F_RXFCS)) in mlx4_en_reset_config()
3025 if (DEV_FEATURE_CHANGED(dev, features, NETIF_F_HW_VLAN_CTAG_RX) && in mlx4_en_reset_config()
3026 (features & NETIF_F_HW_VLAN_CTAG_RX) && in mlx4_en_reset_config()
3041 ts_config.rx_filter, !!(features & NETIF_F_HW_VLAN_CTAG_RX)); in mlx4_en_reset_config()
3046 if (DEV_FEATURE_CHANGED(dev, features, NETIF_F_HW_VLAN_CTAG_RX)) { in mlx4_en_reset_config()
3047 if (features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
3048 dev->features |= NETIF_F_HW_VLAN_CTAG_RX; in mlx4_en_reset_config()
3050 dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX; in mlx4_en_reset_config()
3056 dev->features |= NETIF_F_HW_VLAN_CTAG_RX; in mlx4_en_reset_config()
3058 dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX; in mlx4_en_reset_config()
3061 if (DEV_FEATURE_CHANGED(dev, features, NETIF_F_RXFCS)) { in mlx4_en_reset_config()
3062 if (features & NETIF_F_RXFCS) in mlx4_en_reset_config()
3063 dev->features |= NETIF_F_RXFCS; in mlx4_en_reset_config()
3065 dev->features &= ~NETIF_F_RXFCS; in mlx4_en_reset_config()
3073 if (dev->features & NETIF_F_HW_VLAN_CTAG_RX) in mlx4_en_reset_config()
3075 dev->features &= ~NETIF_F_HW_VLAN_CTAG_RX; in mlx4_en_reset_config()