diff options
author | Patrick McHardy <kaber@trash.net> | 2013-04-17 02:18:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-17 14:18:33 -0400 |
commit | a29a194a15df9840b24c6c383a9a9a1236979db5 (patch) | |
tree | 2ac0866f749d572aaeacc44765c25f3c3c521fb8 /net/tipc/Kconfig | |
parent | 76f5c6f359a18abd3359ad8523cb23fbf58602b7 (diff) |
tipc: add InfiniBand media type
Add InfiniBand media type based on the ethernet media type.
The only real difference is that in case of InfiniBand, we need the entire
20 bytes of space reserved for media addresses, so the TIPC media type ID is
not explicitly stored in the packet payload.
Sample output of tipc-config:
# tipc-config -v -addr -netid -nt=all -p -m -b -n -ls
node address: <10.1.4>
current network id: 4711
Type Lower Upper Port Identity Publication Scope
0 167776257 167776257 <10.1.1:1855512577> 1855512578 cluster
167776260 167776260 <10.1.4:1216454657> 1216454658 zone
1 1 1 <10.1.4:1216479235> 1216479236 node
Ports:
1216479235: bound to {1,1}
1216454657: bound to {0,167776260}
Media:
eth
ib
Bearers:
ib:ib0
Nodes known:
<10.1.1>: up
Link <broadcast-link>
Window:20 packets
RX packets:0 fragments:0/0 bundles:0/0
TX packets:0 fragments:0/0 bundles:0/0
RX naks:0 defs:0 dups:0
TX naks:0 acks:0 dups:0
Congestion bearer:0 link:0 Send queue max:0 avg:0
Link <10.1.4:ib0-10.1.1:ib0>
ACTIVE MTU:2044 Priority:10 Tolerance:1500 ms Window:50 packets
RX packets:80 fragments:0/0 bundles:0/0
TX packets:40 fragments:0/0 bundles:0/0
TX profile sample:22 packets average:54 octets
0-64:100% -256:0% -1024:0% -4096:0% -16384:0% -32768:0% -66000:0%
RX states:410 probes:213 naks:0 defs:0 dups:0
TX states:410 probes:197 naks:0 acks:0 dups:0
Congestion bearer:0 link:0 Send queue max:1 avg:0
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/Kconfig')
-rw-r--r-- | net/tipc/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/net/tipc/Kconfig b/net/tipc/Kconfig index 4f99600a5fed..c890848f9d56 100644 --- a/net/tipc/Kconfig +++ b/net/tipc/Kconfig | |||
@@ -31,3 +31,10 @@ config TIPC_PORTS | |||
31 | 31 | ||
32 | Setting this to a smaller value saves some memory, | 32 | Setting this to a smaller value saves some memory, |
33 | setting it to higher allows for more ports. | 33 | setting it to higher allows for more ports. |
34 | |||
35 | config TIPC_MEDIA_IB | ||
36 | bool "InfiniBand media type support" | ||
37 | depends on TIPC && INFINIBAND_IPOIB | ||
38 | help | ||
39 | Saying Y here will enable support for running TIPC on | ||
40 | IP-over-InfiniBand devices. | ||