pvrdma_query_port(9)
π pvrdma_query_port(9) π
okay so bestie, welcome to the Kernel API Manual page for pvrdma_query_port β she's a little function from the infiniband world and honestly? iconic. this page is gonna tell you how to query device port attributes, and no cap, it's shorter than your Situationship's attention span. let's get into it π«Ά
β¨ NAME β¨
pvrdma_query_port β query device port attributes ππ¦
like, she asks the port how it's doing and reports back. main character energy fr.
πΈ SYNOPSIS πΈ
int pvrdma_query_port (struct ib_device *ibdev , u32 port , struct
ib_port_attr *props );
the way this signature just sits there. copy it exactly, no editing, iykyk π
π ARGUMENTS π
ibdevβ the device to query π literally the device you're curious about, that's her.portβ the port number β which port on the device you want the tea on.propsβ the device properties π this is where the answer lands. the port's whole vibe check goes in here.
π₯ RETURN π₯
0 on success π β otherwise a negative errno π (so like, if it's negative, something went wrong, no notes).
π SEE ALSO π
- Kernel file
./drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.cβ that's where she lives π pvrdma_query_device(9)pvrdma_query_gid(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, honestly. go read them all, they slay in their own ways π
and that's the page, bestie π§ this one came from ./drivers/infiniband/hw/vmw_pv... and it's dated October 2026, filed under pvrdma_query_port(9) β periodt. πβ¨
π¦ 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