ENETC(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

πŸ’… enetc(4) β€” the Freescale ENETC PCIe Gigabit Ethernet driver, bestie edition

okay so this is the manual page for enetc, one of those Kernel Interfaces Manual situations, and I'm gonna walk you through it like we're texting at 1am πŸ¦‹


✨ NAME ✨

enetc β€” the Freescale ENETC PCIe Gigabit Ethernet driver. that's it, that's the vibe πŸ’–


🌸 SYNOPSIS 🌸

so to like, actually get this driver baked into your kernel, these lines need to be in the kernel configuration file. no cap, all of them:

options SOC_NXP_LS
device pci
device fdt
device iflib
device enetc

that's the whole recipe, periodt πŸŽ€


πŸ’œ DESCRIPTION πŸ’œ

the enetc driver is the moment for the ENETC Gigabit Ethernet NIC found in the LS1028A SoC β€” it literally provides support for it, that's the whole job ✨

it talks to the rest of the kernel through iflib(9), which is giving very much "middle management but make it iconic" πŸ‘‘

here's the slay part: both physical ports are supported, and the virtual interfaces connected to the internal switch. all of them. not me being generous πŸ’…

the following hardware offloads have been implemented in this version of the driver:

  • Receive IP checksum validation πŸ”
  • VLAN tag insertion and extraction 🏷️
  • VLAN tag based packet filtering 🧚

and if you wanna know how to actually configure this device, go read ifconfig(8) β€” it's literally all in there, iykyk πŸ’–


🌈 SEE ALSO 🌈


⭐ HISTORY ⭐

the enetc driver first appeared in FreeBSD 14.0. like, it's been around, it's established, it ate πŸ’€πŸ”₯


k that's the whole page bestie 🫢 this version came from Debian, dated June 11, 2021 β€” screenshot it, cite it, whatever, just don't come for me if you typo the kernel config πŸ’œ

πŸ“¦ where this page comes from