diff options
author | Zhu Lingshan <lingshan.zhu@intel.com> | 2022-09-29 04:45:52 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2022-10-08 03:00:42 +0300 |
commit | 8a505711fa2749a43bc3208f0c75f57b6491fec4 (patch) | |
tree | f1186c263bed158fce0d985a4336439198dc5904 /fs/bfs | |
parent | c6dac2ecfa36a73ffec65a869f34274f08ccbd4f (diff) | |
download | linux-8a505711fa2749a43bc3208f0c75f57b6491fec4.tar.xz |
vDPA: check VIRTIO_NET_F_RSS for max_virtqueue_paris's presence
virtio 1.2 spec says:
max_virtqueue_pairs only exists if VIRTIO_NET_F_MQ or
VIRTIO_NET_F_RSS is set.
So when reporint MQ to userspace, it should check both
VIRTIO_NET_F_MQ and VIRTIO_NET_F_RSS.
unused parameter struct vdpa_device *vdev is removed
Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Message-Id: <20220929014555.112323-4-lingshan.zhu@intel.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'fs/bfs')
0 files changed, 0 insertions, 0 deletions