i40e_aq_set_phy_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_aq_set_phy_config β€” Kernel API Manual ✨

okay so bestie, welcome to the i40e_aq_set_phy_config(9) page from the Kernel API Manual β€” yes it's a real manual, yes the title is a whole function signature, and yes we're gonna get through it together 🫢


🌸 NAME 🌸

i40e_aq_set_phy_config β€”

and that's genuinely it 😭 the one-line description after the dash is blank in the original. Not me hyping up a page with an empty subtitle. It's giving mysterious. Main character energy with zero backstory, honestly πŸ’€


✨ SYNOPSIS ✨

int i40e_aq_set_phy_config (struct i40e_hw *hw , struct
       i40e_aq_set_phy_config *config , struct i40e_asq_cmd_details
       *cmd_details );

it returns an int, it takes three things, that's the whole vibe πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the hw struct. you know, the hardware one. the struct that knows things πŸ”₯
  • config β€” structure with PHY configuration to be set. this is the actual payload, the little bundle of settings you're handing over πŸ¦‹
  • cmd_details β€” pointer to command details structure or NULL. NULL is a totally valid choice here, ngl, it's giving "optional and unbothered" πŸ’…

🧚 DESCRIPTION 🧚

so what does it do? it sets the various PHY configuration parameters supported on the Port. that's the whole sentence. short, sweet, ate πŸ’…

now here's the part where you gotta pay attention, bestie, because this is the caveat that matters πŸ‘‘ β€” one or more of the Set PHY config parameters may be ignored in an MFP mode, because the PF may not have the privilege to set some of the PHY Config parameters. so like, you can ask, but the hardware might be like "not today" 😭 and how do you find out? this status will be indicated by the command response. so read your response, fr fr, don't assume it worked just because you called it πŸ™ˆ

lowkey important: in MFP mode some of your parameters can just get silently ignored. the command response is the only one who's gonna tell you the truth. vibe check your return status, always ✨

🌈 SEE ALSO 🌈

the social circle is massive β€” this function knows literally everyone in ./drivers/net/ethernet/intel/i40e/i40e_common.c 😭 here's the full guest list, nobody left out, periodt:

like, that's a lot of friends 😭 obsessed with the range honestly πŸ¦‹


πŸ“ one more time for the people in the back: this page's kernel file is ./drivers/net/ethernet/intel/i40e/i40e_common.c. that's where the lore lives.

and that's the page, bestie πŸ’– signed, sealed, and sourced from ./drivers/net/ethernet/intel/i40e, dated October 2026 β€” go set some PHY config params, check your command response, and slay πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from