]> asedeno.scripts.mit.edu Git - linux.git/commit
dmaengine: mv_xor_v2: implement proper interrupt coalescing
authorHanna Hawa <hannah@marvell.com>
Fri, 5 May 2017 09:57:51 +0000 (11:57 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sun, 14 May 2017 12:54:45 +0000 (18:24 +0530)
commitd793327fac3a9292edfdcee0ab6c29e4fdd08d65
treeac10c236871c816f0537128e694d074827ef8de3
parentb2d3c270f9f2fb82518ac500a9849c3aaf503852
dmaengine: mv_xor_v2: implement proper interrupt coalescing

Until now, the driver was not using interrupt coalescing: one interrupt
was generated for each descriptor processed by the XOR engine. This
commit changes that by using the interrupt coalescing features of the
hardware, by setting both a number of descriptors processed before an
interrupt is generated and a timeout before an interrupt is generated.

Signed-off-by: Hanna Hawa <hannah@marvell.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mv_xor_v2.c