rxe_mcast_add(9)
β¨ rxe_mcast_add(9) β the kernel API glow-up β¨
Okay so bestie, welcome to rxe_mcast_add, a little function from the Kernel API Manual (that's the 9 section, iykyk) and honestly? It's giving "small but iconic." Let's get into it π
πΈ NAME πΈ
rxe_mcast_add β literally the function that adds a multicast address to an rxe device. That's it. That's the whole vibe. π
π¦ SYNOPSIS π¦
int rxe_mcast_add (struct rxe_dev *rxe , union ib_gid *mgid );
Returns an int, takes two args, no cap. Copy it exactly if you're writing code, bestie β the spacing is the original's, don't come for me. π
π ARGUMENTS π
rxeβ the rxe device object. Like, the actual thing you're adding the multicast address to. Main character energy. πmgidβ the multicast address, but in gid form. Yes, as a gid. That's the whole description, bestie, it's a short one. π«Ά
π DESCRIPTION π
Returns 0 on success, else an error. That's genuinely all it says β short, sweet, and honestly kind of mysterious π. So: success β 0. Not success β an error. Periodt. β
π₯ SEE ALSO π₯
Kernel file ./drivers/infiniband/sw/rxe/rxe_mcast.c, plus the whole multicast squad β and yes, I'm listing every single one because they all matter:
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_attach_mcast(9)rxe_detach_mcast(9)
Twenty-ish friends and every one of them ate, fr fr π
Heads up bestie: the underscore-prefixed ones are the internal crew (iykyk), the others are the public-facing icons. Go read them if you want the full lore. π
And that's the page, babes! πΈ This one lives under ./drivers/infiniband/sw/rxe and it's dated October 2026 β so yeah, future-dated, iconic behavior honestly. Stay hydrated, go add some multicast addresses, and remember: 0 means slay, anything else means check the error ππβ¨
π¦ 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