Hawkins Jiawei acec5f685c 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>
2023-10-18 10:41:50 -04:00
..
2023-09-08 13:08:52 +03:00
2023-09-18 14:36:13 +08:00
2023-09-08 13:08:52 +03:00
2023-09-18 14:36:13 +08:00
2023-07-07 16:35:12 +08:00
2023-09-18 14:36:13 +08:00
2023-09-18 14:36:13 +08:00
2023-09-18 14:36:13 +08:00
2023-09-18 14:36:13 +08:00
2023-09-18 14:36:13 +08:00
2023-09-18 14:36:13 +08:00