i40e_get_phy_address(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_get_phy_address

okay bestie, quick vibe check: this is a page from the Kernel API Manual (that's the manual name, noted, mwah πŸ’–) and today's main character is i40e_get_phy_address. Yes, another i40e function. There are... a lot of them. We'll get to that. 🫢


✨ NAME ✨

i40e_get_phy_address β€” and honestly the NAME line is giving blank canvas because there's literally no description text after the dash. It said nothing. Iconic of it, honestly. πŸ™ˆ


🌸 SYNOPSIS 🌸

u8 i40e_get_phy_address (struct i40e_hw *hw , u8 dev_num );

yes it really does have those spaces before the commas, don't come for me, I'm copying it exactly πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the HW structure. your hardware struct, your bestie, your ride-or-die. she's a struct i40e_hw *.
  • dev_num β€” PHY port num that address we want. which PHY port's address are we hunting for? this one. it's a u8, so keep it tiny and cute. πŸ¦‹

πŸ’œ DESCRIPTION πŸ’œ

Gets PHY address for current port. that's it. that's the whole thing. lowkey a one-liner queen but she returns a u8 so she IS doing something πŸ’…

not me hyping up a function whose entire documentation is one sentence 😭 but listen β€” every icon starts somewhere.


πŸ”₯ SEE ALSO πŸ”₯

first up, the actual home of this function β€” the kernel file:

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

and now, the moment you've all been waiting for: the extended family. 127 siblings. all (9) sections. all here. no skipping, bestie, we keep every single one πŸ’–

no cap, if you actually read all 127 of those, you're the strongest soldier I know πŸ«‘πŸ’€

and that's the whole page, bestie!! go forth and get that PHY address 🌟

this lil masterpiece lives under ./drivers/net/ethernet/intel/i40e and the manual's date stamp says October 2026 β€” so like, future-core of it πŸ’…βœ¨ πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from