diff options
author | Lior Amsalem <alior@marvell.com> | 2014-08-27 10:52:50 -0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-09-23 20:17:00 +0530 |
commit | 3e4f52e2da9f66ba9c19b9266fa9ffcaee2f3ecc (patch) | |
tree | c5f923dd0382720ec0b3121661333dfe91929996 /drivers/atm/tonga.h | |
parent | b8291ddeed581e57327d715d29ffc501b9d48c5f (diff) | |
download | op-kernel-dev-3e4f52e2da9f66ba9c19b9266fa9ffcaee2f3ecc.zip op-kernel-dev-3e4f52e2da9f66ba9c19b9266fa9ffcaee2f3ecc.tar.gz |
dma: mv_xor: Simplify the DMA_MEMCPY operation
A memory copy operation can be expressed as an XOR operation with one
source. This commit removes code duplication in the driver by reusing
the XOR operation for the MEMCPY.
As an added benefit, we can now put MEMCPY and XOR descriptors on the
same chain, which improves performance.
Signed-off-by: Lior Amsalem <alior@marvell.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/atm/tonga.h')
0 files changed, 0 insertions, 0 deletions