]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/rdmavt: Correct multi-port QP iteration
authorDean Luick <dean.luick@cornelisnetworks.com>
Mon, 9 Mar 2026 20:44:54 +0000 (16:44 -0400)
committerLeon Romanovsky <leon@kernel.org>
Wed, 11 Mar 2026 19:17:28 +0000 (15:17 -0400)
commit0fed679e0862b3abd706041be3cc7620318fbee8
treef3d6f34397fbb5cdfb1791830783694c16b82dac
parent679eb25de4ee537f209c6d81f7808ad65b03bbbc
RDMA/rdmavt: Correct multi-port QP iteration

When finding special QPs, the iterator makes an incorrect port
index calculation.  Fix the calculation.

Signed-off-by: Dean Luick <dean.luick@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Link: https://patch.msgid.link/177308909468.1279894.5073405674644246445.stgit@awdrv-04.cornelisnetworks.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/sw/rdmavt/qp.c