ice_get_vf_by_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

Okay so hi bestie!! πŸ’– Welcome to the ice_get_vf_by_id(9) page from the Kernel API Manual β€” yes, the manual name is folded in right here, cute and accounted for. The NAME is ice_get_vf_by_id β€” Get pointer to VF by ID. That's literally the mission: get a pointer to a VF by ID. No cap. ✨

πŸ¦‹ SYNOPSIS πŸ¦‹

struct ice_vf * ice_get_vf_by_id (struct ice_pf *pf , u16 vf_id );

πŸŽ€ ARGUMENTS πŸŽ€

  • pf β€” the PF private structure. That's the private-structure bestie you're passing in. 🫢
  • vf_id β€” the VF ID to locate. Like, the ID you're trying to find in the VF lineup.

πŸ’… DESCRIPTION πŸ’…

This function locates and returns a pointer to the VF structure associated with a given ID. If that ID does not have a valid VF structure associated with it, you get NULL back β€” not a slay, but very important to know. 😭

⚠️ Reference alert, bestie: this function takes a reference to the VF, which must be released by calling ice_put_vf once the caller is finished accessing the VF structure returned. Do not skip the release step. πŸ’…

🌈 SEE ALSO 🌈

Okay the SEE ALSO section is giving full group-chat roll-call energy β€” every single one is invited: πŸ‘‘


And that's the page, bestie! 🫢 Source/version: ./drivers/net/ethernet/intel/ice Β· date: October 2026. Bye, go release that VF reference πŸ’–βœ¨

πŸ“¦ where this page comes from