srp_destroy_qp(9)
π srp_destroy_qp(9) β a Kernel API Manual moment
okay so bestie, welcome to the srp_destroy_qp(9) glow-up β¨ this one lives in the Kernel API Manual and it's honestly short and sweet β but it's doing something important, so pay attention π«Ά
πΈ NAME πΈ
srp_destroy_qp β destroy an RDMA queue pair πβ¨
β¨ SYNOPSIS β¨
void srp_destroy_qp (struct srp_rdma_ch *ch );
π ARGUMENTS π
chβ the SRP RDMA channel, aka the main character of this whole function π¦
π DESCRIPTION π
okay so here's the vibe: this function drains the qp before destroying it πΏ
and why, you ask? because not doing that would mean the receive completion handler could still be out here touching the queue pair while it's literally being destroyed π and that's giving chaos, not slay. Draining first avoids that whole situation β no cap, it's just good manners honestly π
π₯ SEE ALSO π₯
the whole friend group π«Ά go check them out:
- Kernel file
./drivers/infiniband/ulp/srp/ib_srp.c srp_destroy_fr_pool(9)srp_create_fr_pool(9)srp_fr_pool_get(9)srp_fr_pool_put(9)srp_del_scsi_host_attr(9)srp_connected_ch(9)srp_claim_req(9)srp_free_req(9)srp_map_data(9)srp_post_send(9)srp_tl_err_work(9)srp_change_queue_depth(9)srp_conn_unique(9)srp_parse_in(9)
and that's the whole page, bestie π it comes to you straight from ./drivers/infiniband/ulp/srp, dated October 2026 β so go forth, drain that qp, and slay π§ββοΈππ
π¦ 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