Commit 7cdfecb
committed
RDMA/mlx5: Add support for dmabuf to devx umem
Bugzilla: https://bugzilla.redhat.com/2123401
commit 9af859c
Author: Jason Gunthorpe <jgg@ziepe.ca>
Date: Thu Sep 1 11:20:55 2022 -0300
RDMA/mlx5: Add support for dmabuf to devx umem
This is modeled after the similar EFA enablement in commit
66f4817 ("RDMA/efa: Add support for dmabuf memory regions").
Like EFA there is no support for revocation so we simply call the
ib_umem_dmabuf_get_pinned() to obtain a umem instead of the normal
ib_umem_get(). Everything else stays the same.
Link: https://lore.kernel.org/r/3-v1-bd147097458e+ede-umem_dmabuf_jgg@nvidia.com
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Kamal Heib <kheib@redhat.com>1 parent 351de7c commit 7cdfecb
File tree
2 files changed
+22
-3
lines changed- drivers/infiniband/hw/mlx5
- include/uapi/rdma
2 files changed
+22
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2181 | 2181 | | |
2182 | 2182 | | |
2183 | 2183 | | |
2184 | | - | |
2185 | | - | |
2186 | | - | |
| 2184 | + | |
| 2185 | + | |
| 2186 | + | |
| 2187 | + | |
| 2188 | + | |
| 2189 | + | |
| 2190 | + | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
| 2198 | + | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
| 2202 | + | |
2187 | 2203 | | |
2188 | 2204 | | |
2189 | 2205 | | |
| |||
2833 | 2849 | | |
2834 | 2850 | | |
2835 | 2851 | | |
| 2852 | + | |
| 2853 | + | |
2836 | 2854 | | |
2837 | 2855 | | |
2838 | 2856 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| 177 | + | |
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| |||
0 commit comments