rxe_attach_mcg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the rxe_attach_mcg(9) page from the Kernel API Manual πŸ’… this is the function that attaches a qp to a mcg β€” but only if it’s not already attached. It’s giving β€œadd them to the group chat, but don’t double-add, bestie.” 🫢


πŸŽ€ SYNOPSIS πŸŽ€

the whole signature is right here, copy it exactly, no autocorrect energy:

int rxe_attach_mcg (struct rxe_mcg *mcg , struct rxe_qp *qp );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • mcg β€” the mcg object, literally. That’s the vibe.
  • qp β€” the qp object. Yep, that one. πŸŽ€

🫢 CONTEXT 🫢

Vibe check before you call this: the caller must hold reference on qp and mcg. Both of them. No cap. πŸ’€


πŸ’– RETURN πŸ’–

It returns 0 on success, else an error. That’s it, periodt. ✨


🌈 SEE ALSO 🌈

Kernel file: ./drivers/infiniband/sw/rxe/rxe_mcast.c

The whole squad is 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_cleanup_mca(9), rxe_detach_mcg(9), rxe_attach_mcast(9), rxe_detach_mcast(9).


byeee bestie πŸ’… this page’s source/version is ./drivers/infiniband/sw/rxe and its date is October 2026. slay. πŸŽ€

πŸ“¦ where this page comes from