File: 488157a3da9c72a87455826d599ca51a8d4a3716

package info (click to toggle)
rdma-core 56.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,196 kB
  • sloc: ansic: 171,361; python: 13,724; sh: 2,774; perl: 1,465; makefile: 73
file content (66 lines) | stat: -rw-r--r-- 1,608 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
.\" Automatically generated by Pandoc 2.9.2.1
.\"
.TH "HNSDV_QUERY_DEVICE" "3" "2024-02-06" "hns" "HNS Direct Verbs Manual"
.hy
.SH NAME
.PP
hnsdv_query_device - Query hns device specific attributes
.SH SYNOPSIS
.IP
.nf
\f[C]
#include <infiniband/hnsdv.h>
int hnsdv_query_device(struct ibv_context *context,
                       struct hnsdv_context *attrs_out);
\f[R]
.fi
.SH DESCRIPTION
.PP
\f[B]hnsdv_query_device()\f[R] Queries hns device specific attributes.
.SH ARGUMENTS
.PP
Please see \f[I]ibv_query_device(3)\f[R] man page for \f[I]context\f[R].
.SS attrs_out
.IP
.nf
\f[C]
struct hnsdv_context {
        uint64_t comp_mask;
        uint64_t flags;
        uint8_t congest_type;
        uint8_t reserved[7];
};
\f[R]
.fi
.TP
\f[I]comp_mask\f[R]
Bitmask specifying what fields in the structure are valid:
.RS
.PP
HNSDV_CONTEXT_MASK_CONGEST_TYPE: Congestion control algorithm is
supported.
.RE
.TP
\f[I]congest_type\f[R]
Bitmask of supported congestion control algorithms.
.RS
.PP
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
.RE
.SH RETURN VALUE
.PP
\f[B]hnsdv_query_device()\f[R] returns 0 on success, or the value of
errno on failure (which indicates the failure reason).
.SH SEE ALSO
.PP
\f[B]ibv_query_device\f[R](3)
.SH NOTES
.IP \[bu] 2
\f[I]flags\f[R] is an out field and currently has no values.
.SH AUTHORS
.PP
Junxian Huang <huangjunxian6@hisilicon.com>