get_pkeys(9)
π get_pkeys β NAME β¨
okay so get_pkeys β it returns the PKEY table. that's the whole vibe. the PKEY table, handed to you. periodt π
(this one lives in the Kernel API Manual, btw β section 9, kernel-adjacent excellence, iykyk π)
πΈ SYNOPSIS πΈ
int get_pkeys (struct hfi1_devdata *dd , u32 port , u16 *pkeys );
likeβ¦ look at her. iconic signature. no notes. π
π¦ ARGUMENTS π¦
okay bestie let's go through the cast of characters one by one:
ddβ thehfi1_ibdevice. she's the main character here, the whole device struct, the one we're doing all this for πportβ the IB port number. which port are we talking about?? this tells you πpkeysβ the pkey table is placed here. yes, here. this is the spot. the drop-off point. the pkey table literally gets parked right there π¦β¨
π₯ SEE ALSO π₯
the friend group, fr fr β go read these too:
- Kernel file
./drivers/infiniband/hw/hfi1/mad.c set_pkeys(9)tx_link_width(9)get_xmit_wait_counters(9)hfi1_pkey_validation_pma(9)hfi1_process_mad(9)
all of them. every single one. no skipping ππ
ngl this page is short but she ate. nothing dangerous in here, no deprecated nonsense, just a pkey table and good vibes π
and that's the whole page, bestie π«Ά this lil gem comes to you from ./drivers/infiniband/hw/hfi1, dropped in October 2026 β slay, stay cozy, and may your pkey tables always be exactly where you left them πβ¨π
π¦ 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