{IB,net}/mlx5: Assign mkey variant in mlx5_ib only
mkey variant is not required for mlx5_core use, move the mkey variant counter to mlx5_ib. Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
This commit is contained in:

gecommit door
Leon Romanovsky

bovenliggende
54c62e13ad
commit
fc6a9f86f0
@@ -992,6 +992,11 @@ struct mlx5_ib_dev {
|
||||
/* sync used page count stats
|
||||
*/
|
||||
struct mlx5_ib_resources devr;
|
||||
|
||||
/* protect mkey key part */
|
||||
spinlock_t mkey_lock;
|
||||
u8 mkey_key;
|
||||
|
||||
struct mlx5_mr_cache cache;
|
||||
struct timer_list delay_timer;
|
||||
/* Prevents soft lock on massive reg MRs */
|
||||
|
Verwijs in nieuw issue
Block a user