1UMAD_GET_ISSM_PATH(3) OpenIB Programmer's Manual UMAD_GET_ISSM_PATH(3)
2
3
4
6 umad_get_issm_path - get path of issm device
7
9 #include <infiniband/umad.h>
10
11 int umad_get_issm_path(char *ca_name, int portnum,char*path,intmax);
12
14 umad_get_issm_path() resolves path to issm device (which used for set‐
15 ting/clearing PortInfo:CapMask IsSM bit) for portnum of the IB device
16 ca_name , it stores resolved path in path array which cannot exceed max
17 bytes in length (including NULL terminator).
18 Opening issm device sets PortInfo:CapMask IsSM bit and closing clears
19 it.
20
22 umad_open_port() returns 0 on success and a negative value on error as
23 follows:
24 -ENODEV IB device can't be resolved
25 -EINVAL port is not valid (bad portnum or no umad device)
26
28 umad_open_port(3), umad_get_port(3)
29
31 Sasha Khapyorsky <sashak@voltaire.com>
32
33
34
35OpenIB Oct 18, 2007 UMAD_GET_ISSM_PATH(3)