net/virtio-user: fix Rx interrupts with multi-queue
authorDavid Marchand <david.marchand@redhat.com>
Tue, 31 Aug 2021 15:54:11 +0000 (17:54 +0200)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Tue, 14 Sep 2021 11:21:57 +0000 (13:21 +0200)
commit848e93d9001e74fdbcb31b7ac5cdc1991b9e3f03
tree77a7ef8c74ea7a57e494ec22407426ba72f2709b
parent5be2325ecec83ab9dd5e25dde6112aed56f3e4f6
net/virtio-user: fix Rx interrupts with multi-queue

The callfds[] array stores eventfds sequentially for Rx and Tx vq.

Fixes: 3d4fb6fd2505 ("net/virtio-user: support Rx interrupt")
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user/virtio_user_dev.c