numam-dpdk/lib/librte_vhost
Adrian Moreno 2025f4fe6c vhost: support virtio status message
This patch adds support to the new Virtio device get status
Vhost-user message.

The driver can send this new message to read the device status.

One of the uses of this message is to ensure the feature negotiation has
succeeded.  According to the virtio spec, after completing the feature
negotiation, the driver sets the FEATURE_OK status bit and re-reads it
to ensure the device has accepted the features.

This patch also clears the FEATURE_OK status bit if the feature
negotiation has failed to let the driver know about his failure.

Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
2020-07-11 06:18:52 +02:00
..
fd_man.c vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
fd_man.h vhost: fix race condition when adding fd in the fdset 2018-12-21 16:22:40 +01:00
iotlb.c vhost: make IOTLB cache name unique among processes 2020-04-21 13:57:07 +02:00
iotlb.h vhost: replace IOTLB license with SPDX tag 2019-08-05 16:06:11 +02:00
Makefile vhost: introduce async enqueue registration API 2020-07-07 23:38:28 +02:00
meson.build vhost: introduce async enqueue registration API 2020-07-07 23:38:28 +02:00
rte_vdpa_dev.h vhost: make some vDPA callbacks mandatory 2020-07-11 06:18:52 +02:00
rte_vdpa.h vhost: split vDPA header file 2020-06-30 14:52:30 +02:00
rte_vhost_async.h vhost: introduce async enqueue for split ring 2020-07-07 23:38:28 +02:00
rte_vhost_crypto.h enforce experimental tag at beginning of declarations 2019-06-29 19:04:48 +02:00
rte_vhost_version.map vhost: introduce async enqueue registration API 2020-07-07 23:38:28 +02:00
rte_vhost.h vhost: support virtio status 2020-07-11 06:18:52 +02:00
socket.c vhost: make some vDPA callbacks mandatory 2020-07-11 06:18:52 +02:00
vdpa.c vhost: make some vDPA callbacks mandatory 2020-07-11 06:18:52 +02:00
vhost_crypto.c vhost/crypto: validate keys lengths 2020-05-18 15:22:34 +02:00
vhost_user.c vhost: support virtio status message 2020-07-11 06:18:52 +02:00
vhost_user.h vhost: support virtio status message 2020-07-11 06:18:52 +02:00
vhost.c vhost: make some vDPA callbacks mandatory 2020-07-11 06:18:52 +02:00
vhost.h vhost: support virtio status message 2020-07-11 06:18:52 +02:00
virtio_crypto.h vhost: add virtio crypto header file 2018-04-14 00:43:30 +02:00
virtio_net.c vhost: restrict pointer aliasing for packed ring 2020-07-10 15:43:41 +02:00