umad_get_issm_path(3)

umad_get_issm_path3

Get path of issm device

Usage

#include <infiniband/umad.h>

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

Overview

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)

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 2 times.

  1. 6.0–9
  2. 10
  3. 11–Arch

Author

Sasha Khapyorsky <[email protected]>

From rdma-core 65.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.