rdma_for_each_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rdma_for_each_port(9) β€” Kernel API Manual πŸ’…

πŸ’– NAME πŸ’–

okay so bestie, rdma_for_each_port is literally the iterate-over-all valid port numbers-of-the-IB-device moment. that's the whole vibe check, no cap. πŸ’«

✨ SYNOPSIS ✨

the call looks exactly like this, character for character:

rdma_for_each_port (device , iter );

πŸŽ€ ARGUMENTS πŸŽ€

  • device β€” the struct ib_device * to iterate over. this is the IB device you're doing your little port tour on 🫢
  • iter β€” the unsigned int to store the port number. it's giving β€œhere's where the port number goes” and honestly? iconic. ✨

πŸ¦‹ SEE ALSO πŸ¦‹

first up, the kernel file ./include/rdma/ib_verbs.h β€” and then the whole reference squad, in order, no skips, fr fr:


okay that's the whole page, bestie β€” source/version ./include/rdma, date October 2026, manual rdma_for_each_port(9). it ate and left no crumbs. byeee! πŸ’–πŸŽ€

πŸ“¦ where this page comes from