vhost: interrupt mode support with mq 79/32079/15
authorSteven Luong <sluong@cisco.com>
Wed, 21 Apr 2021 16:54:34 +0000 (09:54 -0700)
committerBeno�t Ganne <bganne@cisco.com>
Wed, 18 Aug 2021 12:25:34 +0000 (12:25 +0000)
commit38071b1331b44746679997f6e66081c4936d087c
tree2c25d05051510603a21528a7d7fcd15754a0ae09
parent91144fbf54764feb005a33419d0129febd2365d4
vhost: interrupt mode support with mq

vhost interrupt mode support with mq does not work when coalesce frame
is not configured to 0.

When packed-ring is configured, we were also setting the wrong flag
for want-interrupt.

No need to trigger an interrupt to RX infra if there is at least one
queue in the same thread that is doing polling.

Type: fix

Signed-off-by: Steven Luong <sluong@cisco.com>
Change-Id: I8e64250f2aa6bf611a777a53e4d2c1076d83305f
src/vnet/devices/virtio/vhost_user.c
src/vnet/devices/virtio/vhost_user.h
src/vnet/devices/virtio/vhost_user_output.c