virtio: fix link state interrupt
authorBernard Iremonger <bernard.iremonger@intel.com>
Fri, 4 Dec 2015 15:14:26 +0000 (15:14 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Dec 2015 00:03:12 +0000 (01:03 +0100)
commitd15339b9286f00c30a5b8dc173d654b577658970
treebd567522c6d26d2a5995f09d228c060da19cac90
parent43ffe8aa8641ac30899f3e8ab58c2672fa3acf51
virtio: fix link state interrupt

call rte_eth_copy_pci_info() after the RTE_PCI_DRV_INTR_LSC
has been initialised.

Fixes: eeefe73f0af1 ("drivers: copy PCI device info to ethdev data")

Reported-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Bernard Iremonger <bernard.iremonger@intel.com>
drivers/net/virtio/virtio_ethdev.c