.\" 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 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