ib_detach_mcast(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

okay bestie, gather round β€” this is ib_detach_mcast(9) from the Kernel API Manual, and it does exactly what it says on the tin: it detaches the specified QP from a multicast group. that's it. that's the vibe. πŸŽ€


✨ SYNOPSIS ✨

int ib_detach_mcast (struct ib_qp *qp , union ib_gid *gid , u16 lid );

literally the whole signature, no cap. three args, one int, slay.


πŸ¦‹ ARGUMENTS πŸ¦‹

  • qp β€” the QP you're detaching from the multicast group. the main character of this operation, honestly.
  • gid β€” the multicast group GID. it's a union ib_gid *, so pointer energy πŸ’«
  • lid β€” the multicast group LID, and bestie listen β€” this one's in host byte order. not network order. host. write that down 🫢

🌸 SEE ALSO 🌸

the kernel file ./include/rdma/ib_verbs.h is where all this lives, and the cross-refs are giving encyclopaedia. buckle up, we're listing every single one because we don't skip entries in this house πŸ’…

and yeah, ib_attach_mcast(9) is right there in the list β€” the attach to this detach, the prequel, the origin story 😭


ngl bestie, the page keeps it lowkey about return values and error codes β€” the synopsis gives you int and that's all the lore we get. no invented tea on this blog πŸ™ˆ

okay that's the whole page, mwah πŸ’– it shipped from ./include/rdma back in October 2026, and yes β€” you just read ib_detach_mcast(9) cover to cover. go detach something (respectfully). πŸ§šβ€β™€οΈβ­πŸŒˆ

πŸ“¦ where this page comes from