pvrdma_query_gid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ pvrdma_query_gid(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– β€” today's main character is pvrdma_query_gid, and honestly? she's a little legend. her whole job is literally just query device gid. that's it. that's the vibe. πŸŽ€


🌸 NAME 🌸

pvrdma_query_gid β€” query device gid

like… she queries the gid. of the device. no cap, that's the entire plot πŸ¦‹


⭐ SYNOPSIS ⭐

int pvrdma_query_gid (struct ib_device *ibdev , u32 port , int index ,
union ib_gid *gid );

she takes four things and gives you back an int, periodt. πŸ’…


🧚 ARGUMENTS 🧚

  • ibdev β€” the device to query πŸ‘‘ this is the device you're asking about, she needs to know who she's dealing with
  • port β€” the port number πŸ”’ yes, the port number, that's the whole description, don't overthink it
  • index β€” the index πŸ“‡ literally just the index, bestie, it's giving "short and mysterious"
  • gid β€” the device gid value πŸ’œ this is where the gid value lives

πŸ”₯ RETURN πŸ”₯

0 on success πŸŽ‰ otherwise a negative errno 😭 (so like, check it, okay? don't just ignore the return value, that's not the energy we're bringing to kernel code)


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c πŸ“ β€” that's where she lives, iykyk

the whole friend group, all iconic, all linked, go say hi 🌈


ok that's the page!! no notes, she ate πŸ’… ngl this one was short and sweet and we love that for her πŸ“

mwah πŸ’‹ β€” this diva comes from ./drivers/infiniband/hw/vmw_pv..., dated October 2026, and she's serving pvrdma_query_gid(9) energy forever 🫢✨

πŸ“¦ where this page comes from