[PATCH 5.15 319/371] RDMA/mlx5: Use correct device num_ports when modify DC