diff options
author | Hawkins Jiawei <yin31149@gmail.com> | 2023-10-13 16:09:39 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-10-18 10:41:50 -0400 |
commit | a864a3219d7e63569583d204c12bff2a0f90463e (patch) | |
tree | b48123c2e6298acdebaac6fd80be85bf203c2b5f /hw/virtio/vhost-user.c | |
parent | 24e59cfe0cb53416b06c2c117bc22ff22dc54df3 (diff) | |
download | qemu-a864a3219d7e63569583d204c12bff2a0f90463e.zip qemu-a864a3219d7e63569583d204c12bff2a0f90463e.tar.gz qemu-a864a3219d7e63569583d204c12bff2a0f90463e.tar.bz2 |
vdpa: Move vhost_svq_poll() to the caller of vhost_vdpa_net_cvq_add()
This patch moves vhost_svq_poll() to the caller of
vhost_vdpa_net_cvq_add() and introduces a helper funtion.
By making this change, next patches in this series is
able to refactor vhost_vdpa_net_load_x() only to delay
the polling and checking process until either the SVQ
is full or control commands shadow buffers are full.
Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Message-Id: <196cadb55175a75275660c6634a538289f027ae3.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