On Sun, 19 Jan 2025 14:39:46 +0200, Leon Romanovsky wrote: > When a DCT QP is created on an active lag, it's dctc.port is assigned > in a round-robin way, which is from 1 to dev->lag_port. In this case > when querying this QP, we may get qp_attr.port_num > 2. > Fix this by setting qp->port when modifying a DCT QP, and read port_num > from qp->port instead of dctc.port when querying it. > > > [...] Applied, thanks! [1/1] IB/mlx5: Set and get correct qp_num for a DCT QP https://git.kernel.org/rdma/rdma/c/12d044770e12c4 Best regards, -- Leon Romanovsky <leon@xxxxxxxxxx>