Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c59 if (priv->port_up) { in mlx4_en_moderation_update()
75 if (priv->port_up) { in mlx4_en_moderation_update()
990 if (priv->port_up) { in mlx4_en_set_link_ksettings()
1144 int port_up = 0; in mlx4_en_set_ringparam() local
1166 if (rx_size == (priv->port_up ? priv->rx_ring[0]->actual_size : in mlx4_en_set_ringparam()
1183 if (priv->port_up) { in mlx4_en_set_ringparam()
1184 port_up = 1; in mlx4_en_set_ringparam()
1190 if (port_up) { in mlx4_en_set_ringparam()
1211 param->rx_pending = priv->port_up ? in mlx4_en_get_ringparam()
1278 int port_up = 0; in mlx4_en_set_rxfh() local
[all …]
Den_netdev.c96 int port_up = 0; in mlx4_en_alloc_tx_queue_per_tc() local
121 if (priv->port_up) { in mlx4_en_alloc_tx_queue_per_tc()
122 port_up = 1; in mlx4_en_alloc_tx_queue_per_tc()
127 if (port_up) { in mlx4_en_alloc_tx_queue_per_tc()
489 if (mdev->device_up && priv->port_up) { in mlx4_en_vlan_rx_add_vid()
520 if (mdev->device_up && priv->port_up) { in mlx4_en_vlan_rx_kill_vid()
768 if (priv->port_up) { in mlx4_en_do_set_mac()
888 if (!priv->port_up) in mlx4_en_set_rx_mode()
1267 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.c446 if (unlikely(!priv->port_up)) in mlx4_en_process_tx_cq()
541 if (likely(priv->port_up)) in mlx4_en_tx_irq()
890 if (unlikely(!priv->port_up)) in mlx4_en_xmit()
1159 if (unlikely(!priv->port_up)) in mlx4_en_xmit_frame()
Den_rx.c397 if (!priv->port_up) in mlx4_en_recover_from_oom()
677 if (unlikely(!priv->port_up || budget <= 0)) in mlx4_en_process_rx_cq()
930 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.h575 bool port_up; member