irdma_clr_wqes(9)
β¨ irdma_clr_wqes β¨
okay so we're in the Kernel API Manual bestie, and today's main character is irdma_clr_wqes β and yeah, it does exactly what it says on the tin π
πΈ NAME πΈ
irdma_clr_wqes β clear next 128 sq entries π
like. it clears. the next 128 sq entries. that's the whole vibe. no cap.
π¦ SYNOPSIS π¦
void irdma_clr_wqes (struct irdma_qp_uk *qp , u32 qp_wqe_idx );
literally that's the whole signature, she's neat, she's tidy, she takes two args and returns void β nothing to hand back, she just does the thing and leaves β¨
π ARGUMENTS π
qpβ hw qp ptr π«Ά (yes, "hw qp ptr", that's the whole description, the kernel devs were feeling minimalist that day and honestly? respect.)qp_wqe_idxβ wqe_idx β (again β extremely short label, extremely iconic energy, we love a low-effort legend)
π SEE ALSO π
kay so this is the part where she name-drops her whole friend group π every single one of these lives in the kernel file ./drivers/infiniband/hw/irdma/uk.c β go say hi:
irdma_set_fragment(9)irdma_set_fragment_gen_1(9)irdma_nop_1(9)irdma_uk_qp_post_wr(9)irdma_qp_get_next_send_wqe(9)irdma_qp_get_next_recv_wqe(9)irdma_uk_rdma_write(9)irdma_uk_atomic_fetch_add(9)irdma_uk_atomic_compare_swap(9)irdma_uk_srq_post_receive(9)irdma_uk_rdma_read(9)irdma_uk_send(9)irdma_set_mw_bind_wqe_gen_1(9)irdma_copy_inline_data_gen_1(9)irdma_inline_data_size_to_quanta_gen_1(9)irdma_set_mw_bind_wqe(9)irdma_copy_inline_data(9)irdma_inline_data_size_to_quanta(9)irdma_uk_inline_rdma_write(9)irdma_uk_inline_send(9)irdma_uk_stag_local_invalidate(9)irdma_uk_post_receive(9)irdma_uk_cq_resize(9)irdma_uk_cq_set_resized_cnt(9)irdma_uk_cq_request_notification(9)irdma_uk_cq_empty(9)irdma_uk_cq_poll_cmpl(9)irdma_round_up_wq(9)irdma_get_wqe_shift(9)irdma_setup_connection_wqes(9)irdma_uk_srq_init(9)irdma_uk_calc_shift_wq(9)irdma_uk_calc_depth_shift_sq(9)irdma_uk_calc_depth_shift_rq(9)irdma_uk_qp_init(9)irdma_uk_cq_init(9)irdma_uk_clean_cq(9)irdma_nop(9)irdma_fragcnt_to_quanta_sq(9)irdma_fragcnt_to_wqesize_rq(9)
forty entries. four-zero. she said "invite everyone" and she MEANT it ππ₯
ngl bestie, that's genuinely the entire page β no options, no env vars, no exit statuses, no warnings, no bugs section. just a function, two args, a pile of friends, and a whole lot of clear-wqe-ing. sometimes the manpage is short and that's the tea π
and that's a wrap, babe π§β¨ this little gem lives over in ./drivers/infiniband/hw/irdma, and she was stamped October 2026 β so go forth, clear those 128 sq entries, 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