a02483e6 | 26-Jul-2022 |
Changpeng Liu <changpeng.liu@intel.com> |
module/bdev_virtio_scsi: use the correct `num_queues` value
Parameter `num_queues` for virtio_scsi PCI device means maximum number of queues, it SHOULD include the `eventq` and `controlq`, while for
module/bdev_virtio_scsi: use the correct `num_queues` value
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>
show more ...
|
84ac072e | 26-Jul-2022 |
Changpeng Liu <changpeng.liu@intel.com> |
lib/virtio: eliminate `virtio_user_backend_ops`
The `vhost_user` socket transport APIs are already in the same source file, so just call the function directly.
No code logic changes in this commit.
lib/virtio: eliminate `virtio_user_backend_ops`
The `vhost_user` socket transport APIs are already in the same source file, so just call the function directly.
No code logic changes in this commit.
Change-Id: If471b9b0166d43591fb8614e95a17473c964e87c Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/13789 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|
ebea4dd6 | 08-Dec-2020 |
Jin Yu <jin.yu@intel.com> |
virtio_blk: add hotplug support
It can divide to two parts: 1, UIO driver - sigbus error handling and uevent process. 2, VFIO - request notify handling.
sigbus error process is in previous patch.
virtio_blk: add hotplug support
It can divide to two parts: 1, UIO driver - sigbus error handling and uevent process. 2, VFIO - request notify handling.
sigbus error process is in previous patch.
Change-Id: Idc09754b83ae9ddcaea1f2afcbc13e528ead9863 Signed-off-by: Jin Yu <jin.yu@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5768 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|