[PATCH 5.4 176/282] RDMA/mlx5: Use correct device num_ports when modify DC