STRUCT SRPT_RECV_IOCTX(9)
π struct srpt_recv_ioctx(9) β SRPT receive I/O context
okay bestie, welcome to the Kernel API Manual, section 9, and today's main character is struct srpt_recv_ioctx β the SRPT receive I/O context. yes it's a struct. yes it's iconic. let's get into it β¨
πΈ NAME πΈ
struct srpt_recv_ioctx β SRPT receive I/O context. that's it, that's the vibe. it's the little bundle of joy that holds what a receive I/O needs to know about itself π«Ά
β¨ SYNOPSIS β¨
here's the whole thing, copy it exactly, no cap:
struct srpt_recv_ioctx {
struct srpt_ioctx ioctx;
struct list_head wait_list;
int byte_len;
};
three members, all living their best lives inside one struct. slay π
π Members π
π ioctx
See above. literally, that's the whole note β it's the struct srpt_ioctx from up there in the synopsis. look up, bestie π
π¦ wait_list
Node for insertion in srpt_rdma_ch.cmd_wait_list. that's its whole job β it's the little node that gets threaded into the command wait list. a connector. a social butterfly. bridging the gap fr fr π₯
π byte_len
Number of bytes in ioctx.buf. so like, how much stuff is actually sitting in that buffer. that's the number. periodt.
π SEE ALSO π
the whole extended friend group, all of them, in order:
- Kernel file
./drivers/infiniband/ulp/srpt/ib_srpt.henum srpt_command_state(9)struct srpt_ioctx(9)struct srpt_send_ioctx(9)enum rdma_ch_state(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)
yeah, that's a lot of structs. they're all connected. iykyk π§
fr fr don't skip the SEE ALSO list β every single one of those is a real cross-reference and your future self will thank you π
and that's the page! this one comes to you from ./drivers/infiniband/ulp/srpt, dated October 2026, filed under struct srpt_recv_ioctx(9). read it, love it, reference it. bye bestie ππβ¨
π¦ 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