rvt_query_gid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this is rvt_query_gid(9) from the Kernel API Manual, and it's literally giving β€œreturn a gid from the table” energy ✨ bestie, it's short, it's sweet, and it's here to hand you a gid πŸ’…

✨ NAME ✨

rvt_query_gid β€” Return a gid from the table πŸŽ€

πŸ¦‹ SYNOPSIS πŸ¦‹

here's the signature, no cap:

int rvt_query_gid (struct ib_device *ibdev , u32 port_num , int
guid_index , union ib_gid *gid );

🌸 ARGUMENTS 🌸

  • ibdev β€” Verbs IB dev. the main character device struct, iykyk 🫢
  • port_num β€” Port number, 1 based from ib core. yes bestie, 1 based πŸ”₯
  • guid_index β€” Index in table. it's the spot you're checking πŸ‘‘
  • gid β€” Gid to return. this is where the gid comes back out πŸ’–

πŸ”₯ RETURN πŸ”₯

0 on success. periodt πŸ’…

πŸ‘‘ SEE ALSO πŸ‘‘


mwah πŸ’‹ cute little sign-off: source/version vibes are ./drivers/infiniband/sw/rdmavt, dated October 2026 🌈 bye bestie, go query that gid πŸ§šπŸ’œ

πŸ“¦ where this page comes from