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