mpt3sas_ctl_done(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mpt3sas_ctl_done β€” the ctl module completion routine bestie ✨

okay so real quick, before we get into it: this one's a kernel API manual page, page name mpt3sas_ctl_done, and it lives in the kernel docs. it's short, it's sweet, and it's the little callback that could 🫢


✨ NAME ✨

mpt3sas_ctl_done β€” literally the ctl module completion routine. that's her job. that's what she does πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

u8 mpt3sas_ctl_done (struct MPT3SAS_ADAPTER *ioc , u16 smid , u8
msix_index , u32 reply );

yes she returns a u8, yes she takes four args, no we're not scared of her πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • ioc β€” the per adapter object. your whole adapter's whole personality lives here 🌸
  • smid β€” system request message index. it's the little name tag for the message, iykyk πŸ”–
  • msix_index β€” the MSIX table index supplied by the OS. the OS handed it over, we just hold it 🫢
  • reply β€” reply message frame (lower 32bit addr). lowercase bit, exact spelling, don't come for me 😭

πŸ’€ CONTEXT πŸ’€

none. that's it. that's the whole section. no context, no vibes to check, nothing 🧚


πŸ”₯ DESCRIPTION πŸ”₯

so the actual tea: this is the callback handler when using ioc->ctl_cb_idx. that's the entire description and honestly she ate πŸ’…βœ¨


πŸ‘‘ RETURN πŸ‘‘

  • 1 β€” meaning the mf should be freed from _base_interrupt πŸ’€
  • 0 β€” means the mf is freed from this function πŸ™ˆ

no cap, those are the only two options, and yes the wording is exactly like that, I'm not editing it, it's iconic.


🌈 SEE ALSO 🌈

okay bestie this is the long part, grab a snack πŸ“ β€” Kernel file ./drivers/scsi/mpt3sas/mpt3sas_ctl.c plus this entire friend group:

like I said. whole friend group. every single one of them, no skips, periodt πŸ‘‘


lowkey reminder: <rainbow>this page is from ./drivers/scsi/mpt3sas, dated **October 2026**</rainbow> β€” that's the source dir and the date, right there at the bottom of the original, now living rent-free in this sign-off πŸŽ€βœ¨ go be a completion routine about it, bestie πŸ’–
πŸ“¦ where this page comes from