1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
|
.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "IBV_QUERY_ECE" "3" "2020-01-22" "libibverbs" "Libibverbs Programmer\[cq]s Manual"
.hy
.SH NAME
.PP
ibv_query_ece - query ECE options.
.SH SYNOPSIS
.IP
.nf
\f[C]
#include <infiniband/verbs.h>
int ibv_query_ece(struct ibv_qp *qp, struct ibv_ece *ece);
\f[R]
.fi
.SH DESCRIPTION
.PP
\f[B]ibv_query_ece()\f[R] query ECE options.
.PP
Return to the user current ECE state for the QP.
.SH ARGUMENTS
.TP
\f[I]qp\f[R]
The queue pair (QP) associated with the ECE options.
.TP
## \f[I]ece\f[R] Argument
The ECE values.
.IP
.nf
\f[C]
struct ibv_ece {
uint32_t vendor_id;
uint32_t options;
uint32_t comp_mask;
};
\f[R]
.fi
.TP
\f[I]vendor_id\f[R]
Unique identifier of the provider vendor on the network.
The providers will set IEEE OUI here to distinguish itself in
non-homogenius network.
.TP
\f[I]options\f[R]
Provider specific attributes which are supported.
.TP
\f[I]comp_mask\f[R]
Bitmask specifying what fields in the structure are valid.
.SH RETURN VALUE
.PP
\f[B]ibv_query_ece()\f[R] returns 0 when the call was successful, or the
errno value which indicates the failure reason.
.TP
\f[I]EOPNOTSUPP\f[R]
libibverbs or provider driver doesn\[cq]t support the ibv_set_ece()
verb.
.TP
\f[I]EINVAL\f[R]
In one of the following: o The QP is invalid.
o The ECE options are invalid.
.SH SEE ALSO
.PP
\f[B]ibv_set_ece\f[R](3),
.SH AUTHOR
.PP
Leon Romanovsky <leonro@mellanox.com>
|