The oce 10 GBit ethernet adapter driver is a STREAMS based GLD (NIC driver) for 10G Ethernet functions present on the Emulex OneConnect cards.
The oce driver initializes the NIC functions on the chip and implements send/receive of frames. The driver provides stats reporting and error reporting. The driver also supports multicast and promiscuous modes for send/receive, VLANs, lso, etc. The driver supports mtu of 1500 or 9000.
The oce driver also supports the SR-IOV feature. The same driver supports both the PF and VF devices. The maximum number of VFs per PF is 63. This value could be controlled via the sriov_max_vfs parameter in the oce.conf file. In any case, the value cannot be more than 63.
The device can be configured using tools such as dladm or ifconfig.
The mtu can be changed using oce.conf file:
The only valid value for speed/mode is 10 Gbps/full-duplex.
The interfaces created by the oce driver can be configured through ifconfig.
ifconfig oce0 plumb xxx.xxx.xxx.xxx up ifconfig oce0 down unplumb
64-bit ELF kernel module (x86).
64-bit ELF kernel module (SPARC).
Configuration file for oce driver.
See attributes(5) for descriptions of the following attributes:
STREAMS Programming Guide
IEEE 802.3ae Specificiation, IEEE - 2002