]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/mlx5: Introduce ODP prefetch counter
authorMaor Gottlieb <maorg@mellanox.com>
Sun, 21 Jun 2020 10:41:47 +0000 (13:41 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 3 Jul 2020 12:16:25 +0000 (09:16 -0300)
commite2d2bff3d88b4cf7278ab156b46f3e7f19c74164
tree7eaf69c0231b8059552fe3033d8025b78616a4ec
parent7df68912c1307478f1976f9505be2ecb2368b7cc
RDMA/mlx5: Introduce ODP prefetch counter

For debugging purpose it will be easier to understand if prefetch works
okay if it has its own counter. Introduce ODP prefetch counter and count
per MR the total number of prefetched pages.

In addition remove comment which is not relevant anymore and anyway not in
the correct place.

Link: https://lore.kernel.org/r/20200621104147.53795-1-leon@kernel.org
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/mlx5/odp.c
drivers/infiniband/hw/mlx5/restrack.c
include/rdma/ib_verbs.h