mlxne - Mellanox 100GbE PCI Express NIC Driver
The mlxne driver is a multi-threaded, loadable, clonable, GLD-based STREAMS driver supporting the Data Link Provider Interface, dlpi(4P), on Mellanox ConnectX 100 Gigabit Ethernet and VPI devices.
The mlxne driver functions include device initialization, frame transmit and receive, promiscuous and multicast support, and error recovery and reporting.
The cloning character-special device, /dev/mlxne, is used to access all Mellanox ConnectX 100 Gigabit Ethernet and VPI devices installed within the system.
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 the last detach.
The values returned by the driver in the DL_INFO_ACK primitive in response to DL_INFO_REQ are:
Maximum SDU is 9978.
Minimum SDU is 1500.
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 broadcast 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.
Special character device.
64-bit device driver (x86).
64-bit device driver (SPARC).
See attributes(7) for descriptions of the following attributes: