The function ring_next_sw() used by torus-2QoS to build LFTs relies
on the ordering convention that the 1 end of a link is in the
positive coordinate direction WRT the 0 end.  Previously the links
were always built this way, but nothing enforced the convention.

This commit adds code to enforce the convention, including code
needed to label switches as they are installed into the torus,
rather than after all the torus switches are found.

Signed-off-by: Jim Schutt <jasc...@sandia.gov>
---

I've attached the patch as a compressed file, as otherwise
it is too large to make it through the list.

-- Jim

 opensm/opensm/osm_ucast_torus.c |  433 +++++++++++++++++++++------------------
 1 files changed, 237 insertions(+), 196 deletions(-)


Attachment: 0005-opensm-Enforce-torus-2QoS-link-ordering-convention.patch.bz2
Description: application/bzip

Reply via email to