summaryrefslogtreecommitdiff
path: root/crypto/proc.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2008-04-17 20:17:26 -0700
committerDan Williams <dan.j.williams@intel.com>2008-04-17 13:25:54 -0700
commitc7ea8ef0537ce7de0eb6e717e8d4eed26061641d (patch)
tree93d04039ae83b38ee07aa3cc325ae9b1462f6d7d /crypto/proc.c
parentd733128c62f57fdeba551bb9ded9a3fb8a60c707 (diff)
downloadlinux-crypto-c7ea8ef0537ce7de0eb6e717e8d4eed26061641d.tar.gz
linux-crypto-c7ea8ef0537ce7de0eb6e717e8d4eed26061641d.zip
dmaengine: ack to flags: make use of the unused bits in the 'ack' field
'ack' is currently a simple integer that flags whether or not a client is done touching fields in the given descriptor. It is effectively just a single bit of information. Converting this to a flags parameter allows the other bits to be put to use to control completion actions, like dma-unmap, and capture results, like xor-zero-sum == 0. Changes are one of: 1/ convert all open-coded ->ack manipulations to use async_tx_ack and async_tx_test_ack. 2/ set the ack bit at prep time where possible 3/ make drivers store the flags at prep time 4/ add flags to the device_prep_dma_interrupt prototype Acked-by: Maciej Sosnowski <maciej.sosnowski@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'crypto/proc.c')
0 files changed, 0 insertions, 0 deletions