Searched refs:do_bond (Results 1 – 2 of 2) sorted by relevance
905 static bool mlx5_lag_should_modify_lag(struct mlx5_lag *ldev, bool do_bond) in mlx5_lag_should_modify_lag() argument907 return do_bond && __mlx5_lag_is_active(ldev) && in mlx5_lag_should_modify_lag()911 static bool mlx5_lag_should_disable_lag(struct mlx5_lag *ldev, bool do_bond) in mlx5_lag_should_disable_lag() argument913 return !do_bond && __mlx5_lag_is_active(ldev) && in mlx5_lag_should_disable_lag()921 bool do_bond, roce_lag; in mlx5_do_bond() local926 do_bond = false; in mlx5_do_bond()934 do_bond = tracker.is_bonded && mlx5_lag_check_prereq(ldev); in mlx5_do_bond()937 if (do_bond && !__mlx5_lag_is_active(ldev)) { in mlx5_do_bond()984 } else if (mlx5_lag_should_modify_lag(ldev, do_bond)) { in mlx5_do_bond()986 } else if (mlx5_lag_should_disable_lag(ldev, do_bond)) { in mlx5_do_bond()
2909 bool do_bond = true; in mlx4_en_netdev_event() local2930 do_bond = false; in mlx4_en_netdev_event()2935 do_bond = false; in mlx4_en_netdev_event()2938 do_bond = (num_eth_ports == 2) ? do_bond : false; in mlx4_en_netdev_event()2941 if ((do_bond && (event != NETDEV_BONDING_INFO)) || !port) in mlx4_en_netdev_event()2944 if (do_bond) { in mlx4_en_netdev_event()2953 do_bond = false; in mlx4_en_netdev_event()2957 do_bond = false; in mlx4_en_netdev_event()2960 if (do_bond) { in mlx4_en_netdev_event()3010 mlx4_queue_bond_work(dev, do_bond, v2p_port1, v2p_port2); in mlx4_en_netdev_event()