rxe_lookup_mcg(9)
β¨ rxe_lookup_mcg β bestie's guide to finding your mcg β¨
okay so this is a page from the Kernel API Manual, and the star of the show is rxe_lookup_mcg(9) β like, that's the function, that's the whole vibe. it lives in the kernel, it's a lookup, and it's about to find you a mcg in a red-back tree. slay π
πΈ NAME πΈ
rxe_lookup_mcg β literally just looking up mcg in a red-back tree. no cap, that's it. that's the function. π
π¦ SYNOPSIS π¦
struct rxe_mcg * rxe_lookup_mcg (struct rxe_dev *rxe , union ib_gid
*mgid );
so it takes the device and the gid, and hands you back a pointer to struct rxe_mcg. the way that signature is giving "I know what I'm doing" energy ππ«Ά
π ARGUMENTS π
rxeβ the rxe device object β¨ like, the whole device you're snooping around inmgidβ multicast IP address π the thing you're trying to find, iykyk
β RETURN β
if it finds it, you get the mcg. if it does not find it... you get NULL. that's the whole story bestie, no plot twist ππ«Ά
π§ SEE ALSO π§
the kernel file is ./drivers/infiniband/sw/rxe/rxe_mcast.c and honestly the whole mcast friend group is here β go say hi to all of them π:
rxe_mcast_add(9)rxe_mcast_del(9)__rxe_insert_mcg(9)__rxe_remove_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)
and that's the page, bestie π it's from ./drivers/infiniband/sw/rxe, dated October 2026, and the whole thing is filed under rxe_lookup_mcg(9) β go forth and look up your mcgs, you iconic main character π₯π
π¦ 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