Section: OpenIB Programmer's Manual (3)Updated: Oct 18, 2007Local indexUp
umad_get_issm_path - get path of issm device
#include <infiniband/umad.h>int umad_get_issm_path(char *ca_name, int portnum,char*path,intmax);
resolves path to issm device (which used for setting/clearing PortInfo:CapMask IsSM bit) for
of the IB device
, it stores resolved path in
array which cannot exceed
bytes in length (including NULL terminator).
Opening issm device sets PortInfo:CapMask IsSM bit and closing clears it.
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
or no umad device)