ENUM DPMAC_LINK_TYPE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the Kernel API Manual page for enum dpmac_link_type and honestly? it's giving "small but mighty." it's a little enum that tells you what kind of link a DPMAC is rocking. that's it, that's the whole vibe. let's get into it ✨


🌸 NAME 🌸

enum dpmac_link_type β€” DPMAC link type πŸ’–

like, the actual type of the link, no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole thing in all its glory, copy-pasted exactly because we do not mess with the source:

enum dpmac_link_type {
    DPMAC_LINK_TYPE_NONE ,
    DPMAC_LINK_TYPE_FIXED ,
    DPMAC_LINK_TYPE_PHY ,
    DPMAC_LINK_TYPE_BACKPLANE

};

look at her. four constants. main character energy, honestly πŸ‘‘


🌈 Constants 🌈

every constant gets her moment, bestie:

  • DPMAC_LINK_TYPE_NONE β€” no link πŸ’€ like, there's nothing there. the void. the "it's not you it's me" of link types.
  • DPMAC_LINK_TYPE_FIXED β€” the link is a fixed type. it's locked in, it's committed, it's not going anywhere 🫢
  • DPMAC_LINK_TYPE_PHY β€” link by PHY ID ⭐ that's the vibe check right there.
  • DPMAC_LINK_TYPE_BACKPLANE β€” backplane link type 🧚 serving backplane realness, we love to see it.

πŸ‘‘ SEE ALSO πŸ‘‘

if you wanna keep scrolling (and you should, iykyk), go check out the kernel file ./drivers/net/ethernet/freescale/dpaa2/dpmac.h and these absolute icons:

  • enum dpmac_eth_if(9)
  • struct dpmac_attr(9)
  • struct dpmac_link_state(9)
  • enum dpmac_counter_id(9)

fr fr, they're all in the same friend group πŸ’…


πŸ“ reminder bestie: the constants and paths above are exactly as they appear in the manual β€” don't go renaming anything, mmkay? πŸ™ˆ

and that's a wrap, gorgeous ✨ this lil page is from ./drivers/net/ethernet/freesca... (yes the filename literally gets cut off like that, she's mysterious), October 2026 edition, enum dpmac_link_type(9). slay, read responsibly, and remember: no link is still a link type πŸ˜­πŸ’–

πŸ“¦ where this page comes from