Re: [PATCH 2/2] vdpa: send CVQ state load commands in parallel

2023-04-20 Thread Hawkins Jiawei
On Thu, 20 Apr 2023 at 19:38, Hawkins Jiawei wrote: > > On Thu, 20 Apr 2023 at 01:43, Eugenio Perez Martin > wrote: > > > > On Wed, Apr 19, 2023 at 1:50 PM Hawkins Jiawei wrote: > > > > > > + ++status) { > > > +if (*status != VIRTIO_NET_OK) { > > > +++r; > > > +

Re: [PATCH 2/2] vdpa: send CVQ state load commands in parallel

2023-04-20 Thread Hawkins Jiawei
On Thu, 20 Apr 2023 at 01:43, Eugenio Perez Martin wrote: > > On Wed, Apr 19, 2023 at 1:50 PM Hawkins Jiawei wrote: > > > > This patch introduces the vhost_vdpa_net_cvq_add() and > > refactors the vhost_vdpa_net_load*(), so that QEMU can > > send CVQ state load commands in parallel. > > > > To be

Re: [PATCH 2/2] vdpa: send CVQ state load commands in parallel

2023-04-19 Thread Eugenio Perez Martin
On Wed, Apr 19, 2023 at 1:50 PM Hawkins Jiawei wrote: > > This patch introduces the vhost_vdpa_net_cvq_add() and > refactors the vhost_vdpa_net_load*(), so that QEMU can > send CVQ state load commands in parallel. > > To be more specific, this patch introduces vhost_vdpa_net_cvq_add() > to add SVQ

[PATCH 2/2] vdpa: send CVQ state load commands in parallel

2023-04-19 Thread Hawkins Jiawei
This patch introduces the vhost_vdpa_net_cvq_add() and refactors the vhost_vdpa_net_load*(), so that QEMU can send CVQ state load commands in parallel. To be more specific, this patch introduces vhost_vdpa_net_cvq_add() to add SVQ control commands to SVQ and kick the device, but does not poll the