pvrdma_query_gid(9)
β¨ 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 withportβ the port number π’ yes, the port number, that's the whole description, don't overthink itindexβ 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
pvrdma_query_device(9)pvrdma_query_port(9)pvrdma_query_pkey(9)pvrdma_modify_port(9)pvrdma_alloc_ucontext(9)pvrdma_dealloc_ucontext(9)pvrdma_mmap(9)pvrdma_alloc_pd(9)pvrdma_dealloc_pd(9)pvrdma_create_ah(9)pvrdma_destroy_ah(9)
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
- 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