STRUCT SCU_SGL_ELEMENT_PAIR(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct scu_sgl_element_pair(9)

okay so we're in the Kernel API Manual bestie, and today's main character is this little struct πŸŽ€


✨ NAME ✨

struct scu_sgl_element_pair β€” this structure is the SCU hardware definition of a pair of SGL elements. fr fr, that's the whole vibe: the SCU hardware always works on SGL pairs. No solo acts, no single-element situations β€” pairs only, periodt. πŸ’…

They're referred to in the DS specification as SGL A and SGL B (yes, the original doc spells it "refered" β€” iconic typo, we're preserving the lore πŸ™ˆ). And each SGL pair is followed by the address of the next pair, so they chain along like a little group chat 🫢


🌸 SYNOPSIS 🌸

struct scu_sgl_element_pair {
    struct scu_sgl_element A;
    struct scu_sgl_element B;
    u32 next_pair_upper;
    u32 next_pair_lower;
 };

Like, look at it. Two elements, A and B, sitting right next to each other, then the upper and lower halves of the next-pair address. So clean. So structured. Lowkey obsessed. ✨


πŸ¦‹ Members πŸ¦‹

ngl the original page keeps this heading and then… says nothing under it 😭 the member breakdown is simply not giving. Empty. A void. But we're keeping the section because the order matters, bestie β€” we don't skip parts in this house πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/scsi/isci/scu_task_context.h enum
  • scu_ssp_task_type(9)
  • enum scu_sata_task_type(9)
  • struct ssp_task_context(9)
  • struct stp_task_context(9)
  • struct smp_task_context(9)
  • struct primitive_task_context(9)
  • struct scu_sgl_element(9)
  • struct transport_snapshot(9)
  • struct scu_task_context(9)

go read those too, iykyk πŸ’–


heads up bestie: this whole page is about hardware-defined layout, so treat the field order and types as gospel β€” no cap, no "let me just reorder these", just vibes-preserving accuracy πŸ”₯

and that's the whole page!! πŸŽ€ source/version is ./drivers/scsi/isci and it's dated October 2026, so like, future-dated slay β­πŸ’œ mwah, go read your task contexts 🌈

πŸ“¦ where this page comes from