AGE(4)

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

πŸ’– NAME πŸ’–

okay so bestie, age is literally the Attansic/Atheros L1 Gigabit Ethernet driver β€” that's its whole government name πŸ’…. This is age(4) from the Kernel Interfaces Manual, and we are about to get into it, no cap.


✨ SYNOPSIS ✨

so if you wanna compile this driver directly into the kernel, you gotta put these lines in your kernel configuration file, periodt:

device miibus
device age

or, alternative route, if you'd rather load the driver as a module at boot time, put this line in loader.conf(5):

if_age_load="YES"

slay either way 🫢


πŸ¦‹ DESCRIPTION πŸ¦‹

the age device driver provides support for Attansic/Atheros L1 PCI Express Gigabit Ethernet controllers β€” yes, PCI Express, we love a glow-up πŸ’–.

all LOMs supported by the age driver have TCP/UDP/IP checksum offload for both transmit and receive, TCP segmentation offload (TSO), hardware VLAN tag stripping/insertion features, an interrupt moderation mechanism, and a 64-bit multicast hash filter. it's giving fully loaded, honestly πŸ˜­πŸ’….

the L1 also supports Jumbo Frames (up to 10240 bytes), which you can configure via the interface MTU setting. selecting an MTU larger than 1500 bytes with the ifconfig(8) utility configures the adapter to receive and transmit Jumbo Frames. big frames, big energy ✨.

the age driver supports the following media types:

  • autoselect β€” enables autoselection of the media type and options. the user can manually override the autoselected mode by adding media options to rc.conf(5) πŸ‘€.
  • 10baseT/UTP β€” sets 10Mbps operation.
  • 100baseTX β€” sets 100Mbps (Fast Ethernet) operation.
  • 1000baseTX β€” sets 1000baseTX operation over twisted pair.

the age driver supports the following media options:

  • full-duplex β€” forces full duplex operation.
  • half-duplex β€” forces half duplex operation.

for more information on configuring this device, see ifconfig(8) 🫢.


🌸 HARDWARE 🌸

the age driver provides support for LOMs based on Attansic/Atheros L1 Gigabit Ethernet controller chips, including:

  • ASUS M2N8-VMX
  • ASUS M2V
  • ASUS M3A
  • ASUS P2-M2A590G
  • ASUS P5B-E
  • ASUS P5B-MX/WIFI-AP
  • ASUS P5B-VMSE
  • ASUS P5K
  • ASUS P5KC
  • ASUS P5KPL-C
  • ASUS P5KPL-VM
  • ASUS P5K-SE
  • ASUS P5K-V
  • ASUS P5L-MX
  • ASUS P5DL2-VM
  • ASUS P5L-VM 1394
  • ASUS G2S

like, that's the whole roster bestie. iconic lineup tbh πŸ‘‘.


πŸŽ€ LOADER TUNABLES πŸŽ€

tunables can be set at the loader(8) prompt before booting the kernel, or stored in loader.conf(5) β€” pick your fighter πŸ’….

  • hw.age.msi_disable β€” this tunable disables MSI support on the Ethernet hardware. the default value is 0.
  • hw.age.msix_disable β€” this tunable disables MSI-X support on the Ethernet hardware. the default value is 0.

🧚 SYSCTL VARIABLES 🧚

the following variables are available as both sysctl(8) variables and loader(8) tunables β€” dual threat, we love to see it ✨:

  • dev.age.%d.int_mod β€” maximum amount of time to delay interrupt processing, in units of 2us. the accepted range is 0 to 65000, the default is 50 (100us). value 0 completely disables the interrupt moderation.
lowkey if you set it to 0 you're turning interrupt moderation all the way off β€” just so you know πŸ‘€πŸ’€.
  • dev.age.%d.process_limit β€” maximum number of Rx events to be processed in the event loop before rescheduling a taskqueue. the accepted range is 30 to 255, the default value is 128 events. the interface does not need to be brought down and up again before a change takes effect β€” convenient, honestly 🫢.
  • dev.age.%d.stats β€” displays lots of useful MAC counters maintained in the driver. stats girlies rise 🌈.

πŸ”₯ SEE ALSO πŸ”₯

altq(4), arp(4), miibus(4), netintro(4), ng_ether(4), vlan(4), ifconfig(8)

go read those too, bestie, iykyk πŸ’œ.


πŸ‘‘ HISTORY πŸ‘‘

the age driver was written by Pyun YongHyeon <yongari@FreeBSD.org>. it first appeared in FreeBSD 7.1. a legend, fr fr ⭐.


and that's the whole page, bestie πŸŽ€πŸ’– this little beauty comes from the Debian build, dated September 18, 2008, and the page version is literally AGE(4) β€” okay bye, slay, happy networking πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from