ib_is_opa_gid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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