Movatterモバイル変換


[0]ホーム

URL:


man7.org > Linux >man-pages

Linux/UNIX system programming training


hnsdv_query_device(3) — Linux manual page

NAME |SYNOPSIS |DESCRIPTION |ARGUMENTS |RETURN VALUE |SEE ALSO |NOTES |AUTHORS |COLOPHON

HNSDV_QUERY_DEVICE(3)    HNS Direct Verbs ManualHNSDV_QUERY_DEVICE(3)

NAME        top

       hnsdv_query_device - Query hns device specific attributes

SYNOPSIS        top

              #include <infiniband/hnsdv.h>              int hnsdv_query_device(struct ibv_context *context,                                     struct hnsdv_context *attrs_out);

DESCRIPTION        top

hnsdv_query_device()Queries hns device specific attributes.

ARGUMENTS        top

       Please seeibv_query_device(3) man page forcontext.attrs_out              struct hnsdv_context {                      uint64_t comp_mask;                      uint64_t flags;                      uint8_t congest_type;                      uint8_t reserved[7];              };comp_mask              Bitmask specifying what fields in the structure are valid:              HNSDV_CONTEXT_MASK_CONGEST_TYPE: Congestion control              algorithm is supported.congest_type              Bitmask of supported congestion control algorithms.              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

RETURN VALUE        top

hnsdv_query_device()returns 0 on success, or the value of errno       on failure (which indicates the failure reason).

SEE ALSO        top

ibv_query_device(3)

NOTES        top

flags is an out field and currently has no values.

AUTHORS        top

       Junxian Huang ⟨huangjunxian6@hisilicon.com⟩

COLOPHON        top

       This page is part of therdma-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 isnot part of the original manual page), send a mail to       man-pages@man7.orghns                             2024-02-06HNSDV_QUERY_DEVICE(3)


HTML rendering created 2025-09-06 byMichael Kerrisk, author ofThe Linux Programming Interface.

For details of in-depthLinux/UNIX system programming training courses that I teach, lookhere.

Hosting byjambit GmbH.

Cover of TLPI


[8]ページ先頭

©2009-2025 Movatter.jp