Re: [dpdk-dev] [PATCH v3 1/8] vhost: fix virtio ready flag check

2020-07-06 Thread Xia, Chenbo
> -Original Message- > From: Adrian Moreno > Sent: Monday, July 6, 2020 7:25 PM > To: dev@dpdk.org; Xia, Chenbo ; Ye, Xiaolong > ; shah...@mellanox.com; ma...@mellanox.com; > maxime.coque...@redhat.com; Wang, Xiao W ; > viachesl...@mellanox.com > Cc: jasow...@redhat.com; l...@redhat.com;

[dpdk-dev] [PATCH v3 1/8] vhost: fix virtio ready flag check

2020-07-06 Thread Adrian Moreno
From: Maxime Coquelin Before checking whether the device is ready is done a check on whether the RUNNING flag is set. Then the READY flag is set if virtio_is_ready() returns true. While it seems to not cause any issue, it makes more sense to check whether the READY flag is set and not the RUNNIN