net/virtio-user: do not make vhost channel non-block
authorTiwei Bie <tiwei.bie@intel.com>
Mon, 29 Oct 2018 05:28:04 +0000 (13:28 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Nov 2018 14:01:25 +0000 (15:01 +0100)
commit86d4b0618495faf58ef5e698b3c8ea76e82b54d6
treed95aaf17d3a70edb84702d52884c17b880a7063a
parentf457e9007a117a2ca8fd00ed9ee29e734d04752d
net/virtio-user: do not make vhost channel non-block

There is no need to make the vhost user channel nonblock, and
making it nonblock will make vhost_user_read() fail with EAGAIN
when vhost messages need a reply.

Fixes: bd8f50a45d0f ("net/virtio-user: support server mode")
Cc: stable@dpdk.org
Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user_ethdev.c