diff options
| author | Yishai Hadas <yishaih@nvidia.com> | 2026-09-15 17:09:25 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-09-28 08:13:09 -0400 |
| commit | dfc5334af5667e2ef24c54ec9ce88c4eb1cdba64 (patch) | |
| tree | 7fd276fa0560759f0f73522dd7e6998afbab1c1a /tools/lib/python/kdoc/python_version.py | |
| parent | 50b96c3e3feb6161df4a1ac4975e885602c79bfd (diff) | |
RDMA/umem: Derive DMA direction from IB access flags
Map non-writable user memory DMA_TO_DEVICE: when no write access is
granted, the NIC only reads the pages and DMA_BIDIRECTIONAL is
unnecessarily broad. Where the IOMMU enforces direction this prevents
the device writing to read-only buffers; where it does not the mapping
is still semantically correct.
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://patch.msgid.link/20260915140933.40580-8-yishaih@nvidia.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
