qp_to_rcd(9)
π qp_to_rcd(9) π
okay so welcome to the Kernel API Manual bestie, today we're reading qp_to_rcd(9) and honestly? it's giving tiny-but-mighty. short function, zero drama, absolute icon. β¨
π NAME π
qp_to_rcd β figure out which receive context a qp is using, no cap π«Ά
πΈ SYNOPSIS πΈ
struct hfi1_ctxtdata * qp_to_rcd (struct rvt_dev_info *rdi , struct
rvt_qp *qp );
literally that's it. that's the whole vibe. returns a struct hfi1_ctxtdata *, takes two args, done. π
π¦ ARGUMENTS π¦
rdiβ the rvt dev struct, aka the device-info situation π§qpβ the qp. the queue pair in question. the main character π
β DESCRIPTION β
so this routine returns the receive context associated with a qp's qpn. that's the whole thing. that's the assignment. it reads the qpn, it hands you back the context, it does not make a whole production out of it. lowkey iconic behavior honestly. π
π₯ RETURN π₯
the context. that's the return. the context. πβ¨
ngl bestie this is the shortest RETURN section maybe ever written, and I respect it enormously.
π SEE ALSO π
okay this is where it gets loud, because the SEE ALSO list is long and every single one of these needs to be here, so buckle up π:
Kernel file ./drivers/infiniband/hw/hfi1/tid_rdma.c TID RDMA READ protocol(9), lock ordering(9), kernel_tid_waiters(9), dequeue_tid_waiter(9), queue_qp_for_tid_wait(9), __trigger_tid_waiter(9), tid_rdma_schedule_tid_wakeup(9), tid_rdma_trigger_resume(9), kern_reserve_flow(9), tid_rdma_find_phys_blocks_4k(9), tid_flush_pages(9), tid_rdma_find_phys_blocks_8k(9), hfi1_kern_exp_rcv_setup(9), hfi1_kern_exp_rcv_free_flows(9), __trdma_clean_swqe(9), hfi1_schedule_tid_send(9)
like... the friend group is HUGE and we love them all for it π«Άπ
mwah, that's the whole page β brought to you by ./drivers/infiniband/hw/hfi1, dated October 2026. go read qp_to_rcd(9) again if you miss it, she's short but she's perfect π
π
π¦ 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