ENUM RDMA_CH_STATE(9)
π 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.henum 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
- 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