[PATCH 6.1 517/611] RDMA/mlx5: Use correct device num_ports when modify DC