Query: umad_poll
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UMAD_POLL(3) OpenIB Programmer's Manual UMAD_POLL(3)NAMEumad_poll - poll umadSYNOPSIS#include <infiniband/umad.h> int umad_poll(int portid, int timeout_ms);DESCRIPTIONumad_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 VALUEumad_poll() returns 0 on success, and a negative value on error as follows: -EINVAL invalid port handle or agentid -ETIMEDOUT poll operation timed out -EIO poll operation failedSEE ALSOumad_recv(3)AUTHORHal Rosenstock <halr@voltaire.com> OpenIB October 23, 2007 UMAD_POLL(3)
Related Man Pages |
---|
umad_recv(3) - centos |
umad_get_port(3) - centos |
umad_set_grh_net(3) - centos |
umad_get_port(3) - debian |
ibcheckport(8) - debian |
Similar Topics in the Unix Linux Community |
---|
How to increment version inside a file? |
CentOS7 restoring file capabilities |
Shopt -s histappend |
[TIP] Processing YAML files with yq |
Please Welcome Dave Munro to the Moderator Team! |