ENUM RTRS_MSG_TYPES(9)
π enum rtrs_msg_types(9) π
okay so bestie, we're diving into the Kernel API Manual for enum rtrs_msg_types β section 9, obvs β and it's literally all about the message types that RTRS uses to talk. also check rtrs/README if you want the full lore, iykyk. π«Ά
β¨ SYNOPSIS β¨
enum rtrs_msg_types {
RTRS_MSG_INFO_REQ ,
RTRS_MSG_INFO_RSP ,
RTRS_MSG_WRITE ,
RTRS_MSG_READ ,
RTRS_MSG_RKEY_RSP
};
πΈ Constants πΈ
like, here's the whole cast of characters β main character energy only:
RTRS_MSG_INFO_REQβ client is like "hey server, can u send over some extra info pls??" β it's giving additional info request, fr. πRTRS_MSG_INFO_RSPβ server's turn to respond to the client with that additional info. slay. πRTRS_MSG_WRITEβ client literally writes data to the server via RDMA. iconic behavior. π₯RTRS_MSG_READβ client is requesting a data transfer from the server, no cap. π₯RTRS_MSG_RKEY_RSPβ server sends back a refreshedrkeyfor therbuf. obsessed with this whole handshake tbh. β¨
π SEE ALSO π
kernel file ./drivers/infiniband/ulp/rtrs/rtrs-pri.h enum β go read it bestie, it's in the source tree.
and the whole bestie list of related stuff:
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_read(9)struct rtrs_msg_rdma_write(9)struct rtrs_msg_rdma_hdr(9)
bestie warning: this is anenumdefinition from the kernel's./drivers/infiniband/ulp/rtrsdirectory, dated October 2026. it's not a function you call, it's a vibe you understand. π
kisses, ur favorite kernel girlie β this page came straight from ./drivers/infiniband/ulp/rtrs in the Kernel API Manual, October 2026 edition. go forth and understand those message types, queen. ππ
π¦ 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