Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 4.8

i386

umad_send(3)


UMAD_SEND

UMAD_SEND

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
AUTHOR

NAME

umad_send − send umad

SYNOPSIS

#include <infiniband/umad.h>

int umad_send(int portid, int agentid, void *umad, int timeout_ms, int retries);

DESCRIPTION

umad_send() sends the specified umad buffer from the port specified by portid, and using the agent specified by agentid. timeout_ms controls the solicited MADs behavior as follows: zero value means not solicited. Positive value makes kernel indicate timeout in milliseconds. If reply is not received within the specified value, the original buffer is returned in the read channel with the status field set (to non zero). Negative timeout_ms makes kernel wait forever for the reply. retries indicates the number of times the MAD will be retried before giving up.

RETURN VALUE

umad_send() returns 0 on success, and a negative value on error as follows:
-EINVAL invalid port handle or agentid
-EIO send operation failed

AUTHOR

Hal Rosenstock <halr@voltaire.com>



umad_send(3)