.\" Automatically generated by Pandoc 3.1.8 .\" .TH "IBV_QUERY_ECE" "3" "2020-01-22" "libibverbs" "Libibverbs Programmer\[cq]s Manual" .SH NAME ibv_query_ece - query ECE options. .SH SYNOPSIS .IP .EX #include int ibv_query_ece(struct ibv_qp *qp, struct ibv_ece *ece); .EE .SH DESCRIPTION \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 .EX struct ibv_ece { uint32_t vendor_id; uint32_t options; uint32_t comp_mask; }; .EE .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 \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 \f[B]ibv_set_ece\f[R](3), .SH AUTHOR Leon Romanovsky