ib_is_opa_gid(9)
π ib_is_opa_gid(9) β the kernel API manual, but make it cute
okay bestie, welcome to the ib_is_opa_gid page from the Kernel API Manual β¨ this one is short and sweet and honestly kind of an icon in the "tiny helper function" category, so let's get into it π«Ά
πΈ NAME πΈ
ib_is_opa_gid β returns true if the top 24 bits of the gid contains the OPA_STL_OUI identifier. Lowkey the whole point? It identifies that the provided gid is a special purpose GID meant to carry extended LID information. like, that's its entire job and it does it slayfully π
β¨ SYNOPSIS β¨
bool ib_is_opa_gid (const union ib_gid *gid );
that's it. that's the whole vibe check. one function, one argument, returns a bool π¦
π ARGUMENTS π
gidβ The Global identifier. yep, that's the one, that's the input, hand it over π
π₯ SEE ALSO π₯
the kernel file ./include/rdma/opa_addr.h is where the lore lives, plus these two besties:
iykyk π
ngl this page is giving "small but mighty" β no cap, every detail up there is load-bearing, so don't skip it π
and that's a wrap, bestie π this gem comes to you from ./include/rdma, dated October 2026, and it's ib_is_opa_gid(9) to the very end. periodt πβ
π¦ 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