1IBV_QUERY_ECE(3)        Libibverbs Programmer’s Manual        IBV_QUERY_ECE(3)
2
3
4

NAME

6       ibv_query_ece - query ECE options.
7

SYNOPSIS

9              #include <infiniband/verbs.h>
10
11              int ibv_query_ece(struct ibv_qp *qp, struct ibv_ece *ece);
12

DESCRIPTION

14       ibv_query_ece() query ECE options.
15
16       Return to the user current ECE state for the QP.
17

ARGUMENTS

19       qp     The queue pair (QP) associated with the ECE options.
20
21       ## ece Argument
22              The ECE values.
23
24              struct ibv_ece {
25                  uint32_t vendor_id;
26                  uint32_t options;
27                  uint32_t comp_mask;
28              };
29
30       vendor_id
31              Unique  identifier  of  the provider vendor on the network.  The
32              providers will set IEEE OUI here to distinguish itself  in  non-
33              homogenius network.
34
35       options
36              Provider specific attributes which are supported.
37
38       comp_mask
39              Bitmask specifying what fields in the structure are valid.
40

RETURN VALUE

42       ibv_query_ece()  returns  0  when the call was successful, or the errno
43       value which indicates the failure reason.
44
45       EOPNOTSUPP
46              libibverbs or provider driver doesn’t support the  ibv_set_ece()
47              verb.
48
49       EINVAL In one of the following: o The QP is invalid.  o The ECE options
50              are invalid.
51

SEE ALSO

53       ibv_set_ece(3),
54

AUTHOR

56       Leon Romanovsky <leonro@mellanox.com>
57
58
59
60libibverbs                        2020-01-22                  IBV_QUERY_ECE(3)
Impressum