irdma_qp_get_next_recv_wqe(9)
π irdma_qp_get_next_recv_wqe(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β yes we're in the kernel, yes it's giving big-brain hours, and yes this page is literally about grabbing the next receive WQE off a QP. pull up a chair, we're doing this π
β¨ NAME β¨
irdma_qp_get_next_recv_wqe β get next qp's rcv wqe π«Ά
(no cap, that's the whole name. it does exactly what the name says. iconic behaviour honestly.)
πΈ SYNOPSIS πΈ
__le64 * irdma_qp_get_next_recv_wqe (struct irdma_qp_uk *qp , u32
*wqe_idx );
so the function takes two things and hands you back a __le64 * β that's your pointer to the wqe, bestie. love that for you π
π¦ ARGUMENTS π¦
qpβ hw qp ptr π« (it's the hardware queue pair pointer, the main character of this entire operation)wqe_idxβ return wqe index π― (this one's a return slot, so the wqe index gets written back out through it, iykyk)
π₯ SEE ALSO π₯
okay this list is long long, but we don't skip, we don't skim, we list every single one because that's the vibe check and we passed:
Kernel file ./drivers/infiniband/hw/irdma/uk.cβ the actual file, go read it, it's right there πirdma_set_fragment(9)irdma_set_fragment_gen_1(9)irdma_nop_1(9)irdma_clr_wqes(9)irdma_uk_qp_post_wr(9)irdma_qp_get_next_send_wqe(9)β the send-side sibling, matching energy π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 of them. forty. and we listed every single one because that's what a real bestie does πβ¨
ngl, if you're here at 3am debugging your receive queue, drink some water and remember: the wqe index goes out through wqe_idx, it's not something you pass in. don't be that girl π
and that's the page!! mwah π before you go β this whole thing lives in ./drivers/infiniband/hw/irdma, it's dated October 2026, and it's page irdma_qp_get_next_recv_wqe(9) of the Kernel API Manual. slay, go post some receive WQEs, you've got this ππβ
π¦ 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