rvt_destroy_qp(9)
π rvt_destroy_qp(9) π
okay so welcome to the rvt_destroy_qp page, bestie β straight out of the Kernel API Manual, no cap. this is a <cyan>9</cyan>-section manpage and it's literally about yeeting a queue pair into the void π«Ά
β¨ NAME β¨
rvt_destroy_qp β destroy a queue pair π
β¨ SYNOPSIS β¨
int rvt_destroy_qp (struct ib_qp *ibqp , struct ib_udata *udata );
β¨ ARGUMENTS β¨
ibqpβ the queue pair you're about to destroy. that's the main character of this whole function, fr fr πudataβ unused by the driver. she's just there. sitting in the function signature. not doing anything. iconic honestly π
β¨ DESCRIPTION β¨
okay so here's the thing that makes this one lowkey spicy πΆοΈ β this can be called while the QP is actively sending or receiving! yes, you read that right. it's not a "wait until it's quiet" situation. nope. the QP can be mid-send, mid-receive, fully in her main character era, and you can still call this. the way that this is absolutely a thing you need to know before you go destroy anything π₯
β οΈ bestie please actually internalize that note β it's the entire vibe of this page. destroying a QP that's actively sending or receiving is a documented, expected scenario here, so don't act surprised when it happens π
β¨ RETURN β¨
0 on success. that's it. that's the whole return value. slay β¨
β¨ SEE ALSO β¨
buckle up bestie, this list is LONG and every single one of these is getting her moment π
- Kernel file
./drivers/infiniband/sw/rdmavt/qp.cβ the whole source file 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)get_allowed_ops(9)free_ud_wq_attr(9)alloc_ud_wq_attr(9)rvt_create_qp(9)rvt_error_qp(9)rvt_modify_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)
go read all of them. yes, all of them. i'll wait π
and that's the page!! π¦ this lil vibe check came to you from ./drivers/infiniband/sw/rdmavt, dated October 2026, and the page is rvt_destroy_qp(9) β mwah, tysm for reading, love u, bye ππ§β¨
π¦ 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