net/virtio: fix Rx interrupt setup
authorJiayu Hu <jiayu.hu@intel.com>
Mon, 31 Jul 2017 07:56:44 +0000 (15:56 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 31 Jul 2017 17:16:23 +0000 (19:16 +0200)
commite7b9d1d2806c6bb8f30922c3cd6736b3076b7ec2
treed93f35d04a9bffe93f85477dab7d696ff8fdb748
parentcb482cb3a305f96d8155bbeb052344dde66ad8f2
net/virtio: fix Rx interrupt setup

When use rte_eth_dev_configure() to enable rx queue interrupt for virtio
devices, virtio_init_device() isn't called to set up the interrupt
environment, which causes rx queue interrupt setup failed. This patch is
to fix this issue.

Fixes: 26b683b4f7d0 ("net/virtio: setup Rx queue interrupts")
Cc: stable@dpdk.org
Signed-off-by: Jiayu Hu <jiayu.hu@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_ethdev.c