Searched refs:do_bond (Results 1 – 2 of 2) sorted by relevance
832 static bool mlx5_lag_should_modify_lag(struct mlx5_lag *ldev, bool do_bond) in mlx5_lag_should_modify_lag() argument834 return do_bond && __mlx5_lag_is_active(ldev) && in mlx5_lag_should_modify_lag()838 static bool mlx5_lag_should_disable_lag(struct mlx5_lag *ldev, bool do_bond) in mlx5_lag_should_disable_lag() argument840 return !do_bond && __mlx5_lag_is_active(ldev) && in mlx5_lag_should_disable_lag()849 bool do_bond, roce_lag; in mlx5_do_bond() local854 do_bond = false; in mlx5_do_bond()862 do_bond = tracker.is_bonded && mlx5_lag_check_prereq(ldev); in mlx5_do_bond()865 if (do_bond && !__mlx5_lag_is_active(ldev)) { in mlx5_do_bond()906 } else if (mlx5_lag_should_modify_lag(ldev, do_bond)) { in mlx5_do_bond()908 } else if (mlx5_lag_should_disable_lag(ldev, do_bond)) { in mlx5_do_bond()
2960 bool do_bond = true; in mlx4_en_netdev_event() local2982 do_bond = false; in mlx4_en_netdev_event()2987 do_bond = false; in mlx4_en_netdev_event()2990 do_bond = (num_eth_ports == 2) ? do_bond : false; in mlx4_en_netdev_event()2993 if ((do_bond && (event != NETDEV_BONDING_INFO)) || !port) in mlx4_en_netdev_event()2997 if (do_bond) { in mlx4_en_netdev_event()3006 do_bond = false; in mlx4_en_netdev_event()3010 do_bond = false; in mlx4_en_netdev_event()3013 if (do_bond) { in mlx4_en_netdev_event()3063 mlx4_en_queue_bond_work(priv, do_bond, in mlx4_en_netdev_event()