rvt_query_gid(9)
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 π
- Kernel file:
./drivers/infiniband/sw/rdmavt/vt.cπ rvt_alloc_device(9)rvt_dealloc_device(9)rvt_query_port(9)rvt_modify_port(9)rvt_query_pkey(9)rvt_alloc_ucontext(9)rvt_dealloc_ucontext(9)rvt_register_device(9)rvt_unregister_device(9)rvt_init_port(9)
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
- 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