1IBV_QUERY_RT_VALUES_EX(3)Libibverbs Programmer's ManualIBV_QUERY_RT_VALUES_EX(3)
2
3
4

NAME

6       ibv_query_rt_values_ex - query an RDMA device for some real time values
7

SYNOPSIS

9       #include <infiniband/verbs.h>
10
11       int ibv_query_rt_values_ex(struct ibv_context *context,
12                                  struct ibv_values_ex *values);
13

DESCRIPTION

15       ibv_query_rt_values_ex()  returns  certain real time values of a device
16       context.  The argument attr  is  a  pointer  to  an  ibv_device_attr_ex
17       struct, as defined in <infiniband/verbs.h>.
18
19       struct ibv_values_ex {
20               uint32_t             comp_mask;    /* Compatibility mask that defines the query/queried fields [in/out] */
21               struct timespec      raw_clock;    /* HW raw clock */
22       };
23
24       enum ibv_values_mask {
25               IBV_VALUES_MASK_RAW_CLOCK = 1 << 0, /* HW raw clock */
26       };
27
28

RETURN VALUE

30       ibv_query_rt_values_ex() returns 0 on success, or the value of errno on
31       failure (which indicates the failure reason).
32

NOTES

34       This extension verb only calls the provider, the provider has to  query
35       this value somehow and mark the queried values in the comp_mask field.
36

SEE ALSO

38       ibv_query_device(3),       ibv_open_device(3),       ibv_query_port(3),
39       ibv_query_pkey(3), ibv_query_gid(3)
40

AUTHORS

42       Matan Barak <matanb@mellanox.com>
43
44       Yishai Hadas <yishaih@mellanox.com>
45
46
47
48libibverbs                         2016-2-20         IBV_QUERY_RT_VALUES_EX(3)
Impressum