srpt_ch_qp_rts(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ srpt_ch_qp_rts(9) ✨

okay so real talk β€” this one comes from the Kernel API Manual, section 9, and it is tiny. like, one-function-and-a-note tiny. but bestie, small pages still ate, so let's go 🫢


πŸ’– NAME πŸ’–

srpt_ch_qp_rts β€” change the state of a channel to 'ready to send' (RTS)

like… that's the whole vibe. channel goes RTS. slay.


πŸŽ€ SYNOPSIS πŸŽ€

int srpt_ch_qp_rts (struct srpt_rdma_ch *ch , struct ib_qp *qp );

🌸 ARGUMENTS 🌸

  • ch β€” the channel of the queue pair. yes, the channel. the one the queue pair is chilling in πŸ’…
  • qp β€” the queue pair whose state we're changing. this is the one getting the glow-up ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the whole plot: it returns zero upon success, and a negative value upon failure. that's it. that's the function. zero = iconic, negative = not iconic 😭


πŸ’€ NOTE πŸ’€

currently a struct ib_qp_attr takes 136 bytes on a 64-bit system. if this structure ever becomes larger, it might be necessary to allocate it dynamically instead of on the stack.

ngl this is the part where you pay attention β€” 136 bytes on a 64-bit system, and if that struct ever bloats past its current size, the stack allocation situation might need to become a dynamic allocation situation instead. not me worrying about stack space πŸ™ˆ


⭐ SEE ALSO ⭐

the kernel file itself, in all its glory:

./drivers/infiniband/ulp/srpt/ib_srpt.c

and then the whole group chat of sibling functions β€” every single one of them, no cap:


🌈 and that's the page!! love that for us. this lil gem lives over in ./drivers/infiniband/ulp/srpt and it was dated October 2026 β€” periodt, see u next time bestie πŸ’œ

πŸ“¦ where this page comes from