opa_get_lid_from_gid(9)
π opa_get_lid_from_gid(9) π
okay so bestie, welcome to the Kernel API Manual, section 9 β we're doing a lil vibe check on opa_get_lid_from_gid, and it's giving "grab the last 32 bits of the gid" realness. The OPA device tea is that it uses one of the gids in the gid table to also store the lid. no cap. π¦β¨
πΈ NAME πΈ
opa_get_lid_from_gid β Returns the last 32 bits of the gid. OPA devices use one of the gids in the gid table to also store the lid.
π SYNOPSIS π
u32 opa_get_lid_from_gid (const union ib_gid *gid );
π ARGUMENTS π
gidβ The Global identifier. That's literally the argument, bestie. π
π₯ SEE ALSO π₯
- Kernel file
./include/rdma/opa_addr.h ib_is_opa_gid(9)opa_is_extended_lid(9)
mwah π this page's source/version is ./include/rdma, it's dated October 2026, and it's literally opa_get_lid_from_gid(9) β bye bestie, go slay your kernel reading π«Άβ¨
π¦ 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