get_allowed_ops(9)
πΈ 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'senum 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 π«Ά
init_qpn_table(9)free_qpn_table(9)rvt_driver_qp_init(9)rvt_free_qp_cb(9)rvt_free_all_qps(9)rvt_qp_exit(9)alloc_qpn(9)rvt_clear_mr_refs(9)rvt_swqe_has_lkey(9)rvt_qp_sends_has_lkey(9)rvt_qp_acks_has_lkey(9)rvt_qp_mr_clean(9)rvt_remove_qp(9)rvt_alloc_rq(9)rvt_init_qp(9)_rvt_reset_qp(9)rvt_reset_qp(9)rvt_free_qpn(9)free_ud_wq_attr(9)alloc_ud_wq_attr(9)rvt_create_qp(9)rvt_error_qp(9)rvt_modify_qp(9)rvt_destroy_qp(9)rvt_query_qp(9)rvt_post_recv(9)rvt_qp_valid_operation(9)rvt_qp_is_avail(9)rvt_post_one_wr(9)rvt_post_send(9)rvt_post_srq_recv(9)get_rvt_head(9)rvt_get_rwqe(9)rvt_comm_est(9)rvt_add_rnr_timer(9)rvt_stop_rc_timers(9)rvt_stop_rnr_timer(9)rvt_del_timers_sync(9)rvt_qp_iter_init(9)rvt_qp_iter_next(9)rvt_qp_iter(9)rvt_copy_sge(9)rvt_ruc_loopback(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms