numam-dpdk/examples
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
..
bbdev_app examples/bbdev: fix unchecked return of stats 2018-01-31 18:51:02 +01:00
bond examples/bond: check mbuf allocation 2018-02-01 01:20:37 +01:00
cmdline build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
distributor examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
ethtool examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
eventdev_pipeline build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
exception_path examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
flow_classify examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
flow_filtering examples/flow_filtering: add delay to wait link update 2018-02-01 01:23:15 +01:00
helloworld build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
ip_fragmentation examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
ip_pipeline build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
ip_reassembly examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
ipsec-secgw examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
ipv4_multicast examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
kni kni: set initial value for MTU 2018-02-01 01:03:26 +01:00
l2fwd examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
l2fwd-cat build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
l2fwd-crypto examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
l2fwd-jobstats examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
l2fwd-keepalive examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
l3fwd examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
l3fwd-acl examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
l3fwd-power examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
l3fwd-vf examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
link_status_interrupt examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
load_balancer build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
multi_process examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
netmap_compat examples/netmap_compat: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
packet_ordering examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
performance-thread examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
ptpclient examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
qos_meter examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
qos_sched examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
quota_watermark examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
rxtx_callbacks examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
server_node_efd examples/server_node_efd: convert to new ethdev offloads API 2018-01-16 18:47:49 +01:00
service_cores build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
skeleton examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
tep_termination build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
timer build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
vhost build: replace license text with SPDX tag 2018-01-30 21:58:59 +01:00
vhost_scsi examples/vhost_scsi: drop unimplemented event index feature 2018-02-05 15:18:56 +01:00
vm_power_manager examples/vm_power_manager: fix set VF MAC address 2018-02-01 01:19:35 +01:00
vmdq examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
vmdq_dcb examples: increase default ring sizes to 1024 2018-02-01 00:10:42 +01:00
Makefile examples/eventdev: rename example 2018-01-19 16:09:56 +01:00
meson.build build: fix dependency on execinfo for BSD meson builds 2018-02-02 11:31:36 +01:00