projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f10242b
)
RDMA/mlx5: Uncacheable mkey has neither rb_key or cache_ent
author
Or Har-Toov
<ohartoov@nvidia.com>
Wed, 3 Apr 2024 10:35:59 +0000
(13:35 +0300)
committer
Leon Romanovsky
<leon@kernel.org>
Mon, 8 Apr 2024 10:34:47 +0000
(13:34 +0300)
As some mkeys can't be modified with UMR due to some UMR limitations,
like the size of translation that can be updated, not all user mkeys can
be cached.
Fixes:
dd1b913fb0d0
("RDMA/mlx5: Cache all user cacheable mkeys on dereg MR flow")
Signed-off-by: Or Har-Toov <ohartoov@nvidia.com>
Link:
https://lore.kernel.org/r/f2742dd934ed73b2d32c66afb8e91b823063880c.1712140377.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/mlx5_ib.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/mlx5/mlx5_ib.h
b/drivers/infiniband/hw/mlx5/mlx5_ib.h
index
a8de35c
..
e74f048
100644
(file)
--- a/
drivers/infiniband/hw/mlx5/mlx5_ib.h
+++ b/
drivers/infiniband/hw/mlx5/mlx5_ib.h
@@
-643,7
+643,7
@@
struct mlx5_ib_mkey {
unsigned int ndescs;
struct wait_queue_head wait;
refcount_t usecount;
- /*
U
ser Mkey must hold either a rb_key or a cache_ent. */
+ /*
Cacheable u
ser Mkey must hold either a rb_key or a cache_ent. */
struct mlx5r_cache_rb_key rb_key;
struct mlx5_cache_ent *cache_ent;
};