STRUCT SRPT_RECV_IOCTX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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.h enum
  • 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