xref: /titanic_50/usr/src/man/man7d/myri10ge.7d (revision 538aa54d819fa7751ca82bcc30d4ed8c57ec2ef2)
te
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]
MYRI10GE 7D "Sep 10, 2009"
NAME
myri10ge - Myricom Myri10GE 10Gb PCI Express NIC Driver
SYNOPSIS

/dev/myri10ge*
DESCRIPTION

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.

"Application Programming Interface"

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.

Broadcast address value is the Ethernet/IEEE broad- cast address (FF:FF:FF:FF:FF:FF).

Once in the DL_ATTACHED state, you must send a DL_BIND_REQ to associate a particular SAP with the stream.

"Configuration"

Link speed and mode can only be 10000 Mbps full-duplex. See the IEEE 802.3 Standard for more information.

FILES
/dev/myri10ge*

Special character device.

/kernel/drv/myri10ge

32-bit device driver (x86)

/kernel/drv/amd64/myri10ge

64-bit device driver (x86)

/kernel/drv/sparcv9/myri10ge

64-bit device driver (SPARC)

/kernel/drv/myri10ge.conf

Configuration file

ATTRIBUTES

See attributes(5) for a description of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Architecture SPARC, x86
Interface Stability Committed
SEE ALSO

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