pvrdma_query_pkey(9)
πΈ NAME πΈ
okay so bestie, this is the pvrdma_query_pkey(9) page from the Kernel API Manual β¨ and itβs giving very specific kernel energy: pvrdma_query_pkey does exactly one thing β query device port's P_Key table. periodt. π
β¨ SYNOPSIS β¨
the signature, copied exactly and looking iconic:
int pvrdma_query_pkey (struct ib_device *ibdev , u32 port , u16 index ,
u16 *pkey );
π ARGUMENTS π
ibdevβ the device to query. this is the main character device youβre asking about π«Άportβ the port number. which port, no cap.indexβ the index. the exact index slot, fr fr.pkeyβ the device P_Key value. the P_Key value lands here π
π RETURN π
0 on success, otherwise negative errno. thatβs the whole vibe check πβ
π¦ SEE ALSO π¦
the kernel file is literally:
./drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c
and the related pages are this whole friend group:
pvrdma_query_device(9)pvrdma_query_port(9)pvrdma_query_gid(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)
okay bestie, thatβs the page β stay iconic and lowkey obsessed with correct P_Key queries πβ¨. the footer tea is source/version ./drivers/infiniband/hw/vmw_pv..., dated October 2026, and yes itβs the pvrdma_query_pkey(9) page. mwah ππ
π¦ 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