summary refs log tree commit diff stats
path: root/hw/virtio/vhost-user.c
diff options
context:
space:
mode:
authorHawkins Jiawei <yin31149@gmail.com>2023-10-13 16:09:42 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-10-18 10:41:50 -0400
commitacec5f685c7ad6bd3c9bb9a57d4e509160480376 (patch)
treee38ecc43958fbc2ed6d16ed07cdfd07463ff2cc2 /hw/virtio/vhost-user.c
parent99d6a32469debf1a48921125879b614d15acfb7a (diff)
downloadfocaccia-qemu-acec5f685c7ad6bd3c9bb9a57d4e509160480376.tar.gz
focaccia-qemu-acec5f685c7ad6bd3c9bb9a57d4e509160480376.zip
vdpa: Send cvq state load commands in parallel
This patch enables sending CVQ state load commands
in parallel at device startup by following steps:

  * Refactor vhost_vdpa_net_load_cmd() to iterate through
the control commands shadow buffers. This allows different
CVQ state load commands to use their own unique buffers.

  * Delay the polling and checking of buffers until either
the SVQ is full or control commands shadow buffers are full.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1578
Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <9350f32278e39f7bce297b8f2d82dac27c6f8c9a.1697165821.git.yin31149@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio/vhost-user.c')
0 files changed, 0 insertions, 0 deletions