linux/crypto/async_tx
Dan Williams 669ab0b210 async_tx: fix handling of the "out of descriptor" condition in async_xor
Ensure forward progress is made when a dmaengine driver is unable to
allocate an xor descriptor by breaking the dependency chain with
async_tx_quisce() and issue any pending descriptors.

Tested with iop-adma by setting device->max_xor = 2 to force multiple
calls to device_prep_dma_xor for each call to async_xor and limiting the
descriptor slot pool to 5.  Discovered that the minimum descriptor pool
size for iop-adma is 2 * iop_chan_xor_slot_cnt(device->max_xor) + 1.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2008-07-17 17:59:55 -07:00
..
async_memcpy.c dmaengine: ack to flags: make use of the unused bits in the 'ack' field 2008-04-17 13:25:54 -07:00
async_memset.c async_tx: fix async_memset compile error 2008-07-08 11:57:55 -07:00
async_tx.c async_tx: list_for_each_entry_rcu() cleanup 2008-07-17 17:59:47 -07:00
async_xor.c async_tx: fix handling of the "out of descriptor" condition in async_xor 2008-07-17 17:59:55 -07:00
Kconfig
Makefile