diff options
author | Raed Salem <raeds@mellanox.com> | 2018-05-31 15:43:33 +0200 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2018-06-02 06:33:54 +0200 |
commit | 51d7a5387464f1b1fee3f2db9287409189d83d65 (patch) | |
tree | 0e2e67a88f24c44e905a26288b1a19df5aecc445 /include/uapi/rdma | |
parent | IB/uverbs: Add create/destroy counters support (diff) | |
download | linux-51d7a5387464f1b1fee3f2db9287409189d83d65.tar.xz linux-51d7a5387464f1b1fee3f2db9287409189d83d65.zip |
IB/core: Introduce counters read verb
The user supplies counters instance and a reference to an output array of
uint64_t. The driver reads the hardware counters values and writes them
to the output index location in the user supplied array. All counters
values are represented as uint64_t types.
To be able to successfully read the data the counters must be first bound
to an IB object.
Downstream patches will present binding method for flow counters.
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Raed Salem <raeds@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi/rdma')
0 files changed, 0 insertions, 0 deletions