]> git.baikalelectronics.ru Git - kernel.git/commit
ntb_perf: avoid false dma unmap of destination address
authorSanjay R Mehta <sanju.mehta@amd.com>
Wed, 6 May 2020 04:21:52 +0000 (23:21 -0500)
committerJon Mason <jdmason@kudzu.us>
Sat, 6 Jun 2020 00:02:08 +0000 (20:02 -0400)
commitd9bfb6293c3fc0d97fc4d424dc03cd0af086d0b8
tree7efa13131b751ad157fad3bc3a0bea35a4f56dc0
parentdb0e74278917dddb7163203e20fb268a9e0c8020
ntb_perf: avoid false dma unmap of destination address

The DMA map and unmap of destination address is already being
done in perf_init_test() and perf_clear_test() functions.
Hence avoiding it by making necessary changes in perf_copy_chunk()
function.

Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
Signed-off-by: Jon Mason <jdmason@kudzu.us>
drivers/ntb/test/ntb_perf.c