i40e_aq_get_...register_ext(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_aq_get_...register_ext πŸ’…

okay bestie, welcome to the Kernel API Manual β€” yes, that's the manual name, we're fancy here ✨ and today's main character is i40e_aq_get_phy_register_ext. Buckle up πŸŽ€


🌸 NAME 🌸

i40e_aq_get_phy_register_ext β€”

that's it. that's the whole name section. the manpage literally gave us a dash and dipped 😭 she said "my name is enough, iykyk" πŸ’€ (don't worry, the DESCRIPTION has the actual tea πŸ“)


✨ SYNOPSIS ✨

int i40e_aq_get_phy_register_ext (struct i40e_hw *hw , u8 phy_select ,
u8 dev_addr , bool page_change , bool set_mdio , u8 mdio_num , u32
reg_addr , u32 *reg_val , struct i40e_asq_cmd_details *cmd_details );

look at that signature. nine whole parameters. she's highkey doing the most πŸ‘‘ and every single one is copied exactly, no cap 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the hw struct πŸ–₯️ this is your hardware bestie, you gotta hand her over
  • phy_select β€” pick which phy gets accessed, bestie. choose wisely πŸ’…
  • dev_addr β€” the PHY device address πŸ“‡
  • page_change β€” flag that says whether the phy page should be updated πŸ”„
  • set_mdio β€” use the MDIO I/F number that mdio_num specifies 🎯
  • mdio_num β€” the MDIO I/F number, literally just the number πŸ”’
  • reg_addr β€” the PHY register address πŸ“
  • reg_val β€” the read register value, this is where the result lands 🏁
  • cmd_details β€” pointer to a command details structure, or NULL if you're feeling lowkey πŸ™ˆ

πŸ’– DESCRIPTION πŸ’–

Read the external PHY register. that's the vibe. that's what she does. no extra lore, no side quests, just read the external PHY register and slay ✨πŸ”₯


πŸŽ€ NOTE πŸŽ€

okay so in common cases the MDIO I/F number should not be changed β€” and that's exactly why you may use the simple wrapper i40e_aq_get_phy_register instead 🫢 like, if you don't need the extra chaos, take the short one. she's giving convenience era πŸ’…


🌈 SEE ALSO 🌈

the kernel file, first of all:

  • ./drivers/net/ethernet/intel/i40e/i40e_common.c

and now the friend group 😭 because this list is LONG and she brought EVERYONE:

that's the whole group chat, every single member accounted for, nobody left on read πŸ«ΆπŸ’€


okay that's the page!! huge thanks to the source/version ./drivers/net/ethernet/intel/i40e and mark your calendar for October 2026 πŸ“… because that's the date on this one β€” mwah, love u, bye πŸ’œπŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from