Skip to content

Added UMAD utilities for planarized fabrics, modified ibportstate to be compatible with planarized fabrics #1398

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

anir-nvidia
Copy link
Contributor

Added ext_umad files with utilities to handle XDR devices, where a single CA has 2 umad devices.
Adapted ibportstate to send SMP only in direct route, as required in planarized fabrics (LID routed SMPs aren't valid in planarized fabrics).

@anir-nvidia anir-nvidia marked this pull request as draft October 19, 2023 08:27
@anir-nvidia anir-nvidia force-pushed the portstate_xdr branch 7 times, most recently from 4254c61 to a241956 Compare October 22, 2023 08:56
ext_umad ("extended umad") provides an interface and utilities for
handling planarized HCAs. The planarized HCAs appear as 2 separate
devices on umad_get_cas output, and the ext_umad interface allows to
group the devices together, and find matching devices.

Signed-off-by: Amir Nir <anir@nvidia.com>
In planarized fabrics, all SMPs must be sent by direct route.
convert_portid_to_dr converts a portid object to direct route.

Signed-off-by: Amir Nir <anir@nvidia.com>
…brics.

ibportstate now checks if source CA is a planarized CA, and if so,
uses direct route only. if the destination's direct route isn't given as
argument, ibportstate will perform a fabric discovery to determine the
direct route to the destination.

Signed-off-by: Amir Nir <anir@nvidia.com>
@anir-nvidia anir-nvidia marked this pull request as ready for review October 23, 2023 06:29
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants