From cff7c8f1f797b2e17cef4f0299d08208a6e1ff1a Mon Sep 17 00:00:00 2001 From: Tomasz Zawadzki Date: Tue, 1 Sep 2020 04:12:46 -0400 Subject: [PATCH] test/vhost: workaround issue #1583 by specifying --vq-count DPDK patch d0fcc38f5 "vhost: improve device readiness notifications" introduced changes that need to be workedaround when updating to DPDK 20.08. This shall be removed after appropriate fix is created for DPDK. Signed-off-by: Tomasz Zawadzki Change-Id: I2f0b4ef4692ba8d9fbb7d1966332def593d1dc34 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4001 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Jim Harris --- test/json_config/json_config.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/json_config/json_config.sh b/test/json_config/json_config.sh index 03d6bd5bd..a5a714ccc 100755 --- a/test/json_config/json_config.sh +++ b/test/json_config/json_config.sh @@ -326,7 +326,8 @@ function create_nvmf_subsystem_config() { function create_virtio_initiator_config() { timing_enter "${FUNCNAME[0]}" initiator_rpc bdev_virtio_attach_controller -t user -a /var/tmp/VhostScsiCtrlr0 -d scsi VirtioScsiCtrlr0 - initiator_rpc bdev_virtio_attach_controller -t user -a /var/tmp/VhostBlkCtrlr0 -d blk VirtioBlk0 + # FIXME: Specifying --vq-count is workaround issue #1583. + initiator_rpc bdev_virtio_attach_controller -t user -a /var/tmp/VhostBlkCtrlr0 -d blk --vq-count 2 VirtioBlk0 # TODO: initiator_rpc bdev_virtio_attach_controller -t user -a /var/tmp/VhostNvmeCtrlr0 -d nvme VirtioNvme0 timing_exit "${FUNCNAME[0]}" }