Skip to content

Commit

Permalink
UCP/WIREUP: Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankochin committed Nov 30, 2023
1 parent 90353e5 commit e830e4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ucp/wireup/select.c
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,8 @@ static double ucp_wireup_rma_score_func(const ucp_worker_iface_t *wiface,
local_bw = ucp_tl_iface_bandwidth(wiface->worker->context,
&wiface->attr.bandwidth);
} else {
/* Compare BW including local distance to prevent EP reconfiguration
* since remote distance is included to remote_addr*/
local_bw = ucp_wireup_iface_bw_distance(wiface);
}

Expand Down

0 comments on commit e830e4f

Please sign in to comment.