[PATCH 6.3 626/694] RDMA/mlx5: Use correct device num_ports when modify DC