Home
last modified time | relevance | path

Searched refs:port_up (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c60 if (priv->port_up) { in mlx4_en_moderation_update()
76 if (priv->port_up) { in mlx4_en_moderation_update()
993 if (priv->port_up) { in mlx4_en_set_link_ksettings()
1153 int port_up = 0; in mlx4_en_set_ringparam() local
1175 if (rx_size == (priv->port_up ? priv->rx_ring[0]->actual_size : in mlx4_en_set_ringparam()
1192 if (priv->port_up) { in mlx4_en_set_ringparam()
1193 port_up = 1; in mlx4_en_set_ringparam()
1199 if (port_up) { in mlx4_en_set_ringparam()
1222 param->rx_pending = priv->port_up ? in mlx4_en_get_ringparam()
1289 int port_up = 0; in mlx4_en_set_rxfh() local
[all …]
Den_netdev.c97 int port_up = 0; in mlx4_en_alloc_tx_queue_per_tc() local
122 if (priv->port_up) { in mlx4_en_alloc_tx_queue_per_tc()
123 port_up = 1; in mlx4_en_alloc_tx_queue_per_tc()
128 if (port_up) { in mlx4_en_alloc_tx_queue_per_tc()
490 if (mdev->device_up && priv->port_up) { in mlx4_en_vlan_rx_add_vid()
521 if (mdev->device_up && priv->port_up) { in mlx4_en_vlan_rx_kill_vid()
769 if (priv->port_up) { in mlx4_en_do_set_mac()
889 if (!priv->port_up) in mlx4_en_set_rx_mode()
1268 if (!priv->port_up) { in mlx4_en_do_set_rx_mode()
1524 if (priv->port_up) { in mlx4_en_do_get_stats()
[all …]
Den_selftest.c188 if (priv->port_up && dev->mtu >= MLX4_SELFTEST_LB_MIN_MTU) in mlx4_en_ex_selftest()
Den_tx.c447 if (unlikely(!priv->port_up)) in mlx4_en_process_tx_cq()
542 if (likely(priv->port_up)) in mlx4_en_tx_irq()
901 if (unlikely(!priv->port_up)) in mlx4_en_xmit()
1179 if (unlikely(!priv->port_up)) in mlx4_en_xmit_frame()
Den_rx.c397 if (!priv->port_up) in mlx4_en_recover_from_oom()
678 if (unlikely(!priv->port_up || budget <= 0)) in mlx4_en_process_rx_cq()
937 if (likely(priv->port_up)) in mlx4_en_rx_irq()
Den_port.c157 if (!priv->port_up || mlx4_is_master(mdev->dev)) in mlx4_en_fold_software_stats()
Dmlx4_en.h558 bool port_up; member