diff options
author | Michael Guralnik <michaelgur@nvidia.com> | 2023-01-26 00:28:04 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2023-01-27 13:04:09 -0400 |
commit | b9584517832858a0f78d6851d09b697a829514cd (patch) | |
tree | edbd61efcb53909a45bb403674a286f5391148bd /lib/ts_fsm.c | |
parent | 18b1746bddf5e7f6b2618966596d9517172a5cd7 (diff) | |
download | linux-b9584517832858a0f78d6851d09b697a829514cd.tar.gz linux-b9584517832858a0f78d6851d09b697a829514cd.tar.bz2 linux-b9584517832858a0f78d6851d09b697a829514cd.zip |
RDMA/mlx5: Change the cache structure to an RB-tree
Currently, the cache structure is a static linear array. Therefore, his
size is limited to the number of entries in it and is not expandable. The
entries are dedicated to mkeys of size 2^x and no access_flags. Mkeys with
different properties are not cacheable.
In this patch, we change the cache structure to an RB-tree. This will
allow to extend the cache to support more entries with different mkey
properties.
Link: https://lore.kernel.org/r/20230125222807.6921-4-michaelgur@nvidia.com
Signed-off-by: Michael Guralnik <michaelgur@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions