rxe_attach_mcast(9)
π 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 formgidβ the multicast IP address πmlidβ the multicast LID. lowkey gets ignored for RoCEv2, no cap (seeIBA-A17.5.6for 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:
rxe_mcast_add(9)rxe_mcast_del(9)__rxe_insert_mcg(9)__rxe_remove_mcg(9)__rxe_lookup_mcg(9)rxe_lookup_mcg(9)__rxe_init_mcg(9)__rxe_publish_mcg(9)rxe_get_mcg(9)rxe_cleanup_mcg(9)__rxe_destroy_mcg(9)rxe_destroy_mcg(9)__rxe_init_mca(9)rxe_attach_mcg(9)__rxe_cleanup_mca(9)rxe_detach_mcg(9)rxe_detach_mcast(9)
π«Ά 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms