diff options
| author | Mitchel Humpherys <mitchelh@codeaurora.org> | 2015-04-23 16:16:56 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-22 11:12:25 -0700 |
| commit | b9b1193723dc68a62e5fabf6c9ae2c1322b4a752 (patch) | |
| tree | 2fe16aa0f960815eb144f2e24fe791173fc73ab2 /include/linux/flex_array.h | |
| parent | b9aa392f2baa3171fc4f0f9c11ee123d4a7d3b80 (diff) | |
iommu: io-pgtable: add .map_sg op to io_pgtable_ops
The default implementation of map_sg (provided by default_iommu_map_sg
from the IOMMU API layer) actually just calls iommu_map repeatedly.
Often times there are locks or other initial setup in the implementation
of iommu_map, so there's opportunity to drastically improve performance
by factoring that out of the loop. For this reason, io-pgtable
providers might want to implement .map_sg. Add the declaration to the
io_pgtable_ops structure.
Change-Id: I5aa5e4e24a68e303ce2c005dc1dd0b33d5635ab3
Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions
