Re: [PATCH] vhost: fix vdpa driver multi-queue initialization failure

2023-02-08 Thread Hao Chen
On 2023/2/3 18:38, Maxime Coquelin wrote: On 1/28/23 04:06, Hao Chen wrote: When 'virtio_is_Ready' returns 1, 'vdpa_dev->ops->dev_conf' will be called, and the vdpa driver called 'rte_vhost_get_vhost_vring' to get the vring addr info from 'vhost_devices->virtqueue[]'. virtio_is_ready's nr_vr

Re: [PATCH] vhost: fix vdpa driver multi-queue initialization failure

2023-02-03 Thread Maxime Coquelin
On 1/28/23 04:06, Hao Chen wrote: When 'virtio_is_Ready' returns 1, 'vdpa_dev->ops->dev_conf' will be called, and the vdpa driver called 'rte_vhost_get_vhost_vring' to get the vring addr info from 'vhost_devices->virtqueue[]'. virtio_is_ready's nr_vring is VIRTIO_BUILTIN_NUM_VQS_TO_BE_READY(2)

Re: [PATCH] vhost: fix vdpa driver multi-queue initialization failure

2023-02-01 Thread Maxime Coquelin
On 1/28/23 04:06, Hao Chen wrote: When 'virtio_is_Ready' returns 1, 'vdpa_dev->ops->dev_conf' will be called, and the vdpa driver called 'rte_vhost_get_vhost_vring' to get the vring addr info from 'vhost_devices->virtqueue[]'. virtio_is_ready's nr_vring is VIRTIO_BUILTIN_NUM_VQS_TO_BE_READY(2)

[PATCH] vhost: fix vdpa driver multi-queue initialization failure

2023-01-27 Thread Hao Chen
When 'virtio_is_Ready' returns 1, 'vdpa_dev->ops->dev_conf' will be called, and the vdpa driver called 'rte_vhost_get_vhost_vring' to get the vring addr info from 'vhost_devices->virtqueue[]'. virtio_is_ready's nr_vring is VIRTIO_BUILTIN_NUM_VQS_TO_BE_READY(2), multi-queue's nr_vring is greater tha

[PATCH] vhost: fix vdpa driver multi-queue initialization failure

2023-01-27 Thread Hao Chen
When 'virtio_is_Ready' returns 1, 'vdpa_dev->ops->dev_conf' will be called, and the vdpa driver called 'rte_vhost_get_vhost_vring' to get the vring addr info from 'vhost_devices->virtqueue[]'. virtio_is_ready's nr_vring is VIRTIO_BUILTIN_NUM_VQS_TO_BE_READY(2), multi-queue's nr_vring is greater tha