pvrdma_query_pkey(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:


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