OpenCloudOS-Kernel/drivers/infiniband
Long Li e6be95592c RDMA/mana_ib: use the correct page table index based on hardware page size
[ Upstream commit 9e517a8e9d9a303bf9bde35e5c5374795544c152 ]

MANA hardware uses 4k page size. When calculating the page table index,
it should use the hardware page size, not the system page size.

Cc: stable@vger.kernel.org
Fixes: 0266a17763 ("RDMA/mana_ib: Add a driver for Microsoft Azure Network Adapter")
Signed-off-by: Long Li <longli@microsoft.com>
Link: https://patch.msgid.link/1725030993-16213-1-git-send-email-longli@linuxonhyperv.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-10 11:58:03 +02:00
..
core IB/core: Fix ib_cache_setup_one error flow cleanup 2024-10-04 16:29:32 +02:00
hw RDMA/mana_ib: use the correct page table index based on hardware page size 2024-10-10 11:58:03 +02:00
sw RDMA/rxe: Don't set BTH_ACK_MASK for UC or UD QPs 2024-08-03 08:53:59 +02:00
ulp RDMA/rtrs-clt: Reset cid to con_num - 1 to stay in bounds 2024-10-04 16:29:31 +02:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile