irdma_query_pkey(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irdma_query_pkey β€” bestie, it's giving "Kernel API Manual"

okay so real talk: this page is irdma_query_pkey(9) β€” that's the whole header, consider it folded in and slayed ✨ β€” and it lives in the Kernel API Manual section, which is exactly as serious as it sounds. It's a tiny little function that goes and asks the hardware "hey what's the partition key at this index bestie" and hands it back to you. One job. Does it. Iconic. πŸŽ€


✨ NAME ✨

irdma_query_pkey β€” literally just Query partition key. That's it. That's the whole vibe check. πŸ¦‹


🌸 SYNOPSIS 🌸

int irdma_query_pkey (struct ib_device *ibdev , u32 port , u16 index ,
       u16 *pkey );

no cap, that's the whole signature. type it exactly like that, she's picky πŸ’…


πŸ’– ARGUMENTS πŸ’–

okay so here's the roster, and every single one of them matters:

  • ibdev β€” a device pointer from stack. yes, from stack. that's the note. don't come for me, I'm just the messenger 🫢
  • port β€” the port number. which port, you ask? the one you want, girlie 🌈
  • index β€” the index of the pkey. you're asking about this specific one, not just vibes in general
  • pkey β€” a pointer to store the pkey in. a little empty vessel. you bring the memory, she brings the key ⭐

lowkey the whole function is just "you give me a place to put it, I put it there." main character energy for a pkey πŸ’€


🌟 SEE ALSO 🌟

so there's a lot of friends in this group chat. like, a lot a lot. the kernel file is ./drivers/infiniband/hw/irdma/verbs.c and then the whole extended fam shows up:

yes I listed every single one. the whole contact list. iykyk πŸ’… don't skip any of them, they will notice 😭

and that's the whole page bestie, no filler, no fluff, just a pkey query living its truth 🧚

later, diva β€” this one came from ./drivers/infiniband/hw/irdma, dated October 2026, and it's signed off as irdma_query_pkey(9) one last time for the road trip πŸ’œπŸ”₯

πŸ“¦ where this page comes from