+6
−8
Loading
Parameter `num_queues` for virtio_scsi PCI device means maximum number of queues, it SHOULD include the `eventq` and `controlq`, while for `vhost_user` RPC call, it means the number of IO queues, so here we use it as `max_queues` in lib/virtio and add the fixed number queues for `vhost_user` SCSI device. Also fix `vhost_fuzz` to get `num_queues` earlier than negotiate the feature bits. Change-Id: I41b3da5e4b4dc37127befd414226ea6eafcd9ad0 Signed-off-by:Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13791 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com>