ENUM RDMA_CH_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to enum rdma_ch_state(9) from the Kernel API Manual β€” this is literally the SRP channel state enum, and yes it's giving main-character energy. πŸ’…

✨ SYNOPSIS ✨

enum rdma_ch_state {
    CH_CONNECTING ,
    CH_LIVE ,
    CH_DISCONNECTING ,
    CH_DRAINING ,
    CH_DISCONNECTED

};

πŸŽ€ Constants πŸŽ€

here's the whole squad, no skips, no vibes lost:

  • CH_CONNECTING β€” QP is in RTR state; waiting for RTU.
  • CH_LIVE β€” QP is in RTS state.
  • CH_DISCONNECTING β€” DREQ has been sent and waiting for DREP or DREQ has been received.
  • CH_DRAINING β€” DREP has been received or waiting for DREP timed out and last work request has been queued.
  • CH_DISCONNECTED β€” Last completion has been received.

🌈 SEE ALSO 🌈

go look at these too, iykyk:

  • Kernel file ./drivers/infiniband/ulp/srpt/ib_srpt.h enum srpt_command_state(9), struct srpt_ioctx(9), struct srpt_recv_ioctx(9), struct srpt_send_ioctx(9), struct srpt_rdma_ch(9), struct srpt_nexus(9), struct srpt_port_attrib(9), struct srpt_tpg(9), struct srpt_port_id(9), struct srpt_port(9), struct srpt_device(9)

mwah πŸ’‹ β€” sent from ./drivers/infiniband/ulp/srpt, dated October 2026, and yes bestie the page is literally enum rdma_ch_state(9). 🫢

πŸ“¦ where this page comes from