]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fix retrieval of index to first hi class bfreg
authorEli Cohen <eli@mellanox.com>
Tue, 3 Jan 2017 21:55:22 +0000 (23:55 +0200)
committerLeon Romanovsky <leon@kernel.org>
Sun, 8 Jan 2017 09:21:26 +0000 (11:21 +0200)
commit2081a4a30fa9e2b351419f7afb802dc1fd658e83
tree95c1e35de630935e82e2fb5b1a4a9dd2630b6005
parentf6617ed2062a30a5c97969b8d15bcc1ab15168e5
IB/mlx5: Fix retrieval of index to first hi class bfreg

First the function retrieving the index of the first hi latency class
blue flame register. High latency class bfregs are located right above
medium latency class bfregs.

Fixes: a55d9badedef ('IB/mlx5: Fix micro UAR allocator')
Signed-off-by: Eli Cohen <eli@mellanox.com>
Reviewed-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/qp.c