Skip to content

Commit c2b215c

Browse files
authored
Merge pull request #10322 from shasson5/self
UCT/SELF: Remove device address from is_reachable
2 parents d26241e + 2d3fef4 commit c2b215c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/uct/sm/self/self.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ uct_self_iface_is_reachable_v2(const uct_iface_h tl_iface,
148148
const uct_self_iface_t *iface = ucs_derived_of(tl_iface, uct_self_iface_t);
149149
const uct_self_iface_addr_t *addr;
150150

151-
if (!uct_iface_is_reachable_params_addrs_valid(params)) {
151+
if (!uct_iface_is_reachable_params_valid(
152+
params, UCT_IFACE_IS_REACHABLE_FIELD_IFACE_ADDR)) {
152153
return 0;
153154
}
154155

@@ -164,7 +165,8 @@ uct_self_iface_is_reachable_v2(const uct_iface_h tl_iface,
164165
iface->id, *addr);
165166
return 0;
166167
}
167-
return uct_iface_scope_is_reachable(tl_iface, params);
168+
169+
return 1;
168170
}
169171

170172
static void uct_self_iface_sendrecv_am(uct_self_iface_t *iface, uint8_t am_id,

0 commit comments

Comments
 (0)