rtrs_permit_to_clt_con(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rtrs_permit_to_clt_con(9) β€” the Kernel API Manual glow-up

okay so bestie, welcome to section 9 of the kernel API manual, and today's main character is rtrs_permit_to_clt_con. yes it's a long name. yes it's worth it. let's go 🫢


✨ NAME ✨

rtrs_permit_to_clt_con β€” returns the RDMA connection pointer by the permit. that's the whole vibe, no cap πŸ’«


🌸 SYNOPSIS 🌸

struct rtrs_clt_con * rtrs_permit_to_clt_con (struct rtrs_clt_path
*clt_path , struct rtrs_permit *permit );

look at that signature. iconic. she takes two things and gives you back a struct rtrs_clt_con * πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • clt_path β€” the client path pointer. like, the path you're on, queen πŸ‘‘
  • permit β€” the permit for the allocation of the RDMA buffer. it's literally your permission slip for the buffer, iykyk 🎫

πŸ’œ NOTE πŸ’œ

okay this is the part where you pay attention, bestie, because it's giving important:

  • IO connection starts from 1.
  • 0 connection is for user messages.

so like, connection zero is not for your IO, she's for user messages. don't mix them up, fr fr πŸ’€


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file:

  • ./drivers/infiniband/ulp/rtrs/rtrs-clt.c

and the whole friend group, all of them, every single one 🫢:


go read them. all of them. that's the assignment. not me being a nerd, me being correct πŸ’…

and that's the page, bestie! this one came straight out of ./drivers/infiniband/ulp/rtrs and she's dated October 2026. mwah, slay, periodt πŸ’–βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from