[PATCH 4.19 118/191] RDMA/mlx5: Use correct device num_ports when modify DC