numam-dpdk/examples/vhost_scsi
Stefan Hajnoczi d56f632075 examples/vhost_scsi: drop unimplemented event index feature
The vhost_scsi example application negotiates the
VIRTIO_RING_F_EVENT_IDX feature bit but does not honor it when accessing
vrings.

In particular, commit e37ff95440 ("vhost:
support virtqueue interrupt/notification suppression") broke vring call
because vq->last_used_idx is never updated by vhost_scsi.  The
vq->last_used_idx field is not even available via the librte_vhost
public API, so VIRTIO_RING_F_EVENT_IDX is currently only usable by the
built-in virtio_net.c driver in librte_vhost.

This patch drops VIRTIO_RING_F_EVENT_IDX from vhost_scsi so that vring
call works again.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
2018-02-05 15:18:56 +01:00
..
Makefile examples: enable linking both static and shared 2018-01-30 21:58:59 +01:00
meson.build build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
scsi_spec.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
scsi.c examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00
vhost_scsi.c examples/vhost_scsi: drop unimplemented event index feature 2018-02-05 15:18:56 +01:00
vhost_scsi.h examples: use SPDX tag for Intel copyright files 2018-01-04 22:41:39 +01:00