ENUM RTRS_MSG_FLAGS(9)
β¨ enum rtrs_msg_flags(9) β¨
okay bestie, welcome to the kernel API manual for enum rtrs_msg_flags β that's the RTRS message flags, and yes it's a 9, that's the section, we love that for us π
πΈ NAME πΈ
enum rtrs_msg_flags β literally just: RTRS message flags. That's it. That's the whole name. Short, sweet, iconic π
π¦ SYNOPSIS π¦
here's the shape of the enum, copy it exactly, don't be weird about it:
enum rtrs_msg_flags {
RTRS_MSG_NEED_INVAL_F ,
RTRS_MSG_NEW_RKEY_F
};
(no cap, there's a lil space before that comma in the source and we are not touching it β respect the original π)
π Constants π
two constants, both absolute main characters, let's meet them π«Ά
RTRS_MSG_NEED_INVAL_Fβ says "send invalidation in response." that's the whole vibe: invalidation goes out in the response. periodt β¨RTRS_MSG_NEW_RKEY_Fβ says "send refreshed rkey in response." so like, a freshly refreshed rkey, in the response. slay π₯
π SEE ALSO π
go touch some other pages too, iykyk:
- Kernel file
./drivers/infiniband/ulp/rtrs/rtrs-pri.henumrtrs_msg_types(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)
like, that's the whole friend group right there π
mwah, that's the page! this lil masterpiece lives in ./drivers/infiniband/ulp/rtrs and it's stamped October 2026 β screenshot it, frame it, cite it in your next patch πππ§
π¦ 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