sci_controll..._coalescence(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sci_controller_set_interrupt_coalescence πŸ’…

okay so welcome to the sci_controll..._coalescence(9) Kernel API Manual page, bestie. This function is literally the β€œconfigure the interrupt coalescence” main character, and we’re gonna go through it with zero skips. No cap. ✨

🌸 NAME 🌸

sci_controller_set_interrupt_coalescence β€” This method allows the user to configure the interrupt coalescence. That’s the whole assignment, and it ate. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

the whole signature, character for character, because we do not freestyle code here:

enum sci_status sci_controller_set_interrupt_coalescence (struct
       isci_host *ihost , u32 coalesce_number , u32 coalesce_timeout );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ihost β€” This parameter represents the handle to the controller object for which its interrupt coalesce register is overridden. So like, this is the controller handle getting the override treatment. 🫢
  • coalesce_number β€” used to control the number of entries in the Completion Queue before an interrupt is generated. If the number of entries exceed this number, an interrupt will be generated. The valid range of the input is [0, 256]. A setting of 0 results in coalescing being disabled. Zero is literally the off switch here, iykyk.
  • coalesce_timeout β€” timeout value in microseconds. The valid range of the input is [0, 2700000]. A setting of 0 is allowed and results in no interrupt coalescing timeout. Yes, zero is legal and it’s giving β€œtimeout who?” energy 😌

πŸ’– DESCRIPTION πŸ’–

the description is giving receipt energy: it indicates if the user successfully set the interrupt coalesce parameters. Here’s the status tea:

  • SCI_SUCCESS β€” the user successfully updated the interrutp coalescence. (Yes, interrutp β€” og typo preserved, because lore is lore πŸ’€)
  • SCI_FAILURE_INVALID_PARAMETER_VALUE β€” the user input value is out of range.

🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/isci/host.c is the source file in question, and the whole SEE ALSO bestie squad is:


Signed off from the ./drivers/scsi/isci source, October 2026 dated, on the sci_controll..._coalescence(9) page β€” mwah πŸ’–

πŸ“¦ where this page comes from