TID RDMA READ PROTOCOL(9)
π TID RDMA READ protocol β the hfi1 glow-up, but make it a manpage π¦
okay so real talk, this page lives in the Kernel API Manual (section 9, iykyk) and it's literally the blueprint for the TID RDMA READ protocol. no cap, it's iconic. π
πΈ DESCRIPTION πΈ
bestie, picture this: it's an end-to-end protocol at the hfi1 level between two nodes, and its whole main-character move is improving performance by avoiding data copy on the requester side. the way it does that?? it takes a qualified RDMA READ request and converts it into a TID RDMA READ request on the requester side, and after that it handles the request and response completely differently. slay. π
but here's the vibe check β to be qualified, the RDMA READ request should meet all of these, fr fr:
- β¨ The total data length should be greater than
256K; - β¨ The total data length should be a multiple of
4Kpage size; - β¨ Each local scatter-gather entry should be
4Kpage aligned; - β¨ Each local scatter-gather entry should be a multiple of
4Kpage size.
miss a rule? then it's not getting the TID RDMA READ treatment, periodt. it has to check every box. π
π₯ SEE ALSO π₯
the whole squad, in order, no gatekeeping π«Ά β and yes, the kernel file is literally ./drivers/infiniband/hw/hfi1/tid_rdma.c:
qp_to_rcd(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)
π§ sign-off π§
and that's the whole page, bestie!! this lil gem comes to you from ./drivers/infiniband/hw/hfi1 and it's dated October 2026 π go forth and read your RDMA reads the TID way. mwah. βππ
π¦ 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