irdma_uk_rdma_read(9)
π irdma_uk_rdma_read β bestie's guide to the RDMA read command π
okay so this page is irdma_uk_rdma_read(9) from the Kernel API Manual, and it's literally a whole vibe β it's the rdma read command. that's it, that's the function. short, iconic, does exactly what it says on the tin β¨ ngl it's giving "small but mighty" and i'm obsessed.
β¨ SYNOPSIS β¨
here's the signature, copy it exactly bestie, no typos, we don't do that here:
int irdma_uk_rdma_read (struct irdma_qp_uk *qp , struct
irdma_post_sq_info *info , bool inv_stag , bool post_sq );
four things go in, an int comes out. that's the whole trade, periodt π
π«Ά ARGUMENTS π«Ά
gather round, let's meet the cast π
qpβ hw qp ptr. yeah, that's the hardware queue-pair pointer, your main character of the day. π¦infoβ post sq information. it's the post-send-queue info bundle, the little care package that tells the function what it's actually doing. πinv_stagβ flag for inv_stag. that's the invalidation-stag flag, it's abool, so it's a yes-or-no vibe check. βpost_sqβ flag to post sq. anotherboolβ do we post to the sq or not? lowkey the most important toggle in the room. π₯
no cap, both of those last two are bools, so keep them to true/false energy β no inventing extra values, bestie, that's not the move π
π SEE ALSO π
okay this is the part where the friend group rolls deep β everybody's invited, and i mean everybody. they all live in ./drivers/infiniband/hw/irdma/uk.c (the kernel file, iykyk):
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)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_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, zero skips β we do not leave a single bestie out of the group chat π«ΆπΈ
and that's the whole page, babe. shoutout to the source path ./drivers/infiniband/hw/irdma, dated October 2026, filed under irdma_uk_rdma_read(9) β go read a queue pair, slay, and hydrate ππβ
π¦ 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