commit | 5b6eb54f586ba0a6385f1523bce4c96cbdb79afd | [log] [tgz] |
---|---|---|
author | Wei Hu(Xavier) <xavier.huwei@huawei.com> | Wed May 23 18:16:27 2018 +0800 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Thu May 24 15:41:52 2018 -0600 |
tree | e13b4f4ce5ff76047168fbe5df167009273975dc | |
parent | c62091bcd9843eedde93f1898ca05765a6875c18 [diff] |
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: Wei Hu (Xavier) <xavier.huwei@huawei.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>