summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorwenglianfa <wenglianfa@huawei.com>2024-12-20 13:52:46 +0800
committerLeon Romanovsky <leon@kernel.org>2024-12-23 09:58:30 -0500
commit8673a6c2d9e483dfeeef83a1f06f59e05636f4d1 (patch)
tree375e06f328ddbc28cb24664865a9dbe1b1931fef /lib/mpi/mpiutil.c
parent9272cba0ded71b5a2084da3004ec7806b8cb7fd2 (diff)
RDMA/hns: Fix mapping error of zero-hop WQE buffer
Due to HW limitation, the three region of WQE buffer must be mapped and set to HW in a fixed order: SQ buffer, SGE buffer, and RQ buffer. Currently when one region is zero-hop while the other two are not, the zero-hop region will not be mapped. This violate the limitation above and leads to address error. Fixes: 38389eaa4db1 ("RDMA/hns: Add mtr support for mixed multihop addressing") Signed-off-by: wenglianfa <wenglianfa@huawei.com> Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://patch.msgid.link/20241220055249.146943-2-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions