OCE(4)
π OCE(4) π
okay bestie, buckle up, because today we're talking about oce β the device driver for Emulex OneConnect 10Gb network adapters, straight out of the Kernel Interfaces Manual. yes it's giving very "niche network hardware" of it, but honestly? iconic. let's go π¦
β¨ NAME β¨
oce β the device driver for Emulex OneConnect 10Gb network adapters. that's it, that's the girl π
πΈ SYNOPSIS πΈ
so if you want this driver baked directly into your kernel (no cap, main character energy), you drop these lines into your kernel configuration file:
device pci
device oce
or, if you're more of a "load it as a module at boot time" kinda girlie, you put this single line into loader.conf(5):
if_oce_load="YES"
both are valid, both are slay, pick your fighter π
π DESCRIPTION π
okay so here's the tea. Emulex OneConnect adapters come in various skews and with different combinations of NIC, FCoE and iSCSI functions. and the oce driver? it claims the NIC functions in all of these adapters. every single one. obsessed π«Ά
and it's not just showing up and looking pretty β the oce driver supports a whole roster of features:
- 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
like?? that's a full resume. ate and left no crumbs π₯
π HARDWARE π
the oce driver supports these network adapters, periodt:
- Emulex BladeEngine 2
- Emulex BladeEngine 3
- Emulex Lancer
if yours is on this list, congrats, you're in π
π§ UPDATING FIRMWARE π§
important bestie: adapter firmware updates are persistent. this is not a temporary vibe. once it's flashed, it stays flashed. π
you can update firmware by following these steps, in order, no skipping:
- copy the below code to a
Makefile:
KMOD=elxflash
FIRMWS=imagename.ufi:elxflash
.include <bsd.kmod.mk>
- replace
imagenamein the above with the UFI file name βοΈ - copy the
Makefileand the UFI file to a directory π - execute
make& copy the generatedelxflash.koto/lib/modulesπ οΈ - run
sysctl dev.oce.<if_id>.fw_upgrade=elxflashποΈ - reboot the machine π
and if something goes sideways with the supplied UFI, the flashing fails with one of these errors:
- "Invalid BE3 firmware image"
- "Invalid Cookie. Firmware image corrupted ?"
- "cmd to write to flash rom failed."
π yeah, if you see one of those three, the flash did not eat. it's giving corrupted cookie. try again with a good UFI.
π SUPPORT π
need general information or support? the Emulex website is right here:
or you can E-Mail them at:
freebsd-drivers@emulex.com
go get your answers, bestie, they're literally waiting π
π SEE ALSO π
π« AUTHORS π«
the oce driver was written by freebsd-drivers@emulex.com. iconic of them, honestly. thank you for your service π«‘β¨
and that's the whole page, bestie!! this one shipped out from Debian and it's dated February 19, 2012 β so yes, she's a vintage queen ππ go forth and network at 10 gigs, mwah π
π¦ where this page comes from
- debian bookworm: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- debian trixie: freebsd-manpages 12.2-2 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu jammy: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu noble: freebsd-manpages 12.2-1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu questing: freebsd-manpages 12.2-2
- ubuntu resolute: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- ubuntu stonking: freebsd-manpages 12.2-2build1 Β· BSD-2-Clause-FreeBSD AND BSD-4-Clause
- Copyright (C) 2013 Emulex
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms