diff options
author | Eli Cohen <elic@nvidia.com> | 2021-08-11 08:37:59 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2021-08-11 06:44:43 -0400 |
commit | 879753c816dbbdb2a9a395aa4448d29feee92d1a (patch) | |
tree | 0bd2f5e96be4c3069c827e0c75dc0411c423da6a /tools | |
parent | 08dbd5660232bede7916d8568003012c1182cc9a (diff) | |
download | linux-879753c816dbbdb2a9a395aa4448d29feee92d1a.tar.bz2 |
vdpa/mlx5: Fix queue type selection logic
get_queue_type() comments that splict virtqueue is preferred, however,
the actual logic preferred packed virtqueues. Since firmware has not
supported packed virtqueues we ended up using split virtqueues as was
desired.
Since we do not advertise support for packed virtqueues, we add a check
to verify split virtqueues are indeed supported.
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/20210811053759.66752-1-elic@nvidia.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions