rxe_attach_mcast(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– rxe_attach_mcast(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual, section 9 β€” we're doing kernel-adjacent networking today and honestly? it's giving main character energy ✨


🌸 NAME 🌸

rxe_attach_mcast β€” attaches a qp to a multicast group 🫢 (peep IBA-11.3.1 for the receipts, iykyk)


πŸŽ€ SYNOPSIS πŸŽ€

int rxe_attach_mcast (struct ib_qp *ibqp , union ib_gid *mgid , u16 mlid
);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ibqp β€” the (IB) qp object πŸ’… like, the queue pair we're doing all this for
  • mgid β€” the multicast IP address 🌈
  • mlid β€” the multicast LID. lowkey gets ignored for RoCEv2, no cap (see IBA-A17.5.6 for the lore πŸ‘€)

⭐ RETURN ⭐

0 on success β€” slay πŸ’… β€” otherwise you get an errno 😭 (yeah, something went sideways, bestie)


🧚 SEE ALSO 🧚

Kernel file: ./drivers/infiniband/sw/rxe/rxe_mcast.c β€” literally the whole squad lives here:


🫢 friendly lil reminder: the double-underscore ones are the internal besties, the plain ones are the ones you actually call. the way that convention ate πŸ”₯

okay that's the whole page, periodt πŸ’œ this cutie came from ./drivers/infiniband/sw/rxe and it's dated October 2026 β€” go forth and attach those multicast groups, icon πŸ‘‘βœ¨

πŸ“¦ where this page comes from