Re: [dpdk-dev] [PATCH v2] vdpa/ifc: fix vring update after device config

2020-07-28 Thread Maxime Coquelin
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 ca

Re: [dpdk-dev] [PATCH v2] vdpa/ifc: fix vring update after device config

2020-07-28 Thread Maxime Coquelin
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 ca

Re: [dpdk-dev] [PATCH v2] vdpa/ifc: fix vring update after device config

2020-07-28 Thread Xu, Rosen
Hi, > -Original Message- > From: Xia, Chenbo > Sent: Tuesday, July 28, 2020 22:32 > To: dev@dpdk.org > Cc: maxime.coque...@redhat.com; Yigit, Ferruh ; > Wang, Xiao W ; Xu, Rosen > Subject: [PATCH v2] vdpa/ifc: fix vring update after device config > > The device ready state in vhost lib

Re: [dpdk-dev] [PATCH v2] vdpa/ifc: fix vring update after device config

2020-07-28 Thread Wang, Xiao W
Hi, > -Original Message- > From: Xia, Chenbo > Sent: Tuesday, July 28, 2020 10:32 PM > To: dev@dpdk.org > Cc: maxime.coque...@redhat.com; Yigit, Ferruh ; > Wang, Xiao W ; Xu, Rosen > Subject: [PATCH v2] vdpa/ifc: fix vring update after device config > > The device ready state in vhost l

[dpdk-dev] [PATCH v2] vdpa/ifc: fix vring update after device config

2020-07-27 Thread Chenbo Xia
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 vr