]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rtrs: client: statistics functions
authorJack Wang <jinpu.wang@cloud.ionos.com>
Mon, 11 May 2020 13:51:13 +0000 (15:51 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Sun, 17 May 2020 21:57:14 +0000 (18:57 -0300)
commit89dd4c3bdc46688b1af53298890161d22f7314cb
tree9c74f56cd14bc131976631b3f3fa2b089cd242ac
parent6a98d71daea186247005099758af549e6afdd244
RDMA/rtrs: client: statistics functions

This introduces set of functions used on client side to account statistics
of RDMA data sent/received, amount of IOs inflight, latency, cpu
migrations, etc.  Almost all statistics are collected using percpu
variables.

Link: https://lore.kernel.org/r/20200511135131.27580-8-danil.kipnis@cloud.ionos.com
Signed-off-by: Danil Kipnis <danil.kipnis@cloud.ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@cloud.ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/rtrs/rtrs-clt-stats.c [new file with mode: 0644]