xe_gt_sriov...nish_save_vf(9)

๐Ÿ“ฆ version 7.3.1, in nixpkgs unstable

โœจ xe_gt_sriov_pf_control_finish_save_vf โœจ

okay so bestie, welcome to the <pink>Kernel API Manual</pink> ๐Ÿ’– this one's a lil function with a very long name and honestly it's giving "i'm the last step of a saga" energy. it lives in section 9 of the manual, and yes we're gonna get through the whole thing together, no skipping ๐Ÿซถ


๐ŸŒธ NAME ๐ŸŒธ

xe_gt_sriov_pf_control_finish_save_vf โ€” complete a VF migration data save sequence ๐ŸŽ€

like, the final bow on the gift wrap. the "and that's a wrap" moment of the save flow. periodt. ๐Ÿ’…


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

int xe_gt_sriov_pf_control_finish_save_vf (struct xe_gt *gt , unsigned
       int vfid );

that's the whole signature, character for character, no cap. it returns an int, takes a pointer to a struct xe_gt and an unsigned int for the VF id. ๐Ÿงš


๐Ÿ’œ ARGUMENTS ๐Ÿ’œ

  • gt โ€” the xe_gt ๐ŸŒŸ literally the graphics tile we're working with, that's the whole vibe.
  • vfid โ€” the VF identifier ๐Ÿ”ฅ which virtual function we're talking about, bestie. gotta know who we're finishing up for.

๐Ÿ‘‘ DESCRIPTION ๐Ÿ‘‘

so, what does it actually do? this function is for PF only. that's the physical function, the main character of this whole SR-IOV situation โ€” not the VFs themselves, they don't get to call this one ๐Ÿ’€

it's the one that completes a VF migration data save sequence, i.e. the closer, the "last one out, turn off the lights" of the save flow. iconic behavior honestly. โœจ

ngl, "PF only" is a real boundary โ€” don't go calling this from VF-land, it's not for you, and the manpage is very clear about that. ๐Ÿ™ˆ

๐ŸŒˆ RETURN ๐ŸŒˆ

  • 0 โ€” success, we ate, everything's good ๐Ÿ“
  • negative error code โ€” failure ๐Ÿ˜ญ something went sideways, and the negative number is your lil clue about what.

โญ SEE ALSO โญ

buckle up bestie, this list is long and every single one of them matters, so here we go, no skips ๐ŸŽ€


that's the whole page, bestie, every option, every reference, every last (9) ๐Ÿซถ

sign-off time: this page comes from ./drivers/gpu/drm/xe and it's dated October 2026 โ€” so yeah, from the future, slay ๐Ÿ’…๐Ÿ”ฎ hope this helped, ily, go read the state machine pages next ๐ŸŽ€โœจ

๐Ÿ“ฆ where this page comes from