SCU_GET_PRO...ENGINE_INDEX(9)
π SCU_GET_PRO...ENGINE_INDEX(9) π
okay so bestie, welcome to the Kernel API Manual β yes that's the whole manual name, we're in the kernel docs now, put your hair up π
β¨ NAME β¨
SCU_GET_PROTOCOL_ENGINE_INDEX β and honestly? the description field is just... empty. nothing. void. the manpage said - and left it at that π so we're not gonna invent lore, we're just gonna vibe with the mystery.
πΈ SYNOPSIS πΈ
SCU_GET_PROTOCOL_ENGINE_INDEX (completion_code );
that's it. that's the whole call. one single argument, in and out, iconic behavior fr fr β¨
π¦ ARGUMENTS π¦
completion_codeβ literally marked "-- undescribed --" in the source. no cap, that's what it says. the docs did NOT come through for us here π so we're telling you exactly as much as we were told, nothing more, periodt.
π DESCRIPTION π
so what does it do? this macro returns the PE index from the completion code. that's the entire bit. short, sweet, main character energy π
not me being unable to embellish this one β there is genuinely nothing else documented, so please don't come for me, I am only relaying the facts π«Ά
π₯ SEE ALSO π₯
- Kernel file
./drivers/scsi/isci/scu_completion_codes.hβ go read the source bestie, it's giving primary evidence π 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_COMPLETION_INDEX(9)SCU_GET_FRAME_INDEX(9)SCU_GET_FRAME_ERROR(9)
like a whole little completion-code friend group, and our macro is part of it π
π§ sign-off π§
this one came out of ./drivers/scsi/isci and it's dated October 2026 β yes, the future, we're in our time-travel era β anyway slay, go forth and index your PEs, ily, bye π
π¦ 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