ixgbe: enable Rx queue interrupts for PF and VF
authorCunming Liang <cunming.liang@intel.com>
Mon, 20 Jul 2015 03:02:27 +0000 (11:02 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 27 Jul 2015 21:13:57 +0000 (23:13 +0200)
commit0eb609239efdb52a1cea5abca5e3316052071d81
tree9f265c408bf13bb2c364fa003608dedaf9ebeebd
parenta201b45fb878faf3b6f73a84a4454fe199012760
ixgbe: enable Rx queue interrupts for PF and VF

The patch does below things for ixgbe PF and VF:
- Setup NIC to generate MSI-X interrupts
- Set the IVAR register to map interrupt causes to vectors
- Implement interrupt enable/disable functions

Signed-off-by: Danny Zhou <danny.zhou@intel.com>
Signed-off-by: Yong Liu <yong.liu@intel.com>
Signed-off-by: Cunming Liang <cunming.liang@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c
drivers/net/ixgbe/ixgbe_ethdev.h