vhost: Add event index for interrupt notification to driver 70/29970/7
authorSteven Luong <sluong@cisco.com>
Tue, 17 Nov 2020 21:30:44 +0000 (13:30 -0800)
committerBeno�t Ganne <bganne@cisco.com>
Fri, 8 Jan 2021 13:10:58 +0000 (13:10 +0000)
commit27ba5008a16eddccc0b285272de7f89fd0aa3a24
tree3065040b62ee15ac45b1c1d77dd7421dcb558a5d
parented4b38e868c7cabb8e88cc0f1254c95a8f1c5939
vhost: Add event index for interrupt notification to driver

VPP only supports a poor man's approach for interrupt notification to the
driver. It uses a simple binary flag for "interrupt needed" or "interrupt
not needed". Most drivers support more sophisticated event index already.
This feature is to add the long due missing feature and make it configurable,
off by default.

Type: feature

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I68dab7dd07045cafb49af97b7f70db9b8131ae03
12 files changed:
MAINTAINERS
src/vat/api_format.c
src/vnet/devices/virtio/vhost_user.api
src/vnet/devices/virtio/vhost_user.c
src/vnet/devices/virtio/vhost_user.h
src/vnet/devices/virtio/vhost_user_api.c
src/vnet/devices/virtio/vhost_user_inline.h
src/vnet/devices/virtio/vhost_user_input.c
src/vnet/devices/virtio/vhost_user_output.c
src/vnet/devices/virtio/virtio_std.h
src/vpp/api/custom_dump.c
test/vpp_vhost_interface.py