-
Notifications
You must be signed in to change notification settings - Fork 1
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
Set modify-QP global address parameters only for GRH case #217
base: integration3
Are you sure you want to change the base?
Conversation
Back port PR: openucx#6061 |
@ybedbug, please help confirm this PR is needed for connection under IB. |
@changchengx I think this is needed under IB. Just because my test is for client/server in same subnet, the GRH which these config should be set on did not exist. If for other cases under IB i.e. sending packets to another subnet/multicast group, is_global would not be 0 and the GRH would be there and these config can be set in GRH. |
@ybedbug Thanks for your confirmation. |
@yosefe Could you also trigger CI test on this PR? |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
1. Back-port master/RP/6061 to integration3 branch 2. This is required by "address path structure fields" 1) hop_limit: For IB and RoCE version 1.0: GRH Hop Limit. 2) rgid_or_rip: For IB port - Valid if the GRH bit is set. For an Ethernet port for RoCE mode, this field must always be valid and contain the remote GID address. 3) traffic class: For InfiniBand and RoCE v1.0: GRH TClass 3. According to IB Spec: 1) Address vector, for UD transports only, containing: For global destination: • Flow label. • Hop limit. • Traffic class. • Source GID index. 2) Address vector, for RC & UC transports only, containing: For global destination: • Traffic class. • Flow label. • Hop limit. • Source GID index. • Destination’s GID. Signed-off-by: Changcheng Liu <jerrliu@nvidia.com>
323e8bd
to
fa0889a
Compare
Signed-off-by: Changcheng Liu <jerrliu@nvidia.com>
fa0889a
to
85bdac2
Compare
@yosefe Do we have plan to merge this PR? It's ported from openucx#6061 |
UCT_IB_MLX5DV_SET(qpc, qpc, primary_address_path.tclass, | ||
iface->super.super.config.traffic_class); | ||
|
||
if (ah_attr->is_global) { |
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.
weird indent
/* TODO add flow_label support */ | ||
UCT_IB_MLX5DV_SET(qpc, qpc, primary_address_path.tclass, | ||
iface->super.super.config.traffic_class); | ||
} |
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.
weird indent
No description provided.