kernel_tid_waiters(9)
okay so this is kernel_tid_waiters(9), and it lives in the Kernel API Manual β welcome to the group chat, bestie π
β¨
π NAME π
kernel_tid_waiters β short version: determine rcd wait. That's the name vibe, no cap.
β¨ SYNOPSIS β¨
bool kernel_tid_waiters (struct hfi1_ctxtdata *rcd , struct tid_queue
*queue , struct rvt_qp *qp );
π ARGUMENTS π
rcdβ the receive context. She's the receive context, okay? πqueueβ the queue to operate on.qpβ the head of the qp being processed. Main-character qp, lowkey.
π¦ DESCRIPTION π¦
Okay so the tea β is: this routine will return false IFF the list is NULL or the head of the list is the indicated qp. That's the exact condition, periodt.
Also, before you even think about it: must hold the qp s_lock and the exp_lock. Like, both. Do not skip the lock vibes, bestie. π
πΈ RETURN πΈ
false if either of these conditions is satisfied:
- The list is empty or
- The indicated
qpis at the head of the list and theHFI1_S_WAIT_TID_SPACEbit is set inqp->s_flags.
true is returned otherwise. Slay. π
π SEE ALSO π
Kernel file ./drivers/infiniband/hw/hfi1/tid_rdma.cTID RDMA READ protocol(9)qp_to_rcd(9)lock ordering(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)
mwah π this iconic page comes from ./drivers/infiniband/hw/hfi1, dated October 2026 β source? iconic. date? iconic. periodt. π«Ά
π¦ 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