Skip to content
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

Open
wants to merge 2 commits into
base: integration3
Choose a base branch
from

Conversation

changchengx
Copy link

No description provided.

@changchengx
Copy link
Author

Back port PR: openucx#6061

@changchengx
Copy link
Author

@ybedbug, please help confirm this PR is needed for connection under IB.

@ybedbug
Copy link

ybedbug commented Nov 2, 2021

@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.

@changchengx
Copy link
Author

@ybedbug Thanks for your confirmation.

@changchengx
Copy link
Author

@yosefe Could you also trigger CI test on this PR?

@yosefe
Copy link
Owner

yosefe commented Jan 17, 2022

/azp run

@azure-pipelines
Copy link

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>
@changchengx changchengx force-pushed the addr_param_grh branch 2 times, most recently from 323e8bd to fa0889a Compare January 24, 2022 00:58
Signed-off-by: Changcheng Liu <jerrliu@nvidia.com>
@changchengx
Copy link
Author

@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) {
Copy link
Owner

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);
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird indent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants