ethdev: decouple interrupt handling from PCI device
authorJan Blunck <jblunck@infradead.org>
Fri, 23 Dec 2016 15:58:09 +0000 (16:58 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 25 Dec 2016 22:25:14 +0000 (23:25 +0100)
commit0e1b45a284b4e3e55447c7e8a5757917d6b94509
tree62eff99a78784c43457510bb59d5d429df193132
parent36f8f62b7b6d62ef9a1d6506f69372a5ad31d6ab
ethdev: decouple interrupt handling from PCI device

The struct rte_intr_handle is an abstraction layer for different types of
interrupt mechanisms. It is embedded in the low-level device (e.g. PCI).
On allocation of a struct rte_eth_dev a reference to the intr_handle
should be stored for devices supporting interrupts.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
lib/librte_ether/rte_ethdev.c
lib/librte_ether/rte_ethdev.h