Debian Codegraph @

libibverbs/man/ibv_query_ece.3.md

raw symbols SCIP
1 ---
2 date: 2020-01-22
3 footer: libibverbs
4 header: "Libibverbs Programmer's Manual"
5 layout: page
6 license: 'Licensed under the OpenIB.org BSD license (FreeBSD Variant) - See COPYING.md'
7 section: 3
8 title: IBV_QUERY_ECE
9 ---
10
11 # NAME
12
13 ibv_query_ece - query ECE options.
14
15 # SYNOPSIS
16
17 ```c
18 #include <infiniband/verbs.h>
19
20 int ibv_query_ece(struct ibv_qp *qp, struct ibv_ece *ece);
21 ```
22
23 # DESCRIPTION
24
25 **ibv_query_ece()** query ECE options.
26
27 Return to the user current ECE state for the QP.
28
29 # ARGUMENTS
30 *qp*
31 : The queue pair (QP) associated with the ECE options.
32
33 ## *ece* Argument
34 : The ECE values.
35
36 ```c
37 struct ibv_ece {
38 uint32_t vendor_id;
39 uint32_t options;
40 uint32_t comp_mask;
41 };
42 ```
43
44 *vendor_id*
45 : Unique identifier of the provider vendor on the network.
46 The providers will set IEEE OUI here to distinguish itself
47 in non-homogenius network.
48
49 *options*
50 : Provider specific attributes which are supported.
51
52 *comp_mask*
53 : Bitmask specifying what fields in the structure are valid.
54
55 # RETURN VALUE
56
57 **ibv_query_ece()** returns 0 when the call was successful, or the errno value
58 which indicates the failure reason.
59
60 *EOPNOTSUPP*
61 : libibverbs or provider driver doesn't support the ibv_set_ece() verb.
62
63 *EINVAL*
64 : In one of the following:
65 o The QP is invalid.
66 o The ECE options are invalid.
67
68 # SEE ALSO
69
70 **ibv_set_ece**(3),
71
72 # AUTHOR
73
74 Leon Romanovsky <[email protected]>
75