dmaengine: mv_xor: Enlarge descriptor pool size
authorLior Amsalem <alior@marvell.com>
Tue, 26 May 2015 13:07:35 +0000 (15:07 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 10 Jun 2015 16:48:31 +0000 (22:18 +0530)
commitf1d25e0a9b1a6519580ddf5a7e5538093a504fcd
tree01959d3f5f91ea61761c6ec7c75678859adff661
parent6f166312c6ea2c010c6425c48506d2bbad491c03
dmaengine: mv_xor: Enlarge descriptor pool size

Now that we have 2 channels assigned to 2 CPUs and all requests are chained
on same channels, we need much more descriptors available to satisfy
async_tx workload.

3072 descriptors was found in our lab as the number of descriptors which
allow the async_tx stack to work without waiting for free descriptors on
submission of new requests.

Signed-off-by: Lior Amsalem <alior@marvell.com>
Reviewed-by: Nadav Haklai <nadavh@marvell.com>
Tested-by: Nadav Haklai <nadavh@marvell.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mv_xor.h