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

UCT/IB: Add FLID based routing support - v1.16.x #9557

Conversation

yosefe
Copy link
Contributor

@yosefe yosefe commented Dec 19, 2023

Why

Backport #9551
Don't port test_jenkins.sh change, and one minor conflict in ib_iface.h

@yosefe yosefe changed the title UCT/IB: Add FLID based routing support UCT/IB: Add FLID based routing support - v1.16.x Dec 19, 2023
Copy link
Contributor

@iyastreb iyastreb left a comment

Choose a reason for hiding this comment

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

minor comments

return ntohs(*((uint16_t*)UCS_PTR_BYTE_OFFSET(gid->raw, 4)));
}

static int uct_ib_iface_is_flid_enabled(uct_ib_iface_t *iface)
Copy link
Contributor

Choose a reason for hiding this comment

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

can we pass iface by const?

return be64toh(gid->global.subnet_prefix) & 0xffff;
}

uint16_t uct_ib_iface_resolve_remote_flid(uct_ib_iface_t *iface,
Copy link
Contributor

Choose a reason for hiding this comment

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

const for iface?

@yosefe yosefe force-pushed the topic/uct-ib-add-flid-based-routing-support-v1.16.x branch from a45b607 to 460afd4 Compare December 20, 2023 14:13
@yosefe yosefe merged commit 76758f8 into openucx:v1.16.x Dec 25, 2023
111 checks passed
@yosefe yosefe deleted the topic/uct-ib-add-flid-based-routing-support-v1.16.x branch December 25, 2023 14:59
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