Debian Codegraph @

infiniband-diags/man/common/sec_portselection.rst

raw
1 .. Explanation of local port selection
2
3 Local port Selection
4 --------------------
5
6 Multiple port/Multiple CA support: when no IB device or port is specified
7 (see the "local umad parameters" below), the libibumad library
8 selects the port to use by the following criteria:
9
10 1. the first port that is ACTIVE.
11 2. if not found, the first port that is UP (physical link up).
12
13 If a port and/or CA name is specified, the libibumad library attempts
14 to fulfill the user request, and will fail if it is not possible.
15
16 For example:
17
18 ::
19
20 ibaddr # use the first port (criteria #1 above)
21 ibaddr -C mthca1 # pick the best port from "mthca1" only.
22 ibaddr -P 2 # use the second (active/up) port from the first available IB device.
23 ibaddr -C mthca0 -P 2 # use the specified port only.
24