umad_poll man page on Scientific

Man page or keyword search:  
man Server   26626 pages
apropos Keyword Search (all sections)
Output format
Scientific logo
[printable version]

UMAD_POLL(3)		  OpenIB Programmer´s Manual		  UMAD_POLL(3)

NAME
       umad_poll - poll umad

SYNOPSIS
       #include <infiniband/umad.h>

       int umad_poll(int portid, int timeout_ms);

DESCRIPTION
       umad_poll()  waits  up  to  timeout_ms  milliseconds for a packet to be
       received from the port specified by portid.  Once a packet is ready  to
       be  read,  the  function	 returns  0. After that the packet can be read
       using umad_recv().  Otherwise, -ETIMEDOUT is returned. Note  that  suc‐
       cessfully  polling  a  port  does  not  guarantee  that	the subsequent
       umad_recv() will be non blocking when several  threads  are  using  the
       same  port.  Instead, use a timeout_ms parameter of zero to umad_recv()
       to ensure a non-blocking read.

RETURN VALUE
       umad_poll() returns 0 on success, and a negative value on error as fol‐
       lows:
	-EINVAL	   invalid port handle or agentid
	-ETIMEDOUT poll operation timed out
	-EIO	   poll operation failed

SEE ALSO
       umad_recv(3)

AUTHOR
       Hal Rosenstock <halr@voltaire.com>

OpenIB			       October 23, 2007			  UMAD_POLL(3)
[top]

List of man pages available for Scientific

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net