xe_gt_sriov...nfig_get_dbs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ β€” this one's about xe_gt_sriov_pf_config_get_dbs β€” the little function that gets a VF's GuC doorbells IDs quota. that's it, that's the whole vibe πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

u32 xe_gt_sriov_pf_config_get_dbs (struct xe_gt *gt , unsigned int vfid );

like, that's the whole signature. copy it exact, no cap 🫢


🌸 ARGUMENTS 🌸

  • gt β€” the xe_gt πŸšͺ like the actual GT object you're poking at
  • vfid β€” the VF identifier πŸ”’ which VF are we talking about bestie

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” this function can only be called on PF. that's a real rule, not a suggestion, periodt πŸ’€

and if vfid happens to represent a PF, then what comes back is the number of PF's spare GuC doorbells IDs. literally that's it. iconic behavior, no notes ✨


πŸ”₯ RETURN πŸ”₯

you get back the VF's quota β€” or, in the PF case, the PF's spare. whichever one applies, slay πŸ’…


🌈 SEE ALSO 🌈

here's the whole group chat of related functions, all of them, in order, i'm not skipping anyone πŸ‘‘πŸ«Ά


ok that's literally all of them, i counted twice, don't come for me πŸ™ˆ

and that's the page bestie!! πŸ’œ this little beauty lives in ./drivers/gpu/drm/xe and it's dated October 2026 β€” yes, 2026, main character time-travel energy fr fr πŸŒŸπŸ¦‹ stay hydrated, go read your configs, mwah πŸŽ€

πŸ“¦ where this page comes from