2 .\" Copyright (c) 2008, 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 HXGE 7D "Feb 10, 2007"
8 hxge \- Sun Blade 10 Gigabit Ethernet network driver
18 The \fBhxge\fR Gigabit Ethernet driver is a multi-threaded, loadable, clonable,
19 GLD-based STREAMS driver supporting the Data Link Provider Interface,
20 \fBdlpi\fR(7P), on the Sun Blade Shared 10Gb Ethernet Interface.
23 The Shared PCI-Express 10 Gb networking interface provides network I/O
24 consolidation for up to six Constellation blades, with each blade seeing its
25 own portion of the network interface.
28 The \fBhxge\fR driver functions include chip initialization, frame transmit and
29 receive, flow classification, multicast and promiscuous support and error
30 recovery and reporting in the blade domain.
31 .SH APPLICATION PROGRAMMING INTERFACE
34 The cloning character-special device, \fB/dev/hxge\fR, is used to access Sun
35 Blade Shared 10Gb Ethernet Interface devices installed within the system.
38 The \fBhxge\fR driver is managed by the \fBdladm\fR(1M) command line utility,
39 which allows VLANs to be defined on top of \fBhxge\fR instances and for
40 \fBhxge\fR instances to be aggregated. See \fBdladm\fR(1M) for more details.
43 You must send an explicit DL_ATTACH_REQ message to associate the opened stream
44 with a particular device (PPA). The PPA ID is interpreted as an unsigned
45 integer data type and indicates the corresponding device instance (unit)
46 number. The driver returns an error (DL_ERROR_ACK) if the PPA field value does
47 not correspond to a valid device instance number for the system. The device is
48 initialized on first attach and de-initialized (stopped) at last detach
51 The values returned by the driver in the DL_INFO_ACK primitive in response to a
57 Maximum SDU is 1500 (ETHERMTU - defined in <\fBsys/ethernet.h\fR>).
69 DLSAP address length is 8.
75 MAC type is \fBDL_ETHER\fR.
81 \fBSAP\fR length value is \fI-2\fR, meaning the physical address component is
82 followed immediately by a 2-byte \fBSAP\fR component within the \fBDLSAP\fR
89 Broadcast address value is the Ethernet/IEEE broadcast address
92 Due to the nature of the link address definition for IPoIB, the
93 DL_SET_PHYS_ADDR_REQ DLPI primitive is not supported.
95 In the transmit case for streams that have been put in raw mode via the
96 DLIOCRAW ioctl, the \fBdlpi\fR application must prepend the 20 byte IPoIB
97 destination address to the data it wants to transmit over-the-wire. In the
98 receive case, applications receive the IP/ARP datagram along with the IETF
99 defined 4 byte header.
103 Once in the DL_ATTACHED state, you must send a DL_BIND_REQ to associate a
104 particular Service Access Point (SAP) with the stream.
108 The link speed and mode are fixed at 10 Gbps full-duplex.
111 The default MTU is 1500. To enable jumbo frame support, you configure the
112 \fBhxge\fR driver by defining the accept-jumbo property to 1 in the
113 \fBhxge.conf\fR file. Note that the largest jumbo size is 9178 bytes.
116 The driver may be configured to discard certain classes of traffic. By default,
117 no class of traffic is allowed. You configure the \fBhxge\fR driver by defining
118 the class option property to 0x20000 in \fBhxge.conf\fR to discard the
119 specified class of traffic. For example, the following line in \fBhxge.conf\fR
120 discards all IP Version 4 TCP traffic:
124 class-opt-ipv4-tcp = 0x20000;
130 You can also use the \fBndd\fR(1M) command to configure the \fBhxge\fR driver
131 at runtime to discard any classes of traffic.
134 The \fBhxge\fRdriver supports the self-healing functionality of Solaris OS. By
135 default it is configured to DDI_FM_EREPORT_CAPABLE | DDI_FM_ERRCB_CAPABLE.
136 You configure the \fBhxge\fR driver by defining the fm-capable property in
137 \fBhxge.conf\fR to other capabilities or to 0x0 to disable it entirely.
140 The \fBhxge\fR driver may be configured using the standard \fBifconfig\fR(1M)
144 The \fBhxge\fR driver also reports various hardware and software statistics
145 data. You can view these statistics using the \fBkstat\fR(1M) command.
150 \fB\fB/dev/hxge*\fR\fR
153 Special character device.
159 \fB\fB/kernel/drv/hxge\fR\fR
162 32-bit device driver (x86).
168 \fB\fB/kernel/drv/sparcv9/hxge\fR\fR
171 64-bit device driver (SPARC).
177 \fB\fB/kernel/drv/amd64/hxge\fR\fR
180 64-bit device driver (x86).
186 \fB\fB/kernel/drv/hxge.conf\fR\fR
195 See \fBattributes\fR(5) for descriptions of the following attributes:
203 ATTRIBUTE TYPE ATTRIBUTE VALUE
205 Architecture SPARC, x86
211 \fBdladm\fR(1M), \fBifconfig\fR(1M), \fBkstat\fR(1M), \fBndd\fR(1M),
212 \fBnetstat\fR(1M), \fBdriver.conf\fR(4), \fBattributes\fR(5),
213 \fBstreamio\fR(7I), \fBdlpi\fR(7P)
216 \fIWriting Device Drivers\fR
219 \fISTREAMS Programming Guide\fR
222 \fINetwork Interfaces Programmer's Guide\fR