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

# umad\_get\_issm\_path(3)

get path of issm device

## NAME

umad\_get\_issm\_path - get path of issm device

## SYNOPSIS

```
#include <infiniband/umad.h>

int umad_get_issm_path(char *ca_name, int portnum,char*path,intmax);
```

## DESCRIPTION

**umad\_get\_issm\_path()** resolves path to issm device (which used for setting/clearing PortInfo:CapMask IsSM bit) for *portnum* of the IB device *ca\_name* , it stores resolved path in *path* array which cannot exceed *max* bytes in length (including NULL terminator). Opening issm device sets PortInfo:CapMask IsSM bit and closing clears it.

## RETURN VALUE

**umad\_open\_port()** returns 0 on success and a negative value on error as follows:\
  \-ENODEV IB device can't be resolved\
  \-EINVAL port is not valid (bad *portnum* or no umad device)

## SEE ALSO

[**umad\_open\_port**(3)](/umad_open_port/3.md), [**umad\_get\_port**(3)](/umad_get_port/3.md)

## AUTHOR

- Sasha Khapyorsky \<sashak@voltaire.com\>
