eal/linux: toggle interrupt for uio_pci_generic
authorDanny Zhou <danny.zhou@intel.com>
Fri, 20 Feb 2015 16:59:16 +0000 (16:59 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Feb 2015 22:34:40 +0000 (23:34 +0100)
commitc112df6875a5deeaa982712dd02810f48e860f20
treeee7235b102b4ae8564dbd5ecf1b53d013639ed83
parent4a499c64959074ba6fa6a5a2b3a2a6aa10627fa1
eal/linux: toggle interrupt for uio_pci_generic

enable/disable interrupt by manipulating a control bit of command
register on NIC's PCIe configuration space.

Signed-off-by: Danny Zhou <danny.zhou@intel.com>
Tested-by: Qun Wan <qun.wan@intel.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
lib/librte_eal/linuxapp/eal/eal_interrupts.c