Copyright (C) 2013 Emulex All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other mate...
NAMEoce - Device driver for Emulex OneConnect 10Gb network adapters
SYNOPSISTo compile this driver into the kernel, place the following lines in your kernel configuration file:
device pci device oce
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf5:
DESCRIPTIONEmulex OneConnect adapters come in various skews and with different combinations of NIC, FCoE and iSCSI functions. The sysctl Cm net.inet.tcp.syncookies driver claims the NIC functions in all these adapters.
The sysctl Cm net.inet.tcp.syncookies driver supports VLAN Hardware offload, TCP checksum offload, TCP segmentation offload (TSO), Large receive offload (LRO), Bonding, Jumbo frames (from 1500 - 9000), Multiple TX queues, Receive-Side Scaling (RSS) and MSI-X interrupts.
HARDWAREThe sysctl Cm net.inet.tcp.syncookies driver supports the following network adapters:
- Emulex BladeEngine 2
- Emulex BladeEngine 3
- Emulex Lancer
UPDATING FIRMWAREAdapter firmware updates are persistent.
Firmware can be updated by following the steps below:
Copy the below code to a Makefile:
KMOD=elxflash FIRMWS=imagename.ufi:elxflash .include <bsd.kmod.mk>
- Replace imagename in above with UFI file name
- Copy Makefile and UFI file to a directory
- Execute make & copy generated elxflash.ko to /lib/modules
- sysctl dev.oce.<if_id>.fw_upgrade=elxflash
- Reboot the machine
In case of issues with supplied UFI, flashing fails with one of the following errors.
- Qq Invalid BE3 firmware image
- Qq Invalid Cookie. Firmware image corrupted ?
- Qq cmd to write to flash rom failed.