Move everything from /var/adm to /var/log
[unleashed.git] / share / man / man7d / ibd.7d
blobf633e87e1992a50b6fb93d34a7981a860041c53d
1 '\" te
2 .\"  Copyright (c) 2007, Sun Microsystems, Inc.  All Rights Reserved
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH IBD 7D "April 9, 2016"
7 .SH NAME
8 ibd \- Infiniband IPoIB device driver
9 .SH SYNOPSIS
10 .LP
11 .nf
12 \fB/dev/ibd*\fR
13 .fi
15 .SH DESCRIPTION
16 .LP
17 The \fBibd\fR driver implements the IETF IP over Infiniband protocol and
18 provides IPoIB service for all IBA ports present in the system.
19 .sp
20 .LP
21 The \fBibd\fR driver is a multi-threaded, loadable, clonable, STREAMS hardware
22 driver supporting the connectionless Data Link Provider Interface,
23 \fBdlpi\fR(7P)). The \fBibd\fR driver provides basic support for the IBA
24 Unreliable Datagram Queue Pair hardware. Functions include QP initialization,
25 frame transmit and receive, multicast and promiscuous mode support, and
26 statistics reporting.
27 .sp
28 .LP
29 Use the cloning, character-special device \fB/dev/ibd\fR to access all
30 \fBibd\fR devices installed within the system.
31 .sp
32 .LP
33 The \fBibd\fR driver is dependent on GLD, a loadable kernel module that
34 provides the \fBibd\fR driver with the DLPI and STREAMS functionality required
35 of a LAN driver. Except as noted in the Application Programming Interface
36 section of this manpage, see \fBgld\fR(7D) for more details on the primitives
37 supported by the driver. The GLD module is located at
38 \fB/kernel/misc/sparcv9/gld\fR on 64 bit systems and at \fB/kernel/misc/gld\fR
39 on 32 bit systems.
40 .sp
41 .LP
42 The \fBibd\fR driver expects certain configuration of the IBA fabric prior to
43 operation (which also implies the SM must be active and managing the fabric).
44 Specifically, the IBA multicast group representing the IPv4 limited broadcast
45 address 255.255.255.255 (also defined as broadcast-GID in IETF documents) must
46 be created prior to initializing the device. IBA properties (including mtu,
47 qkey and sl) of this group is used by the driver to create any other IBA
48 multicast group as instructed by higher level (IP) software. The driver probes
49 for the existence of this broadcast-GID during \fBattach\fR(9E).
50 .SH APPLICATION PROGRAMMING INTERFACE (DLPI)
51 .LP
52 The values returned by the driver in the DL_INFO_ACK primitive in response to
53 your DL_INFO_REQ are:
54 .RS +4
55 .TP
56 .ie t \(bu
57 .el o
58 Maximum SDU is the MTU associated with the broadcast-GID group, less the 4 byte
59 IPoIB header.
60 .RE
61 .RS +4
62 .TP
63 .ie t \(bu
64 .el o
65 Minimum SDU is 0.
66 .RE
67 .RS +4
68 .TP
69 .ie t \(bu
70 .el o
71 dlsap address length is 22.
72 .RE
73 .RS +4
74 .TP
75 .ie t \(bu
76 .el o
77 MAC type is DL_IB.
78 .RE
79 .RS +4
80 .TP
81 .ie t \(bu
82 .el o
83 The sap length value is -2, meaning the physical address component is followed
84 immediately by a 2-byte sap component within the DLSAP address.
85 .RE
86 .RS +4
87 .TP
88 .ie t \(bu
89 .el o
90 Broadcast address value is the MAC address consisting of the 4 bytes of QPN
91 00:FF:FF:FF prepended to the IBA multicast address of the broadcast-GID.
92 .sp
93 Due to the nature of link address definition for IPoIB, the
94 DL_SET_PHYS_ADDR_REQ DLPI primitive is not supported.
95 .sp
96 In the transmit case for streams that have been put in raw mode via the
97 DLIOCRAW ioctl, the DLPI application must prepend the 20 byte IPoIB destination
98 address to the data it wants to transmit over-the-wire. In the receive case,
99 applications receive the IP/ARP datagram along with the IETF defined 4 byte
100 header.
102 .SH WARNING
104 This section describes warning messages that might be generated by the driver.
105 Please note that while the format of these messages may be modified in future
106 versions, the same general information will be provided.
109 While joining IBA multicast groups corresponding to IP multicast groups as part
110 of multicast promiscuous operations as required by IP multicast routers, or as
111 part of running \fBsnoop\fR(8), it is possible that joins to some multicast
112 groups can fail due to inherent resource constraints in the IBA components. In
113 such cases, warning message similar to the following appear in the system log,
114 indicating the interface on which the failure occurred:
116 .in +2
118 NOTICE: ibd0: Could not get list of IBA multicast groups
119 NOTICE: ibd0: IBA promiscuous mode missed multicast group
120 NOTICE: ibd0: IBA promiscuous mode missed new multicast gid
122 .in -2
126 Also, if the IBA SM indicates that multicast trap support is suspended or
127 unavailable, the system log  contains a message similar to:
129 .in +2
131 NOTICE: ibd0: IBA multicast support degraded due to
132 unavailability of multicast traps
134 .in -2
138 And when the SM indicates trap support is restored:
140 .in +2
142 NOTICE: ibd0: IBA multicast support restored due to
143 availability of multicast traps
145 .in -2
149 Additionally, if the IBA link transitions to an unavailable state (that is, the
150 IBA link state becomes "Down," "Initialize" or "Armed") and then becomes active
151 again, the driver tries to rejoin previously joined groups if required. Failure
152 to rejoin multicast groups will trigger messages like:
154 .in +2
156 NOTICE: ibd0: Failure on port up to rejoin multicast gid
158 .in -2
162 If the corresponding HCA port is in the unavailable state defined above when
163 initializing an ibd interface using \fBifconfig\fR(8), a message is emitted by
164 the driver:
166 .in +2
168 NOTICE: ibd0: Port is not active
170 .in -2
174 Further, as described above, if the broadcast-GID is not found, or the
175 associated MTU is higher than what the HCA port can support, the following
176 messages are printed to the system log:
178 .in +2
180 NOTICE: ibd0: IPoIB broadcast group absent
181 NOTICE: ibd0: IPoIB broadcast group MTU 4096 greater than port's
182 maximum MTU 2048
184 .in -2
188 In all cases of these reported problems when running \fBifconfig\fR(8), it
189 should be checked that IBA cabling is intact, an SM is running on the fabric,
190 and the broadcast-GID with appropriate properties has been created in the IBA
191 partition.
192 .SH CONFIGURATION
194 The IPoIB service comes preconfigured on all HCA ports in the system. To turn
195 the service off, or back on after turning it off, refer to documentation in
196 \fBcfgadm_ib(8)\fR.
197 .SH FILES
198 .ne 2
200 \fB\fB/dev/ibd*\fR\fR
202 .RS 27n
203 special character device
207 .ne 2
209 \fB\fB/kernel/drv/ib.conf\fR\fR
211 .RS 27n
212 configuration file to start IPoIB service
216 .ne 2
218 \fB\fB/kernel/drv/sparcv9/ibd\fR\fR
220 .RS 27n
221 64-bit SPARC device driver
225 .ne 2
227 \fB\fB/kernel/drv/amd64/ibd\fR\fR
229 .RS 27n
230 64-bit x86 device driver
234 .ne 2
236 \fB\fB/kernel/drv/ibd\fR\fR
238 .RS 27n
239 32-bit x86 device driver
242 .SH SEE ALSO
244 \fBcfgadm\fR(8), \fBcfgadm_ib(8)\fR, \fBifconfig\fR(8), \fBsyslogd\fR(8),
245 \fBgld\fR(7D), \fBib\fR(7D), \fBkstat\fR(7D), \fBstreamio\fR(7I),
246 \fBdlpi\fR(7P), \fBattributes\fR(5), \fBattach\fR(9E)
247 .SH NOTES
249 IBD is a GLD-based driver and provides the statistics described by
250 \fBgld\fR(7D). Note that valid received packets not accepted by any stream
251 (long) will increase when IBD transmits broadcast IP packets. This happens
252 because the infiniband hardware copies and loops back the transmitted broadcast
253 packets to the source. These packets are discarded by GLD and are recorded
254 as 'unknowns'.