Home
last modified time | relevance | path

Searched refs:do_bond (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c291 bool do_bond, roce_lag; in mlx5_do_bond() local
301 do_bond = tracker.is_bonded && mlx5_lag_check_prereq(ldev); in mlx5_do_bond()
303 if (do_bond && !__mlx5_lag_is_active(ldev)) { in mlx5_do_bond()
329 } else if (do_bond && __mlx5_lag_is_active(ldev)) { in mlx5_do_bond()
331 } else if (!do_bond && __mlx5_lag_is_active(ldev)) { in mlx5_do_bond()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_netdev.c3040 bool do_bond = true; in mlx4_en_netdev_event() local
3062 do_bond = false; in mlx4_en_netdev_event()
3067 do_bond = false; in mlx4_en_netdev_event()
3070 do_bond = (num_eth_ports == 2) ? do_bond : false; in mlx4_en_netdev_event()
3073 if ((do_bond && (event != NETDEV_BONDING_INFO)) || !port) in mlx4_en_netdev_event()
3077 if (do_bond) { in mlx4_en_netdev_event()
3086 do_bond = false; in mlx4_en_netdev_event()
3090 do_bond = false; in mlx4_en_netdev_event()
3093 if (do_bond) { in mlx4_en_netdev_event()
3143 mlx4_en_queue_bond_work(priv, do_bond, in mlx4_en_netdev_event()