mcxe(7D) Devices mcxe(7D)NAMEmcxe - Mellanox ConnectX-2 10GbE NIC Driver
SYNOPSIS
/dev/mcxe*
DESCRIPTION
The mcxe 10 Gigabit Ethernet driver is a multi-threaded, loadable,
clonable, GLD-based, STREAMS driver supporting the Data Link Provider
Interface, dlpi(7P), on Mellanox ConnectX-2 10GigE controllers.
The mcxe driver functions include controller initialization, frame
transmit and receive, promiscuous and multicast support.
Application Programming Interface
The cloning character-special device, /dev/mcxe, is used to access all
Mellanox ConnectX-2 10-Gigabit devices installed within the system.
The mcxe driver is managed by the dladm(1M) command line utility. dladm
allows VLANs to be defined on top of mcxe instances and for mcxe
instances to be aggregated. See dladm(1M) for 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 num‐
ber 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:
o Maximum SDU is 9000.
o Minimum SDU is 0.
o DLSAP address length is 8.
o MAC type is DL_ETHER.
o 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.
o Broadcast address value is the Ethernet/IEEE broadcast
address (FF:FF:FF:FF:FF:FF).
o Once in the DL_ATTACHED state, you must send a DL_BIND_REQ
to associate a particular SAP with the stream.
Configuration
The mcxe driver performs auto-negotiation to select the link speed and
mode. Link speed and mode can only be 10000 Mbps full-duplex. See the
IEEE 802.3 Standard for more information.
FILES
/dev/mcxe* Special character device
/kernel/drv/mcxe 32-bit device driver (x86)
/kernel/drv/amd64/mcxe 64-bit device driver (x86)
/kernel/drv/mcxe.conf Configuration file
ATTRIBUTES
See attributes(5) for a description of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ATTRIBUTE TYPE │ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Architecture │x86 │
├─────────────────────────────┼─────────────────────────────┤
│Availability │driver/network/mcxe │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOdladm(1M), netstat(1M), driver.conf(4), attributes(5), dlpi(7P),
streamio(7I)
IEEE 802.3 Standard
Writing Device Drivers
Network Interface Guide
STREAMS Programming Guide
SunOS 5.10 9 Sep 2010 mcxe(7D)