1mlx5dv_dm_map_op_addr(3) mlx5 Programmer’s Manual mlx5dv_dm_map_op_addr(3)
2
3
4
6 mlx5dv_dm_map_op_addr - Get operation address of a device memory (DM)
7
9 #include <infiniband/mlx5dv.h>
10
11 void *mlx5dv_dm_map_op_addr(struct ibv_dm *dm, uint8_t op);
12
14 mlx5dv_dm_map_op_addr() returns a mmaped address to the device memory
15 for the requested op.
16
18 dm
19
20 The associated ibv_dm for this operation.
21
22 op
23
24 Indicates the DM operation type, based on device specification.
25
27 Returns a pointer to the mmaped address, on error NULL will be returned
28 and errno will be set.
29
31 ibv_alloc_dm(3), mlx5dv_alloc_dm(3),
32
34 Maor Gottlieb <maorg@nvidia.com>
35
36
37
38mlx5 2021-1-21 mlx5dv_dm_map_op_addr(3)