hfi1_get_npkeys(9)
π hfi1_get_npkeys(9) π
okay bestie, welcome to the Kernel API Manual side of the group chat π this page is all about hfi1_get_npkeys, and it's lowkey iconic because it's literally here to tell you the size of the PKEY table for context 0. no cap.
π NAME π
hfi1_get_npkeys β return the size of the PKEY table for context 0 πΈ
that's the whole main-character job. slay.
β¨ SYNOPSIS β¨
unsigned hfi1_get_npkeys (struct hfi1_devdata *dd );
copy it exactly, bestie β yes, including the spaces. periodt π
π¦ ARGUMENTS π¦
ddβ thehfi1_ibdevice. that's the argument, and it's giving "device lore" π«Ά
π SEE ALSO π
the lore continues over here, iykyk π:
- Kernel file
./drivers/infiniband/hw/hfi1/verbs.c hfi1_ib_rcv(9)update_tx_opstats(9)egress_pkey_check(9)hfi1_verbs_send(9)hfi1_fill_device_attr(9)hfi1_register_ib_device(9)
mwah π final vibe check: source/version line lives at ./drivers/infiniband/hw/hfi1, dated October 2026, and signed hfi1_get_npkeys(9). byeee, go get that PKEY table size π«Άβ¨
π¦ 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