diff options
author | Chengchang Tang <tangchengchang@huawei.com> | 2024-04-12 17:16:13 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-04-16 15:06:47 +0300 |
commit | ee045493283403969591087bd405fa280103282a (patch) | |
tree | 2ff23e5373914df940951a9221587760c4f61e74 /drivers/infiniband/hw/hns/hns_roce_srq.c | |
parent | dc3bda6e568e9310b7cd07769dd70a3f0cd696ca (diff) | |
download | linux-ee045493283403969591087bd405fa280103282a.tar.gz linux-ee045493283403969591087bd405fa280103282a.tar.bz2 linux-ee045493283403969591087bd405fa280103282a.zip |
RDMA/hns: Fix GMV table pagesize
GMV's BA table only supports 4K pages. Currently, PAGESIZE is used to
calculate gmv_bt_num, which will cause an abnormal number of gmv_bt_num
in a 64K OS.
Fixes: d6d91e46210f ("RDMA/hns: Add support for configuring GMV table")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240412091616.370789-8-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_srq.c')
0 files changed, 0 insertions, 0 deletions