[dpdk-dev] [PATCH v2] vdpa/ifc: fix vring update after device config
Maxime Coquelin
maxime.coquelin at redhat.com
Tue Jul 28 17:56:25 CEST 2020
On 7/28/20 4:32 PM, Chenbo Xia wrote:
> The device ready state in vhost lib is now defined as the state
> that first queue pair is ready. And kick/callfd may be updated
> by QEMU when ifc device is configured.
>
> Although now ifc driver only supports one queue pair, it still
> has to update callfd when working with QEMU. This patch fixes
> this vring update problem by implementing the set_vring_state
> callback.
>
> Fixes: a3f8150eac6d (net/ifcvf: add ifcvf vDPA driver)
>
> Suggested-by: Maxime Coquelin <maxime.coquelin at redhat.com>
> Signed-off-by: Chenbo Xia <chenbo.xia at intel.com>
> Acked-by: Wang Xiao W <xiao.w.wang at intel.com>
> ---
> drivers/vdpa/ifc/base/ifcvf.h | 1 +
> drivers/vdpa/ifc/ifcvf_vdpa.c | 54 ++++++++++++++++++++++++++++++++++-
> 2 files changed, 54 insertions(+), 1 deletion(-)
>
Applied to dpdk-next-virtio/master
Thanks,
Maxime
More information about the dev
mailing list