diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2026-03-23 23:10:18 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2026-03-30 20:47:45 +0300 |
| commit | 179b32095854d44749dd535502f05d95bbf43775 (patch) | |
| tree | dfda9d51050e78097a44a9e48e817593a7a77646 /include | |
| parent | e6fd2491789745ed8c3df86a660dfa7207129d22 (diff) | |
| download | linux-179b32095854d44749dd535502f05d95bbf43775.tar.xz | |
RDMA/umem: Use consistent DMA attributes when unmapping entries
The DMA API expects that mapping and unmapping use the same DMA
attributes. The RDMA umem code did not meet this requirement, so fix
the mismatch.
Fixes: f03d9fadfe13 ("RDMA/core: Add weak ordering dma attr to dma mapping")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/rdma/ib_umem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rdma/ib_umem.h b/include/rdma/ib_umem.h index 38414281a686..2ad52cc1d52b 100644 --- a/include/rdma/ib_umem.h +++ b/include/rdma/ib_umem.h @@ -18,6 +18,7 @@ struct ib_umem { u64 iova; size_t length; unsigned long address; + unsigned long dma_attrs; u32 writable : 1; u32 is_odp : 1; u32 is_dmabuf : 1; |
