STRUCT RTRS_MSG_RDMA_READ(9)
π struct rtrs_msg_rdma_read(9) π
okay bestie, welcome to the Kernel API Manual entry for struct rtrs_msg_rdma_read β literally the RDMA data transfer request that comes from the client π«Ά no cap, that's the whole vibe of this struct.
β¨ NAME β¨
struct rtrs_msg_rdma_read β the RDMA data transfer request from the client, periodt π
πΈ SYNOPSIS πΈ
here's the whole glow-up, bestie β write it exactly like this:
struct rtrs_msg_rdma_read {
__le16 type;
__le16 usr_len;
__le16 flags;
__le16 sg_cnt;
struct rtrs_sg_desc desc[];
};
look at that little icon π four __le16s and a flexible array, and it's doing the most.
π¦ Members π¦
typeβ this one's alwaysRTRS_MSG_READ, every single time, no exceptions, it's giving main character energy that never changes πusr_lenβ the length of the user payload, i.e. how much user stuff is in here πflagsβ the RTRS message flags, which is anenum rtrs_msg_flagssituation, iykyk β¨sg_cntβ how manydescentries there are, like a headcount for the descriptor squad πdescβ the RDMA buffers where the server can write the result to π these are the spots the server is allowed to drop the results into, and honestly they're slaying
π₯ SEE ALSO π₯
go look at the kernel file ./drivers/infiniband/ulp/rtrs/rtrs-pri.h β that's where the enum lives, bestie, that's the source of truth π
and the whole friend group is here too:
rtrs_msg_types(9)enum rtrs_msg_flags(9)struct rtrs_sg_desc(9)struct rtrs_msg_conn_req(9)struct rtrs_msg_conn_rsp(9)struct rtrs_msg_info_req(9)struct rtrs_msg_info_rsp(9)struct rtrs_msg_rkey_rsp(9)struct rtrs_msg_rdma_write(9)struct rtrs_msg_rdma_hdr(9)
fr fr, that entire list is your reading list. don't skip it π
and that's the page, bestie π sign-off time: this one comes from ./drivers/infiniband/ulp/rtrs, dated October 2026, and yes the page is literally called struct rtrs_msg_rdma_read(9) β we love a self-titled icon βπ
π¦ 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