You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
UCS/UCT/IB: Select SL not depending on AR support by default - #5943
then it will be impossible to re-use code for ternary to handle yes/no/try
what about removing ternary type and have ynta?
What will we do in code which expects only yes/no/try options?
I see @yosefe wdyt about changing ucs_ternary_value_t -> ucs_ternary_auto_value_t? and we will have UCS_CONFIG_TYPE_TERNARY and UCS_CONFIG_TYPE_TERNARY_AUTO like we have for UCS_CONFIG_TYPE_ON_OFF/UCS_CONFIG_TYPE_ON_OFF_AUTO. sscanf() parsing function will be different for them to handle or not handle auto value
then it will be impossible to re-use code for ternary to handle yes/no/try
what about removing ternary type and have ynta?
What will we do in code which expects only yes/no/try options?
I see @yosefe wdyt about changing ucs_ternary_value_t -> ucs_ternary_auto_value_t? and we will have UCS_CONFIG_TYPE_TERNARY and UCS_CONFIG_TYPE_TERNARY_AUTO like we have for UCS_CONFIG_TYPE_ON_OFF/UCS_CONFIG_TYPE_ON_OFF_AUTO. sscanf() parsing function will be different for them to handle or not handle auto value
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Select SL not depending on AR support by default.
Why ?
To align with previous behavior, since users may not expect that UCX selects SL with AR (if possible) or SL without AR (if possbile) after #5869.
How ?
ucs_ternary_value_t-"auto"that select default value for ternary value."auto"value when selecting SL. If"auto"is set, UCT/IB/MLX5 selects SL requested by a user (thruUCX_IB_SL=<sl>) or0.UCS_NO).