STGE(4)

πŸ’– STGE(4) β€” the Sundance/Tamarack TC9021 Gigabit Ethernet adapter driver πŸ’–

okay bestie, sit down, because we're talking about stge β€” the kernel interfaces manual page for the Sundance/Tamarack TC9021 Gigabit Ethernet adapter driver. yes it's a network driver. yes it's iconic. let's go πŸ¦‹


✨ SYNOPSIS ✨

so you wanna compile this driver straight into the kernel? respectfully, add these lines to your kernel configuration file:

device miibus
device stge

orrrr, if you'd rather load it as a module at boot time (main character move tbh), drop this line into loader.conf(5):

if_stge_load="YES"

🌸 DESCRIPTION 🌸

The stge device driver provides support for various NICs based on the Sundance/Tamarack TC9021 Gigabit Ethernet controller chip. that's the whole vibe.

The Sundance/Tamarack TC9021 is found on the D-Link DGE-550T and the Antares Microsystems Gigabit Ethernet board. it uses an external PHY or an external 10-bit interface. lowkey versatile.

All NICs supported by the stge driver have:

  • TCP/UDP/IP checksum offload for both receive and transmit
  • hardware VLAN tag stripping/insertion features
  • a receive interrupt moderation mechanism
  • a 64-bit multicast hash filter

The Sundance/Tamarack TC9021 supports TBI (ten bit interface) and GMII transceivers, which means it can be used with either copper or 1000baseX fiber applications. it's giving range, periodt πŸ’…

The Sundance/Tamarack TC9021 also supports jumbo frames, which can be configured 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 packets, big energy ✨

The stge driver supports the following media types:

  • autoselect β€” Enable 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 β€” Set 10Mbps operation. The ifconfig(8) mediaopt option can also be used to select either full-duplex or half-duplex modes.
  • 100baseTX β€” Set 100Mbps (Fast Ethernet) operation. The ifconfig(8) mediaopt option can also be used to select either full-duplex or half-duplex modes.
  • 1000baseTX β€” Set 1000baseTX operation over twisted pair. The Sundance/Tamarack supports 1000Mbps in autoselect mode only. (yeah, autoselect only, don't fight it 🫢)

The stge driver supports the following media options:

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

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


πŸ‘‘ HARDWARE πŸ‘‘

The stge driver provides support for various NICs based on the Sundance/Tamarack TC9021 based Gigabit Ethernet controller chips, including:

  • Antares Microsystems Gigabit Ethernet
  • ASUS NX1101 Gigabit Ethernet
  • D-Link DL-4000 Gigabit Ethernet
  • IC Plus IP1000A Gigabit Ethernet
  • Sundance ST-2021 Gigabit Ethernet
  • Sundance ST-2023 Gigabit Ethernet
  • Sundance TC9021 Gigabit Ethernet
  • Tamarack TC9021 Gigabit Ethernet

look at that lineup. a whole squad 🌈


πŸŽ€ SYSCTL VARIABLES πŸŽ€

The following variables are available as both sysctl(8) variables and loader(8) tunables:

  • dev.stge.%d.rxint_nframe β€” Number of frames between RxDMAComplete interrupts. The accepted range is 1 to 255, default value is 8 frames. The interface has to be brought down and up again before a change takes effect.
  • dev.stge.%d.rxint_dmawait β€” Maximum amount of time to wait in 1us increments before issuing an Rx interrupt if the number of frames received is less than rxint_nframe. The accepted range is 0 to 4194, default value is 30 microseconds. The interface has to be brought down and up again before a change takes effect.
⚠️ bestie listen β€” both of these need the interface brought down and back up before your change actually does anything. no shortcuts. down, then up, then celebrate. πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

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


πŸ¦‹ HISTORY πŸ¦‹

The stge driver was ported from NetBSD and first appeared in FreeBSD 6.2. The NetBSD version was written by Jason R. Thorpe <thorpej@NetBSD.org>. a legend fr fr πŸ™Œ


πŸ’œ AUTHORS πŸ’œ

The stge driver was ported by Pyun YongHyeon <yongari@FreeBSD.org>. thank you for your service 🫑


okay that's the whole page, you're officially educated πŸ’… and before you go β€” this little beauty came from the Debian crew, dated November 23, 2010. iconic date, iconic driver, iconic you for reading all of it. mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from