rdma_listen(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– rdma_listen(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this one is rdma_listen, and it's genuinely the main character of the passive-connection era. sit down, hydrate, let's go 🫢


✨ NAME ✨

rdma_listen β€” this is the function the passive side calls when it wants to listen for incoming connection requests. like, it's the one sitting by the phone waiting for somebody to call, no cap πŸ’…


✨ SYNOPSIS ✨

int rdma_listen (struct rdma_cm_id *id , int backlog );

✨ ARGUMENTS ✨

okay so this is lowkey iconic of the original docs: both of these are literally marked -- undescribed --. not me showing up to the group chat with no details 😭 so here's exactly what the page gives us, nothing invented:

  • id β€” -- undescribed --
  • backlog β€” -- undescribed --
fr fr, that's all it says. i'm not gonna make lore up about these parameters just to sound smart 🧚

✨ DESCRIPTION ✨

here's the whole vibe, and it's short and sweet:

Users must have bound the rdma_cm_id to a local address by calling rdma_bind_addr before calling this routine.

that's it. that's the requirement. skip the rdma_bind_addr step and you're not slaying, you're just suffering πŸ’€ so: bind first, then listen. order matters, periodt.


✨ SEE ALSO ✨

go read the kernel file ./include/rdma/rdma_cm.h β€” that's the source of truth bestie 🌸 β€” plus this absolutely stacked friend group of friends:

like, the whole roster. read them all, iykyk πŸ“šβœ¨


okay that's the page!! πŸŽ€ cute little sign-off before you go: this one lives in ./include/rdma, and the date on it is October 2026. go bind your address first, bestie β€” mwah πŸ’‹πŸ‘‘

πŸ“¦ where this page comes from