diff options
| author | Chuck Lever <[email protected]> | 2015-12-16 22:22:55 +0000 |
|---|---|---|
| committer | Anna Schumaker <[email protected]> | 2015-12-18 20:34:33 +0000 |
| commit | 7c7a5390dc6c8d89fc368424b69a4eef8e43f411 (patch) | |
| tree | 4e45049e1737d1fc5fec1b9aca813eb92fcc0ca9 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | xprtrdma: Add ro_unmap_sync method for FRWR (diff) | |
| download | kernel-7c7a5390dc6c8d89fc368424b69a4eef8e43f411.tar.gz kernel-7c7a5390dc6c8d89fc368424b69a4eef8e43f411.zip | |
xprtrdma: Add ro_unmap_sync method for FMR
FMR's ro_unmap method is already synchronous because ib_unmap_fmr()
is a synchronous verb. However, some improvements can be made here.
1. Gather all the MRs for the RPC request onto a list, and invoke
ib_unmap_fmr() once with that list. This reduces the number of
doorbells when there is more than one MR to invalidate
2. Perform the DMA unmap _after_ the MRs are unmapped, not before.
This is critical after invalidating a Write chunk.
Signed-off-by: Chuck Lever <[email protected]>
Tested-by: Devesh Sharma <[email protected]>
Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
