Copyright (c) 2007-2009 Myricom, Inc. All Rights Reserved. Use is subject to license terms.
Portions Copyright (c) 2009, Sun Microsystems, Inc. All Rights Reserved
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. 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. 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]
/dev/myri10ge*
The myri10ge Gigabit Ethernet driver is a multi-threaded, loadable, clonable, GLD-based STREAMS driver that supports the Data Link Provider Interface, dlpi(7P), on Myricom Myri10GE 10-Gigabit Ethernet controllers.
The myri10ge driver functions include controller initialization, frame transmit and receive, promiscuous and multicast support, multiple transmit and receive queues, support for TCP Large Send Offload, support for TCP Large Receive Offload, and error recovery and reporting.
The cloning character-special device, /dev/myri10ge, is used to access all Myricom Myri10GE 10 -Gigabit Ethernet dev ices installed within the system.
The myri10ge driver is managed by the dladm(1M) command line utility. dladm allows VLANs to be defined on top of myri10ge instances and for myri10ge instances to be aggregated. See dladm(1M) for more details.
You must send an explicit DL_ATTACH_REQ message to associate the opened stream with a particular device (PPA). The PPA ID is interpreted as an unsigned integer data type and indicates the corresponding device instance (unit) number. The driver returns an error (DL_ERROR_ACK) if the PPA field value does not correspond to a valid device instance number for the system. The device is initialized on first attach and de-initialized (stopped) at last detach.
The values returned by the driver in the DL_INFO_ACK primitive in response to your DL_INFO_REQ are:
Maximum SDU is 9000.
Minimum SDU is 0.
DLSAP address length is 8.
MAC type is DL_ETHER.
SAP (Service Access Point) length value is -2, meaning the physical address component is followed immediately by a 2-byte SAP component within the DLSAP address.
Once in the DL_ATTACHED state, you must send a DL_BIND_REQ to associate a particular SAP with the stream.
Link speed and mode can only be 10000 Mbps full-duplex. See the IEEE 802.3 Standard for more information.
Special character device.
32-bit device driver (x86)
64-bit device driver (x86)
64-bit device driver (SPARC)
Configuration file
See attributes(5) for a description of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Architecture | SPARC, x86 |
Interface Stability | Committed |
dladm(1M), netstat(1M), driver.conf(4), attributes(5), dlpi(7P), streamio(7I)
Writing Device Drivers
Network Interface Guide
STREAMS Programming Guide
IEEE 802.3 Standard