ENUM DPMAC_ETH_IF(9)
β¨ NAME β¨
Okay so bestie, gather round π β this is the manual page for enum dpmac_eth_if, and it's lowkey just the DPMAC Ethrnet interface. Yes, "Ethrnet." That's the kernel's typo, not mine, and honestly? We're keeping it, we're not fixing it, we don't do that here π. This is a page from the Kernel API Manual, so you know it's giving serious main-character documentation energy π
π¦ SYNOPSIS π¦
Like, the whole enum in all its glory, verbatim, no cap:
enum dpmac_eth_if {
DPMAC_ETH_IF_MII ,
DPMAC_ETH_IF_RMII ,
DPMAC_ETH_IF_SMII ,
DPMAC_ETH_IF_GMII ,
DPMAC_ETH_IF_RGMII ,
DPMAC_ETH_IF_SGMII ,
DPMAC_ETH_IF_QSGMII ,
DPMAC_ETH_IF_XAUI ,
DPMAC_ETH_IF_XFI ,
DPMAC_ETH_IF_CAUI ,
DPMAC_ETH_IF_1000BASEX ,
DPMAC_ETH_IF_USXGMII
};
Behold. Twelve constants. Not eleven, not thirteen. Twelve. The way this enum ate and left no crumbs ππ₯
πΈ Constants πΈ
Every single one of these baddies, in order, with zero skipped π :
DPMAC_ETH_IF_MIIβ this one's the MII interface. Iconic. The OG.DPMAC_ETH_IF_RMIIβ RMII interface. That's the "R" variant, she's here, she's valid π¦DPMAC_ETH_IF_SMIIβ SMII interface. Yes bestie, all three MII-adjacent girlies showed up βDPMAC_ETH_IF_GMIIβ GMII interface. The G is for gorgeous, ngl (jk it's just GMII, don't come for me π)DPMAC_ETH_IF_RGMIIβ RGMII interface. Sibling of GMII, equally slay β¨DPMAC_ETH_IF_SGMIIβ SGMII interface. Honestly this one is doing the most and we love her πDPMAC_ETH_IF_QSGMIIβ QSGMII interface. The Q stands for "queen," obviously πDPMAC_ETH_IF_XAUIβ XAUI interface. X-A-U-I. Say it with your chest π₯DPMAC_ETH_IF_XFIβ XFI interface. Short, mysterious, three letters of pure vibe check πDPMAC_ETH_IF_CAUIβ CAUI interface. Right there in the lineup, thriving πDPMAC_ETH_IF_1000BASEXβ 1000BASEX interface. The only one with digits, and she knows it πDPMAC_ETH_IF_USXGMIIβ USXGMII interface. Final girlie of the enum, closing out the list with a bow π
That's it, that's the constants. Every one of them is literally just an "interface" and that is the entire tea β
π SEE ALSO π
Go read the source, bestie, it's right there in the kernel tree:
- Kernel file
./drivers/net/ethernet/freescale/dpaa2/dpmac.hβ that's where thisenumlives, go stan the header π«Ά enum dpmac_link_type(9)struct dpmac_attr(9)struct dpmac_link_state(9)enum dpmac_counter_id(9)
The whole friend group fr fr π β read them all, you'll be a DPMAC expert by the end of the night π€
No arguments, no options, no exit statuses, no environment variables on this one β just a clean little enum living its best life in a header file. Sometimes that's all you need π§π«
Kept for the archives by ./drivers/net/ethernet/freesca..., and yes the date really says October 2026 β she's from the future, and she came back specifically to tell you about ethernet interfaces ππ¦β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms