rvt_mcast_alloc(9)
π rvt_mcast_alloc(9) β the kernel API manual, but make it make sense π
okay so bestie, welcome to the rvt_mcast_alloc page from the Kernel API Manual β yes it's a section 9 page, yes that means kernel internals, no you don't have to be scared, i got you π«Ά
β¨ NAME β¨
rvt_mcast_alloc β allocate the multicast GID structure. that's it, that's the whole job. she's a one-line icon π
πΈ SYNOPSIS πΈ
struct rvt_mcast * rvt_mcast_alloc (union ib_gid *mgid , u16 lid );
literally the whole signature, copied exactly, no cap π
π¦ ARGUMENTS π¦
mgidβ the multicast GID. this is the what of the whole situation.lidβ the multicast LID, in host order (so no, don't go byte-swapping it, it's already correct, ngl that's the vibe check people fail the most π).
π DESCRIPTION π
a list of QPs is gonna get attached to this structure. like, this struct is literally the main character and the QPs are her group chat β they all get attached to her β¨ periodt.
that's the whole description fr fr. it's a short page, she's lowkey mysterious, we respect that π
π₯ SEE ALSO π₯
- the kernel file
./drivers/infiniband/sw/rdmavt/mcast.cβ go read the source bestie, it's giving transparency π rvt_driver_mcast_init(9)rvt_mcast_qp_alloc(9)rvt_mcast_find(9)rvt_attach_mcast(9)rvt_detach_mcast(9)rvt_mcast_tree_empty(9)
that's the whole friend group, they all show up together, obsessed π
β and that's the page!! π¦ sign-off time: this one lives in ./drivers/infiniband/sw/rdmavt, dated October 2026, and yes the footer still says rvt_mcast_alloc(9) because we keep the receipts β π
π¦ 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