Go to main content

man pages section 7: Device and Network Interfaces

Exit Print View

Updated: July 2017
 
 

cxge(7D)

Name

cxge - Chelsio 10 Gigabit Ethernet Driver

Synopsis

/dev/cxge*

Description

The cxge 10 Gigabit Ethernet driver is a multi-threaded, loadable, clonable, GLD-based, STREAMS driver that supports the Data Link Provider Interface, dlpi(7P) , 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(1M) command line utility. dladm allows VLANs to be defined on top of cxge instances and for cxge 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 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 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.

Configuration

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

Files

/dev/cxge*

Special character device

/kernel/drv/amd64/cxge

64-bit function driver (x86)

/kernel/drv/sparcv9/cxgen

64-bit nexus driver (x86)

/kernel/drv/sparcv9/cxge

64-bit function driver (SPARC)

/kernel/drv/sparcv9/cxgen

64-bit nexus driver (SPARC)

/kernel/drv/cxgen.conf

Configuration file

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Architecture
SPARC, x86
Availability
driver/network/ethernet/cxge
Interface Stability
Committed

See Also

dladm(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