ENUM DPMAC_LINK_TYPE(9)
π enum dpmac_link_type(9) β the Kernel API Manual glow-up π
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
- 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