get_allowed_ops(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 get_allowed_ops β€” Kernel API Manual 🌸

okay so bestie, welcome to the little corner of the kernel manual that explains get_allowed_ops, and honestly? it's giving "small function, big responsibility" energy. it's from the Kernel API Manual, section 9 (that's the kernel devs' club, iykyk πŸ’…).


✨ NAME ✨

get_allowed_ops β€” given a QP type, return the appropriate allowed OP. that's it, that's the whole gig. short queen behavior πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

u8 get_allowed_ops (enum ib_qp_type type );

literally one function, one argument, returns a u8. no cap, that's the whole signature.


πŸŽ€ ARGUMENTS πŸŽ€

  • type β€” a valid, supported, QP type. that's the vibe check: it has to be valid and supported, so don't come at this function with just any old garbage value and expect it to slay. it's enum ib_qp_type, periodt.

πŸ”₯ SEE ALSO πŸ”₯

so the kernel file this whole thing lives in is ./drivers/infiniband/sw/rdmavt/qp.c β€” and bestie, the related-functions list is long. like, main character energy long. here's every single one, no skips, no cuts, we don't gatekeep here 🫢


πŸ’– reminder bestie: type needs to be a valid, supported QP type. the manual says so, and the manual is never gonna set you up like that.

okay and finally, the cute lil' sign-off: this page lives under ./drivers/infiniband/sw/rdmavt, dated October 2026, and it's page get_allowed_ops(9) β€” that's the whole footer, mwah πŸ’‹βœ¨ go forth and check your QP types, queen πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from