ib_query_pkey(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ib_query_pkey β€” a Kernel API Manual moment

okay so bestie, welcome to ib_query_pkey(9), the page that's literally just "get me that P_Key table entry" and honestly? she ate. we're in the Kernel API Manual, this is the whole vibe, let's go πŸŽ€


✨ NAME ✨

ib_query_pkey β€” Get P_Key table entry πŸ‘‘

✨ SYNOPSIS ✨

int ib_query_pkey (struct ib_device *device , u32 port_num , u16 index ,
u16 *pkey );

no cap, that's the whole signature. look at her. iconic. πŸ¦‹

✨ ARGUMENTS ✨

  • device β€” the Device you're querying, like, the main character here 🫢
  • port_num β€” the Port number you're querying, yes you gotta say which port, be specific bestie
  • index β€” the P_Key table index you're querying, it's giving "which slot tho"
  • pkey β€” the Returned P_Key πŸ’– (she comes back to you through this pointer, so treat her right)

✨ DESCRIPTION ✨

so ib_query_pkey fetches the specified P_Key table entry. that's it. that's the whole plot. specifical entry, fetched, done. lowkey obsessed with how unbothered this function is 🌸

✨ SEE ALSO ✨

okay this list is LONG, so buckle up bestie, we're going on a little tour of the Kernel file ./drivers/infiniband/core/device.c and all her friends 🧚

like, thirty entries. thirty. she said "iykyk" and meant it πŸ’€πŸ”₯


and that's the page!! this lil cutie lives in ./drivers/infiniband/core, dated October 2026, and yeah the footer says the same thing β€” source/version: ./drivers/infiniband/core, date: October 2026, page: ib_query_pkey(9). mwah, bye bestie πŸ’œπŸŽ€

πŸ“¦ where this page comes from