Commit 1b8cbbe
committed
mlx5: Add support for DM export DMABUF fd
Add support for DM export DMABUF fd.
Upon the allocation flow of the DM the driver may save the pg_off on its
internal mlx5_dm structure.
This data will be used upon exporting a DMABUF fd for the DM by calling
ibv_cmd_export_dmabuf_fd().
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>1 parent f824da4 commit 1b8cbbe
3 files changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
645 | 645 | | |
646 | 646 | | |
647 | 647 | | |
| 648 | + | |
648 | 649 | | |
649 | 650 | | |
650 | 651 | | |
| |||
1268 | 1269 | | |
1269 | 1270 | | |
1270 | 1271 | | |
| 1272 | + | |
1271 | 1273 | | |
1272 | 1274 | | |
1273 | 1275 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5066 | 5066 | | |
5067 | 5067 | | |
5068 | 5068 | | |
| 5069 | + | |
| 5070 | + | |
5069 | 5071 | | |
5070 | | - | |
| 5072 | + | |
5071 | 5073 | | |
5072 | 5074 | | |
5073 | 5075 | | |
| |||
5390 | 5392 | | |
5391 | 5393 | | |
5392 | 5394 | | |
| 5395 | + | |
| 5396 | + | |
| 5397 | + | |
| 5398 | + | |
| 5399 | + | |
5393 | 5400 | | |
5394 | 5401 | | |
5395 | 5402 | | |
| |||
0 commit comments