go to
> umad_open_port(3)
> umad_get_port(3)
Homepage > Man Pages > Category > Subroutines
Homepage > Man Pages > Name > U

umad_get_issm_path

man page of umad_get_issm_path

umad_get_issm_path: 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_get_port(3)

AUTHOR

Sasha Khapyorsky <sashak@voltaire.com> UMAD_GET_ISSM_PATH(3)
 
 
 

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 30.69ms.

doomsdaydude.com | brauchbar.de | meinehunde.net