]> git.itanic.dy.fi Git - linux-stable/commit
RDMA/mlx5: Free second uplink ib port
authorShay Drory <shayd@nvidia.com>
Tue, 6 Jun 2023 07:12:05 +0000 (00:12 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 7 Jun 2023 21:00:42 +0000 (14:00 -0700)
commit962825e534a998025bc23a187c457ec7f9fac764
treef0da92d18721037c6ffd0d5269afae085421f1cc
parente06bd5e3adae14a4c0c50d74e36b064ab77601ba
RDMA/mlx5: Free second uplink ib port

The cited patch introduce ib port for the slave device uplink in
case of multiport eswitch. However, this ib port didn't perform
anything when unloaded.
Unload the new ib port properly.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/infiniband/hw/mlx5/ib_rep.c