diff options
author | Dan Williams <dan.j.williams@intel.com> | 2011-07-29 17:17:10 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-08-23 20:04:42 -0700 |
commit | 9b4be528999483d70a1ffc0accd102e477d5a503 (patch) | |
tree | 9b868ca20a761b20af3ba79a168b42acb109922f /net/irda/iriap_event.c | |
parent | 39ea2c5b5ffaa344467da53e885cfa4ac0105050 (diff) |
[SCSI] isci: dynamic interrupt coalescing
Hardware allows both an outstanding number commands and a timeout value
(whichever occurs first) as a gate to the next interrupt generation. This
scheme at completion time looks at the remaining number of outstanding tasks
and sets the timeout to maximize small transaction operation. If transactions
are large (take more than a few 10s of microseconds to complete) then
performance is not interrupt processing bound, so the small timeouts this
scheme generates are overridden by the time it takes for a completion to
arrive.
Tested-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'net/irda/iriap_event.c')
0 files changed, 0 insertions, 0 deletions