diff options
author | Eli Cohen | 2021-05-30 12:03:17 +0300 |
---|---|---|
committer | Michael S. Tsirkin | 2021-07-03 04:50:56 -0400 |
commit | e3011776af16caf423f2c36d0047acd624c274fa (patch) | |
tree | a2003e29b6acf0c2eef28d48ede3900ad3de54f8 /drivers/cxl | |
parent | 31c11db6bd93b0c051d2c835da4fa9bba636cfdb (diff) |
vdpa/mlx5: Fix umem sizes assignments on VQ create
Fix copy paste bug assigning umem1 size to umem2 and umem3. The issue
was discovered when trying to use a 1:1 MR that covers the entire
address space where firmware complained that provided sizes are not
large enough. 1:1 MRs are required to support virtio_vdpa.
Fixes: 1a86b377aa21 ("vdpa/mlx5: Add VDPA driver for supported mlx5 devices")
Signed-off-by: Eli Cohen <elic@nvidia.com>
Link: https://lore.kernel.org/r/20210530090317.8284-1-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'drivers/cxl')
0 files changed, 0 insertions, 0 deletions