rvt_free_all_qps(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ rvt_free_all_qps(9) ✨

okay bestie, welcome to the kernel API manual πŸ’… this one's rvt_free_all_qps, and it lives in the Kernel API Manual, so you know it's the real deal 🌈


🌸 NAME 🌸

rvt_free_all_qps β€” check for QPs still in use

πŸ¦‹ SYNOPSIS πŸ¦‹

unsigned rvt_free_all_qps (struct rvt_dev_info *rdi );

πŸŽ€ ARGUMENTS πŸŽ€

  • rdi β€” the rvt device info structure. that's your whole device's little info card, she's the main character here πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

so like, there should not be any QPs still in use at this point β€” that's the vibe check, and if it fails, something's sus πŸ‘€

this function frees the memory for the table, and then it returns the number of QPs still in use. yep, it tells on them. no cap πŸ“£

πŸ‘‘ SEE ALSO πŸ‘‘

lowkey a whole friend group of functions here, all hanging out in the kernel file ./drivers/infiniband/sw/rdmavt/qp.c 🫢:


ngl that's a long list but every single one of them ate, go read them, iykyk πŸ’€

k bye bestie, that's the whole page πŸŽ€ this little beauty comes from ./drivers/infiniband/sw/rdmavt and it's dated October 2026 β€” periodt, see you in the next manpage βœ¨πŸ’œ

πŸ“¦ where this page comes from