User Tools

Site Tools




cxge - Chelsio 10 Gigabit Ethernet Driver




The cxge 10 Gigabit Ethernet driver is a multi-threaded, loadable, clonable, GLD-based, STREAMS driver that supports the Data Link Provider Interface, dlpi(4P), on Chelsio cxge 10-Gigabit Ethernet controllers.

The cxge 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, support for fast reboot, power management and error recovery and reporting.

Application Programming Interface
The cloning character-special device, /dev/cxge, is used to access all Chelsio cxge 10-Gigabit Ethernet devices installed within the system.

The cxge driver is managed by the dladm(8) command line utility. dladm allows VLANs to be defined on top of cxge instances and for cxge instances to be aggregated. See dladm(8) 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 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:

oMaximum SDU is 9000.
oMinimum SDU is 0.
oDLSAP address length is 8.
oMAC type is DL_ETHER.
oSAP (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.
oBroadcast address value is the Ethernet/IEEE broadcast address (FF:FF:FF:FF:FF:FF).
oOnce 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


64-bit function driver (x86)


64-bit nexus driver (x86)


64-bit function driver (SPARC)


64-bit nexus driver (SPARC)


Configuration file


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


streamio(4I), dlpi(4P), driver.conf(5), attributes(7), dladm(8), netstat(8)

IEEE 802.3 Standard

Writing Device Drivers in Oracle Solaris 11.4

Network Interface Guide

STREAMS Programming Guide

solaris/cxge.4d.txt · Last modified: 2023/07/19 08:58 by A User Not Logged in