OCE(4)
π OCE(4) β like, the whole vibe check
okay bestie, welcome to the OCE(4) page β that's the Kernel Interfaces Manual section 4, the driver corner of the universe π¦ buckle up, this one's about 10Gb network adapters and honestly? iconic.
β¨ NAME β¨
oce β the device driver for Emulex OneConnect 10Gb network adapters π yes that's the whole name section, she's short and she knows it.
πΈ SYNOPSIS πΈ
so like, you got two ways to get this driver into your life: baked into the kernel, or as a module at boot. pick your fighter π
compiling it into the kernel
drop these lines into your kernel configuration file, no cap:
device pci
device oce
orβ¦ module life π§
alternatively (love an alternatively), to load the driver as a module at boot time, put this line in loader.conf(5):
if_oce_load="YES"
π₯ DESCRIPTION π₯
so the tea is: Emulex OneConnect adapters come in various skews and with different combinations of NIC, FCoE and iSCSI functions β like a whole little family with different hobbies. and the oce driver? it claims the NIC functions in all these adapters. just the NIC ones. that's her lane and she's thriving π
here's what oce supports, and honestly the list ate:
- 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)
- MSI-X interrupts
it's giving overachiever and we love that for her π
π HARDWARE π
the oce driver supports these network adapters, periodt:
- Emulex BladeEngine 2
- Emulex BladeEngine 3
- Emulex Lancer
β UPDATING FIRMWARE β
okay important thing first: adapter firmware updates are persistent. like, they stick around. no take-backsies π«Ά
firmware can be updated by following the steps below β yes there are six, yes you can do it:
- copy the below code to a
Makefile:
KMOD=elxflash
FIRMWS=imagename.ufi:elxflash
.include <bsd.kmod.mk>
- replace
imagenamein above with UFI file name - copy
Makefileand UFI file to a directory - execute
make& copy generatedelxflash.koto/lib/modules sysctl dev.oce.<if_id>.fw_upgrade=elxflash- reboot the machine
and likeβ¦ sometimes things just don't go your way π in case of issues with supplied UFI, flashing fails with one of the following errors:
"Invalid BE3 firmware image""Invalid Cookie. Firmware image corrupted ?""cmd to write to flash rom failed."
π if you see one of those three, it's the UFI's fault, not yours. breathe. go check your image.
π SUPPORT π
for general information and support, go to the Emulex website at: http://www.Emulex.com/ or E-Mail at freebsd-drivers@emulex.com. they're literally there for you, bestie π
π¦ SEE ALSO π¦
π AUTHORS π
the oce driver was written by freebsd-drivers@emulex.com. main character energy fr fr π
and that's the whole page, you made it πΈ this beautiful little artifact is from Debian, dated January 27, 2025, and it lives as OCE(4) β mwah, go forth and network responsibly π
β¨π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (C) 2013 Emulex
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms