diff options
| author | Raed Salem <raeds@mellanox.com> | 2018-05-31 16:43:33 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leonro@mellanox.com> | 2018-06-02 07:33:54 +0300 |
| commit | 51d7a5387464f1b1fee3f2db9287409189d83d65 (patch) | |
| tree | 0e2e67a88f24c44e905a26288b1a19df5aecc445 /lib/mpi/mpicoder.c | |
| parent | d9a5a6441e9dde080e9d69e736c623f7369472ed (diff) | |
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 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
