svcrdma: Move the DMA unmap logic to the CQ handler
authorTom Tucker <tom@opengridcomputing.com>
Wed, 28 May 2008 17:08:48 +0000 (12:08 -0500)
committerTom Tucker <tom@opengridcomputing.com>
Wed, 2 Jul 2008 20:01:55 +0000 (15:01 -0500)
commite6ab9143719ff76f0b95f0866c4d0f6c743ad2e0
tree42e95b916e9fbe814d1d61557af478f557f9d750
parentf820c57ebf5493d4602cc00577c8b0fadd27a7b8
svcrdma: Move the DMA unmap logic to the CQ handler

Separate DMA unmap from context destruction and perform DMA unmapping
in the SQ/RQ CQ reap functions. This is necessary to support software
based RDMA implementations that actually copy the data in their
ib_dma_unmap callback functions and architectures that don't have
cache coherent I/O busses.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c