All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vangelis Tasoulas <vangelis-S8y2klWGCOFhl2p70BpVqQ@public.gmane.org>
To: Linux RDMA Mailing List
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: When LMC is used who decides which path is used?
Date: Fri, 19 Dec 2014 19:04:43 +0100	[thread overview]
Message-ID: <549468BB.2010303@simula.no> (raw)

[-- Attachment #1: Type: text/plain, Size: 1415 bytes --]

Hello,

When LMC is used, the subnet manager may program alternate paths through
the subnet for these various LIDs.
This is done by the routing algorithm, that programs the LFTs of the
switches to forward different LIDs on different ports.

Assume we have an algorithm that is programming alternative paths, can
someone please explain how will different nodes get to choose different
paths when LMC > 0?

Consider the following example:
Node N1 and node N2 wants to communicate with node N3 and node N3 can be
reached either on LID 6 or LID 7 if LMC=1.
DLID 6 is routed through port 1 (p1) on switch 2 (sw2) and port 1 (p1)
on switch 1 (sw1)
DLID 7 is routed through port 2 (p2) on switch 2 (sw2) and port 2 (p2)
on switch 1 (sw1)

                 -----------
                 |sw1      |
                 |    p1 p2|
                 -----------
                 /  /   \  \
          -----------   -----------
          |sw2 p1 p2|   |      sw3|
          |         |   |         |
          -----------   -----------
             /   /         \
            N1  N2         N3
LIDs:       2   4          6
LIDs:       3   5          7


Which entity (SM, user app etc) is responsible for determine and decide
that node N1 is better to send traffic to DLID 6 and node N2 is better
to send traffic to DLID 7 (so that the two communications use different
paths)?

Vangelis


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

                 reply	other threads:[~2014-12-19 18:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=549468BB.2010303@simula.no \
    --to=vangelis-s8y2klwgcofhl2p70bpvqq@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.