mlx5dv_dm_map_op_addr - Man Page

Get operation address of a device memory (DM)

Synopsis

#include <infiniband/mlx5dv.h>

void *mlx5dv_dm_map_op_addr(struct ibv_dm *dm, uint8_t op);

Description

mlx5dv_dm_map_op_addr() returns a mmaped address to the device memory for the requested op.

Arguments

dm
The associated ibv_dm for this operation.
op
Indicates the DM operation type, based on device specification.

Return Value

Returns a pointer to the mmaped address, on error NULL will be returned and errno will be set.

See Also

ibv_alloc_dm(3), mlx5dv_alloc_dm(3),

Author

Maor Gottlieb maorg@nvidia.com\c

Info

2021-1-21 mlx5 Programmer’s Manual