diff options
| author | Qinxin Xia <xiaqinxin@huawei.com> | 2026-02-25 17:37:59 +0800 |
|---|---|---|
| committer | Marek Szyprowski <m.szyprowski@samsung.com> | 2026-03-04 11:22:05 +0100 |
| commit | a8d14dd6e621f47344d0eda72f7ce9203bdef4f1 (patch) | |
| tree | fc6d156a9688dfe3e9d92d55e880579e41259c25 /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 9cc60ec453fe5d58d4faa70829814769a8af24d4 (diff) | |
dma-mapping: benchmark: add support for dma_map_sg
Support for dma scatter-gather mapping and is intended for testing
mapping performance. It achieves by introducing the dma_sg_map_param
structure and related functions, which enable the implementation of
scatter-gather mapping preparation, mapping, and unmapping operations.
Additionally, the dma_map_benchmark_ops array is updated to include
operations for scatter-gather mapping. This commit aims to provide
a wider range of mapping performance test to cater to different scenarios.
Reviewed-by: Barry Song <baohua@kernel.org>
Signed-off-by: Qinxin Xia <xiaqinxin@huawei.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20260225093800.3625054-3-xiaqinxin@huawei.com
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
