ENUM DPMAC_ETH_IF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 this enum lives, 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