05ba3f63d1
We assume there's no cvq in the past, this is not true when we need control virtqueue support for vhost-user backends. So this patch implements the control virtqueue support for vhost-net. As datapath, the control virtqueue is also required to be coupled with the NetClientState. The vhost_net_start/stop() are tweaked to accept the number of datapath queue pairs plus the the number of control virtqueue for us to start and stop the vhost device. Signed-off-by: Jason Wang <jasowang@redhat.com> Message-Id: <20211020045600.16082-7-jasowang@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> |
||
---|---|---|
.. | ||
announce.h | ||
can_emu.h | ||
can_host.h | ||
checksum.h | ||
eth.h | ||
filter.h | ||
net.h | ||
queue.h | ||
slirp.h | ||
tap.h | ||
vhost_net.h | ||
vhost-user.h | ||
vhost-vdpa.h |