ib_find_gid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ ib_find_gid(9) β€” Kernel API Manual πŸ¦‹

Okay bestie, so this is ib_find_gid(9), and it's literally the Kernel API Manual page for the function that returns the port number and GID table index where a specified GID value occurs. Its searches only for IB link layer β€” the manpage literally says: Its searches only for IB link layer. No cap, that's the vibe πŸ”₯


πŸŽ€ NAME πŸŽ€

ib_find_gid β€” returns the port number and GID table index where a specified GID value occurs. Its searches only for IB link layer. Periodt πŸ’…


✨ SYNOPSIS ✨

Here's the signature, bestie β€” keep it exactly like this:

int ib_find_gid (struct ib_device *device , union ib_gid *gid , u32
*port_num , u16 *index );

πŸ’– ARGUMENTS πŸ’–

  • device β€” the device to query, like sliding into its DMs πŸ’¬
  • gid β€” the GID value to search for πŸ”Ž
  • port_num β€” the port number of the device where the GID value was found 🎯
  • index β€” the index into the GID table where the GID was found. This parameter may be NULL β€” she's optional, no pressure πŸ’…

🌈 SEE ALSO 🌈

Kernel file: ./drivers/infiniband/core/device.c β€” yes, that's the one, iykyk 🫢

And here's the whole reference lineup, because we do not skip the "boring" parts in this house:


Catch you later, bestie β€” this page is signed off from source/version ./drivers/infiniband/core, dated October 2026, and it's still ib_find_gid(9) πŸ’…βœ¨ slay and stay hydrated πŸ¦‹

πŸ“¦ where this page comes from