ENUM RTRS_MSG_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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.h enum rtrs_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