net/virtio: access interrupt handler directly
authorYuanhan Liu <yuanhan.liu@linux.intel.com>
Thu, 12 Jan 2017 05:31:57 +0000 (13:31 +0800)
committerYuanhan Liu <yuanhan.liu@linux.intel.com>
Tue, 17 Jan 2017 08:20:18 +0000 (09:20 +0100)
commit61e3ee17568ab046243424cbec43526db932a2e3
treec4bf3cfd13a5fdbf3ab359958f05fc4d16b52bbb
parent6d890f8ab51295045a53f41c4d2654bb1f01cf38
net/virtio: access interrupt handler directly

Since commit 0e1b45a284b4 ("ethdev: decouple interrupt handling from
PCI device"), intr_handle is stored at eth_dev struct, that we could
use it directly. Thus there is no need to get it from hw.

Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com>
drivers/net/virtio/virtio_ethdev.c
drivers/net/virtio/virtio_pci.h