NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | RETURN VALUE | SEE ALSO | AUTHOR | COLOPHON |
|
|
HNSDV_CREATE_QP(3) HNS Programmer’s Manual HNSDV_CREATE_QP(3)
hnsdv_create_qp - creates a HNS specific queue pair (QP)
#include <infiniband/hnsdv.h> struct ibv_qp *hnsdv_create_qp(struct ibv_context *context, struct ibv_qp_init_attr_ex *qp_attr, struct hnsdv_qp_init_attr *hns_attr);
hnsdv_create_qp() creates a HNS specific queue pair (QP) with specific driver properties.
Please see ibv_create_qp_ex(3) man page for context and qp_attr. hns_attr struct hnsdv_qp_init_attr { uint64_t comp_mask; uint32_t create_flags; uint8_t congest_type; uint8_t reserved[3]; }; comp_mask Bitmask specifying what fields in the structure are valid: HNSDV_QP_INIT_ATTR_MASK_QP_CONGEST_TYPE: Valid values in congest_type. Allow setting a congestion control algorithm for QP. create_flags Enable the QP of a feature. congest_type Type of congestion control algorithm: HNSDV_QP_CREATE_ENABLE_DCQCN: Data Center Quantized Congestion Notification HNSDV_QP_CREATE_ENABLE_LDCP: Low Delay Control Protocol HNSDV_QP_CREATE_ENABLE_HC3: Huawei Converged Congestion Control HNSDV_QP_CREATE_ENABLE_DIP: Destination IP based Quantized Congestion Notification
hnsdv_create_qp() returns a pointer to the created QP, on error NULL will be returned and errno will be set.
ibv_create_qp_ex(3)
Junxian Huang ⟨huangjunxian6@hisilicon.com⟩
This page is part of the rdma-core (RDMA Core Userspace Libraries
and Daemons) project. Information about the project can be found
at ⟨https://github.com/linux-rdma/rdma-core⟩. If you have a bug
report for this manual page, send it to
linux-rdma@vger.kernel.org. This page was obtained from the
project's upstream Git repository
⟨https://github.com/linux-rdma/rdma-core.git⟩ on 2025-08-11. (At
that time, the date of the most recent commit that was found in
the repository was 2025-08-04.) If you discover any rendering
problems in this HTML version of the page, or you believe there is
a better or more up-to-date source for the page, or you have
corrections or improvements to the information in this COLOPHON
(which is not part of the original manual page), send a mail to
man-pages@man7.org
hns 2024-02-06 HNSDV_CREATE_QP(3)