]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/mlx5: Fix vport loopback for MPV device
authorPatrisious Haddad <phaddad@nvidia.com>
Mon, 16 Jun 2025 09:14:54 +0000 (12:14 +0300)
committerLeon Romanovsky <leon@kernel.org>
Wed, 25 Jun 2025 07:41:59 +0000 (03:41 -0400)
commita9a9e68954f29b1e197663f76289db4879fd51bb
tree477fb65cb9670350ee9297074c4b6ebabff3d7a1
parentacd245b1e33fc4b9d0f2e3372021d632f7ee0652
RDMA/mlx5: Fix vport loopback for MPV device

Always enable vport loopback for both MPV devices on driver start.

Previously in some cases related to MPV RoCE, packets weren't correctly
executing loopback check at vport in FW, since it was disabled.
Due to complexity of identifying such cases for MPV always enable vport
loopback for both GVMIs when binding the slave to the master port.

Fixes: 0042f9e458a5 ("RDMA/mlx5: Enable vport loopback when user context or QP mandate")
Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Link: https://patch.msgid.link/d4298f5ebb2197459e9e7221c51ecd6a34699847.1750064969.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/main.c