[PATCH 6.2 570/663] RDMA/mlx5: Use correct device num_ports when modify DC