| 1 |
.\" Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md |
| 2 |
.TH IBV_UD_PINGPONG 1 "August 30, 2005" "libibverbs" "USER COMMANDS" |
| 3 |
|
| 4 |
.SH NAME |
| 5 |
ibv_ud_pingpong \- simple InfiniBand UD transport test |
| 6 |
|
| 7 |
.SH SYNOPSIS |
| 8 |
.B ibv_ud_pingpong |
| 9 |
[\-p port] [\-d device] [\-i ib port] [\-s size] [\-r rx depth] |
| 10 |
[\-n iters] [\-l sl] [\-e] [\-g gid index] \fBHOSTNAME\fR |
| 11 |
|
| 12 |
.B ibv_ud_pingpong |
| 13 |
[\-p port] [\-d device] [\-i ib port] [\-s size] [\-r rx depth] |
| 14 |
[\-n iters] [\-l sl] [\-e] [\-g gid index] |
| 15 |
|
| 16 |
.SH DESCRIPTION |
| 17 |
.PP |
| 18 |
Run a simple ping-pong test over InfiniBand via the unreliable |
| 19 |
datagram (UD) transport. |
| 20 |
|
| 21 |
.SH OPTIONS |
| 22 |
|
| 23 |
.PP |
| 24 |
.TP |
| 25 |
\fB\-p\fR, \fB\-\-port\fR=\fIPORT\fR |
| 26 |
use TCP port \fIPORT\fR for initial synchronization (default 18515) |
| 27 |
.TP |
| 28 |
\fB\-d\fR, \fB\-\-ib\-dev\fR=\fIDEVICE\fR |
| 29 |
use IB device \fIDEVICE\fR (default first device found) |
| 30 |
.TP |
| 31 |
\fB\-i\fR, \fB\-\-ib\-port\fR=\fIPORT\fR |
| 32 |
use IB port \fIPORT\fR (default port 1) |
| 33 |
.TP |
| 34 |
\fB\-s\fR, \fB\-\-size\fR=\fISIZE\fR |
| 35 |
ping-pong messages of size \fISIZE\fR (default 2048) |
| 36 |
.TP |
| 37 |
\fB\-r\fR, \fB\-\-rx\-depth\fR=\fIDEPTH\fR |
| 38 |
post \fIDEPTH\fR receives at a time (default 500) |
| 39 |
.TP |
| 40 |
\fB\-n\fR, \fB\-\-iters\fR=\fIITERS\fR |
| 41 |
perform \fIITERS\fR message exchanges (default 1000) |
| 42 |
.TP |
| 43 |
\fB\-l\fR, \fB\-\-sl\fR=\fISL\fR |
| 44 |
send messages with service level \fISL\fR (default 0) |
| 45 |
.TP |
| 46 |
\fB\-e\fR, \fB\-\-events\fR |
| 47 |
sleep while waiting for work completion events (default is to poll for |
| 48 |
completions) |
| 49 |
.TP |
| 50 |
\fB\-g\fR, \fB\-\-gid-idx\fR=\fIGIDINDEX\fR |
| 51 |
local port \fIGIDINDEX\fR |
| 52 |
.TP |
| 53 |
\fB\-c\fR, \fB\-\-chk\fR |
| 54 |
validate received buffer |
| 55 |
|
| 56 |
.SH SEE ALSO |
| 57 |
.BR ibv_rc_pingpong (1), |
| 58 |
.BR ibv_uc_pingpong (1), |
| 59 |
.BR ibv_srq_pingpong (1), |
| 60 |
.BR ibv_xsrq_pingpong (1) |
| 61 |
|
| 62 |
.SH AUTHORS |
| 63 |
.TP |
| 64 |
Roland Dreier |
| 65 |
.RI < [email protected] > |
| 66 |
|
| 67 |
.SH BUGS |
| 68 |
The network synchronization between client and server instances is |
| 69 |
weak, and does not prevent incompatible options from being used on the |
| 70 |
two instances. The method used for retrieving work completions is not |
| 71 |
strictly correct, and race conditions may cause failures on some |
| 72 |
systems. |