SCU_GET_FRAME_INDEX(9)
π SCU_GET_FRAME_INDEX(9) β like, the Kernel API Manual edition, bestie β¨
okay so real talk, this is a page straight out of the Kernel API Manual and it's giving "tiny macro, huge responsibility" energy. buckle up π
β¨ NAME β¨
SCU_GET_FRAME_INDEX β and honestly the official NAME line doesn't even give us a description after the dash, so like... that's the whole name section. no cap. we move π
πΈ SYNOPSIS πΈ
SCU_GET_FRAME_INDEX (completion_code );
that's it. that's the whole call. one argument, one macro, zero drama (mostly) π¦
π ARGUMENTS π
completion_codeβ sooooo the original manpage literally says "-- undescribed --" for this one π like the docs team just left it blank and dipped. bestie i'm not gonna invent a description for you because that would be lying and we don't do that here. it's the completion code. that's all we've got. iykyk π
π DESCRIPTION π
okay so here's the tea: this macro returns a normalized frame index from an unsolicited frame completion. that's the whole vibe. it takes your completion and hands you back a tidy, normalized frame index, periodt β¨
π SEE ALSO π
first up, the source file where all this lives β go read it, it's iconic:
Kernel file ./drivers/scsi/isci/scu_completion_codes.h
and now the whole friend group of related macros, fr fr, all of them, no skipping:
SCU_COMPLETION_TYPE(9)SCU_GET_COMPLETION_TYPE(9)SCU_GET_COMPLETION_STATUS(9)SCU_GET_COMPLETION_TL_STATUS(9)SCU_MAKE_COMPLETION_STATUS(9)SCU_NORMALIZE_COMPLETION_STATUS(9)SCU_GET_COMPLETION_SDMA_STATUS(9)SCU_GET_COMPLETION_PEG(9)SCU_GET_COMPLETION_PORT(9)SCU_GET_PROTOCOL_ENGINE_INDEX(9)SCU_GET_COMPLETION_INDEX(9)SCU_GET_FRAME_ERROR(9)
ok that's the whole page bestie, it's a short one but she ate π
mwah π this has been your girl signing off β page sourced from ./drivers/scsi/isci, dated October 2026, and honestly? iconic behavior. go get that frame index πβ¨
π¦ 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