diff options
author | Chengchang Tang <tangchengchang@huawei.com> | 2024-07-10 21:37:01 +0800 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-07-11 13:25:11 +0300 |
commit | d387d4b54eb84208bd4ca13572e106851d0a0819 (patch) | |
tree | 73625455092c54dd06019c05ae30e9c45e55ecf6 /drivers/infiniband/hw/hns/hns_roce_hem.c | |
parent | 543fb987bd63ed27409b5dea3d3eec27b9c1eac9 (diff) |
RDMA/hns: Fix missing pagesize and alignment check in FRMR
The offset requires 128B alignment and the page size ranges from
4K to 128M.
Fixes: 68a997c5d28c ("RDMA/hns: Add FRMR support for hip08")
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240710133705.896445-5-huangjunxian6@hisilicon.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'drivers/infiniband/hw/hns/hns_roce_hem.c')
0 files changed, 0 insertions, 0 deletions