-
Notifications
You must be signed in to change notification settings - Fork 604
Revert check for HCA reachability like rc_mlx5 (#11781) - master #11838
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1058,7 +1058,7 @@ static uct_rc_iface_ops_t uct_rc_gdaki_internal_ops = { | |
| .ep_query = (uct_ep_query_func_t)ucs_empty_function_return_unsupported, | ||
| .ep_invalidate = (uct_ep_invalidate_func_t)ucs_empty_function_return_unsupported, | ||
| .ep_connect_to_ep_v2 = uct_rc_gdaki_ep_connect_to_ep_v2, | ||
| .iface_is_reachable_v2 = uct_ib_iface_is_reachable_v2, | ||
| .iface_is_reachable_v2 = (uct_iface_is_reachable_v2_func_t)ucs_empty_function_return_one_int, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Making reachability unconditionally return 1 skips valid peer filtering during wireup. The change replaces Suggested inline comment: gda device address is a normal IB address and every other IB mlx5 TL keeps |
||
| .ep_is_connected = uct_rc_gdaki_ep_is_connected, | ||
| .ep_get_device_ep = uct_rc_gdaki_ep_get_device_ep, | ||
| .ep_outstanding_purge = (uct_ep_outstanding_purge_func_t)ucs_empty_function_return_unsupported | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -98,4 +98,3 @@ UCS_TEST_P(test_uct_iface, is_reachable) | |
| } | ||
|
|
||
| UCT_INSTANTIATE_TEST_CASE(test_uct_iface) | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Dropping |
||
| _UCT_INSTANTIATE_TEST_CASE(test_uct_iface, rc_gda) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why not keep
uct_ib_iface_is_reachable_v2here? gdaki packs a real IB device address and itsep_connect_to_ep_v2builds the AH from that address viauct_ib_iface_fill_ah_attr_from_addr. With the stub (always return 1), gdaki reports itself reachable to any peer, including a different link layer (IB vs RoCE), a different subnet without FLID, or a mismatched pkey — cases the real check would reject. Sincerc_gdaparticipates in UCP wireup (in theibalias, used as"rc,rc_gda"), UCP could select the gdaki lane toward a genuinely unreachable peer.ep_is_connectedstill does real device matching and gdaki is normally paired with a primaryrclane that does its own reachability check, so this may be acceptable by design — but pls explain in the description why bypassing reachability is safe for wireup lane selection.