ENUM RTRS_MSG_TYPES(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 refreshed rkey for the rbuf. 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 an enum definition from the kernel's ./drivers/infiniband/ulp/rtrs directory, 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