Skip to content
Commit 5b6eb54f authored by Wei Hu(Xavier)'s avatar Wei Hu(Xavier) Committed by Jason Gunthorpe
Browse files

RDMA/hns: Modify uar allocation algorithm to avoid bitmap exhaust



This patch modified uar allocation algorithm in hns_roce_uar_alloc
function to avoid bitmap exhaust.

Signed-off-by: default avatarWei Hu (Xavier) <xavier.huwei@huawei.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@mellanox.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent c62091bc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment