Commit 3c301b8a authored by Chengchang Tang's avatar Chengchang Tang Committed by Greg Kroah-Hartman
Browse files

RDMA/hns: Fix missing pagesize and alignment check in FRMR



[ Upstream commit d387d4b5 ]

The offset requires 128B alignment and the page size ranges from
4K to 128M.

Fixes: 68a997c5 ("RDMA/hns: Add FRMR support for hip08")
Signed-off-by: default avatarChengchang Tang <tangchengchang@huawei.com>
Signed-off-by: default avatarJunxian Huang <huangjunxian6@hisilicon.com>
Link: https://lore.kernel.org/r/20240710133705.896445-5-huangjunxian6@hisilicon.com


Signed-off-by: default avatarLeon Romanovsky <leon@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent dc00026b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment