ice_set_pfe_link(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, welcome to the ice driver's VF corner of the kernel, where we set link speed and status on a virtchnl_pf_event and honestly? it's giving "small function, big responsibilities" energy. no cap. 🫢


✨ NAME ✨

ice_set_pfe_link β€” sets the link speed/status of the virtchnl_pf_event. literally that's the whole gig, and it ate. πŸ”₯


πŸŽ€ SYNOPSIS πŸŽ€

void ice_set_pfe_link (struct ice_vf *vf , struct virtchnl_pf_event *pfe
, int ice_link_speed , bool link_up );

it returns void btw, so don't come looking for a return value, she doesn't have one πŸ’€


🌸 ARGUMENTS 🌸

  • vf β€” pointer to the VF structure. yep, the virtual function herself πŸ‘‘
  • pfe β€” pointer to the virtchnl_pf_event you're setting link speed/status for. this is the main character of the whole operation ngl
  • ice_link_speed β€” the link speed, which is specified by ICE_AQ_LINK_SPEED_* (iykyk, those are the macros you want) ⚑
  • link_up β€” whether or not to set the link up/down. like, a bool. on or off. up or down. simple as that, periodt πŸ¦‹

⭐ SEE ALSO ⭐

the kernel file in question, bestie:

  • Kernel file ./drivers/net/ethernet/intel/ice/virt/virtchnl.c

and now the whole friend group, in order, no skips, no cuts πŸ’–:

like. that is a lot of friends. she's popular, what can I say 🌈


okay that's the whole page bestie, go forth and set those links πŸ’œ

this iconic lil page came from source ./drivers/net/ethernet/intel/i... and it's dated October 2026 β€” so yeah, she's from the future, we don't ask questions 🧚✨ and the page name is ice_set_pfe_link(9), in case you forgot already πŸ™ˆ

πŸ“¦ where this page comes from