vhost: remove fallback in async enqueue API
authorPatrick Fu <patrick.fu@intel.com>
Wed, 21 Oct 2020 05:44:25 +0000 (13:44 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 3 Nov 2020 22:24:26 +0000 (23:24 +0100)
commitf56b6d450bea473f2762912e162fc58b22bccb40
tree709d586b99820b06b0339b87af3c740645fd5cd5
parent60db6ddf623804d8225714e15ec69e8c14584bd0
vhost: remove fallback in async enqueue API

By design, async enqueue API should return directly if async device
is not registered. This patch removes the corrupted implementation of
the enqueue fallback from async mode to sync mode.

Fixes: cd6760da1076 ("vhost: introduce async enqueue for split ring")
Cc: stable@dpdk.org
Signed-off-by: Patrick Fu <patrick.fu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
lib/librte_vhost/virtio_net.c