sc_piobufavail(9)
πΈ NAME πΈ
okay so this is sc_piobufavail(9) from the Kernel API Manual, and it is literally the callback when a PIO buffer is available β¨ β bestie, that is the whole assignment π
.
π SYNOPSIS π
void sc_piobufavail (struct send_context *sc );
π«Ά ARGUMENTS π«Ά
scβ the send context. That is it, that is the whole argument, bestie π.
π DESCRIPTION π
so picture this: hfi1_verbs_send returned an error that no buffers were available π, and then a PIO buffer is available β that is when this callback gets called from the interrupt handler. slay.
and if there are no more QPs waiting, disable the interrupt. periodt π₯ that is the cleanup vibe.
π SEE ALSO π
- Kernel file
./drivers/infiniband/hw/hfi1/pio.cβ go read the source, iykyk π sc_wait_for_packet_egress(9)pio_kernel_linkup(9)
with love from ./drivers/infiniband/hw/hfi1, October 2026, page sc_piobufavail(9) β mwah πβ¨
π¦ 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