---
name: "mlx5dv_dm_map_op_addr"
section: "3"
platform: "linux"
package: "rdma-core"
version: "65.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/mlx5dv_dm_map_op_addr"
---

# mlx5dv\_dm\_map\_op\_addr(3)

Get operation address of a device memory (DM)

## NAME

mlx5dv\_dm\_map\_op\_addr - 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)](/ibv_alloc_dm/3.md), [**mlx5dv\_alloc\_dm**(3)](/mlx5dv_alloc_dm/3.md),

## AUTHOR

Maor Gottlieb ⟨maorg@nvidia.com⟩\\c
