free_ud_wq_attr(9)
πΈ free_ud_wq_attr(9) β kernel API manual, bestie edition πΈ
okay so you found a (9) page, that's the kernel API manual section, and this one is literally free_ud_wq_attr π
it's a tiny little cleanup function and honestly? iconic for how small it is.
β¨ NAME β¨
free_ud_wq_attr β clean up that AH attribute cache for UD QPs π§Ήβ¨
π¦ SYNOPSIS π¦
void free_ud_wq_attr (struct rvt_qp *qp );
no cap, that's the whole signature. void return, one pointer argument, done. π
π ARGUMENTS π
qpβ a valid QP withallowed_opsset. that's the whole vibe check for this argument, it's gotta be valid and haveallowed_opsset or we're not doing this π
π DESCRIPTION π
so here's the tea: the rvt_swqe data structure being used is a union, and because of that, this function is only valid for UD QPs. like, only UD. other QP types? not it, don't even try π
lowkey important: this is a union situation, so the "only for UD QPs" thing isn't a suggestion, it's the whole rule. periodt. π₯
π SEE ALSO π
bestie, the cross-reference list here is long and I respect it deeply. all of these live in the kernel file ./drivers/infiniband/sw/rdmavt/qp.c:
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)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)
fr fr, read them all, they're the whole squad π«Ά
and that's the page!! sign-off time: this one comes from ./drivers/infiniband/sw/rdmavt, dated October 2026, and it's page free_ud_wq_attr(9) of the kernel API manual. slay, go free some UD QP attributes π
π¦ 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