.\" Automatically generated by Pandoc 2.9.2.1 .\" .TH "EFADV_QUERY_QP_WQS" "3" "2025-05-14" "efa" "EFA Direct Verbs Manual" .hy .SH NAME .PP efadv_query_qp_wqs - Query EFA specific Queue Pair work queue attributes .SH SYNOPSIS .IP .nf \f[C] #include int efadv_query_qp_wqs(struct ibv_qp *ibvqp, struct efadv_wq_attr *sq_attr, struct efadv_wq_attr *rq_attr, uint32_t inlen); \f[R] .fi .SH DESCRIPTION .PP \f[B]efadv_query_qp_wqs()\f[R] queries device-specific Queue Pair work queue attributes. .PP Compatibility is handled using the comp_mask and inlen fields. .IP .nf \f[C] struct efadv_wq_attr { uint64_t comp_mask; uint8_t *buffer; uint32_t entry_size; uint32_t num_entries; uint32_t *doorbell; uint32_t max_batch; uint8_t reserved[4]; }; \f[R] .fi .TP \f[I]inlen\f[R] In: Size of struct efadv_wq_attr. .TP \f[I]comp_mask\f[R] Compatibility mask. .TP \f[I]buffer\f[R] Queue buffer. .TP \f[I]entry_size\f[R] Size of each entry in the queue. .TP \f[I]num_entries\f[R] Maximal number of entries in the queue. .TP \f[I]doorbell\f[R] Queue doorbell. .TP \f[I]max_batch\f[R] Maximum batch size for queue submissions. .SH RETURN VALUE .PP \f[B]efadv_query_qp_wqs()\f[R] returns 0 on success, or the value of errno on failure (which indicates the failure reason). .SH SEE ALSO .PP \f[B]efadv\f[R](7) .SH NOTES .IP \[bu] 2 Compatibility mask (comp_mask) is an out field and currently has no values. .SH AUTHORS .PP Michael Margolin