net/virtio-user: fix Rx interrupts with multi-queue
authorYuan Wang <yuanx.wang@intel.com>
Mon, 4 Jul 2022 07:04:28 +0000 (15:04 +0800)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Mon, 4 Jul 2022 08:28:05 +0000 (10:28 +0200)
commit23ab0c59bcc8c91fe66762a10d64cd07e5acd69c
treee1a7ccb102a2c2e8c068a1485040d6a21aa01ae6
parent0a666b8631954f518417c5445d02d86bb120a357
net/virtio-user: fix Rx interrupts with multi-queue

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

Fixes: d61138d4f0e2 ("drivers: remove direct access to interrupt handle")
Cc: stable@dpdk.org
Signed-off-by: Yuan Wang <yuanx.wang@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
drivers/net/virtio/virtio_user/virtio_user_dev.c