dpmac_get_attributes(9)
π dpmac_get_attributes(9) β Kernel API Manual
okay so bestie, welcome to dpmac_get_attributes, a little section-9 kernel API page. it's giving "please just hand me the attributes of this DPMAC object" energy and honestly? iconic. let's get into it.
β¨ NAME β¨
dpmac_get_attributes β Retrieve DPMAC attributes.
like literally, that's the whole job. you ask, it retrieves. slay.
πΈ SYNOPSIS πΈ
int dpmac_get_attributes (struct fsl_mc_io *mc_io , u32 cmd_flags , u16
token , struct dpmac_attr *attr );
that's the signature, exactly as written, no cap. four args, one int coming back at you. π«Ά
π ARGUMENTS π
every single one, bestie, in order:
mc_ioβ pointer to the MC portal's I/O object. this is your main character portal, the one doing the talking. β¨cmd_flagsβ command flags; one or more of'MC_CMD_FLAG_'. pick your flags, layer 'em up. πtokenβ token of the DPMAC object. it's au16, it identifies who we're talking about. iykyk.attrβ returned object's attributes. this is where the good stuff lands, so have it ready before you call. π
π₯ RETURN π₯
bestie. i need you to know something. the original page has this heading and thenβ¦ nothing. no return values listed, no error codes, no explanation. absolute void. π
so i'm not gonna invent any for you β we don't do made-up facts in this group chat. what the page says is what you get. π
no cap: the section is empty on purpose (or by omission), and we're keeping it that way.
π¦ SEE ALSO π¦
- Kernel file
./drivers/net/ethernet/freescale/dpaa2/dpmac.cβ go read the source, it's right there. dpmac_open(9)dpmac_close(9)dpmac_set_link_state(9)dpmac_get_counter(9)dpmac_get_api_version(9)dpmac_set_protocol(9)dpmac_get_statistics(9)
that's the whole friend group, go say hi to all of them. π
and that's the page, periodt. π this rewrite came from the source at ./drivers/net/ethernet/freesca... and it's dated October 2026 β with dpmac_get_attributes(9) printed right there in the footer. mwah. π
π¦ 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