projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RDMA/mlx5: Cache all user cacheable mkeys on dereg MR flow
[linux-2.6-microblaze.git]
/
drivers
/
infiniband
/
hw
/
mlx5
/
mlx5_ib.h
diff --git
a/drivers/infiniband/hw/mlx5/mlx5_ib.h
b/drivers/infiniband/hw/mlx5/mlx5_ib.h
index
a9ef9d7
..
c9c80af
100644
(file)
--- a/
drivers/infiniband/hw/mlx5/mlx5_ib.h
+++ b/
drivers/infiniband/hw/mlx5/mlx5_ib.h
@@
-630,6
+630,8
@@
struct mlx5_ib_mkey {
unsigned int ndescs;
struct wait_queue_head wait;
refcount_t usecount;
+ /* User Mkey must hold either a rb_key or a cache_ent. */
+ struct mlx5r_cache_rb_key rb_key;
struct mlx5_cache_ent *cache_ent;
};