| 830 | } |
| 831 | |
| 832 | static inline void |
| 833 | ixgbe_enable_intr(struct rte_eth_dev *dev) |
| 834 | { |
| 835 | struct ixgbe_interrupt *intr = |
| 836 | IXGBE_DEV_PRIVATE_TO_INTR(dev->data->dev_private); |
| 837 | struct ixgbe_hw *hw = |
| 838 | IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private); |
| 839 | |
| 840 | IXGBE_WRITE_REG(hw, IXGBE_EIMS, intr->mask); |
| 841 | IXGBE_WRITE_FLUSH(hw); |
| 842 | } |
| 843 | |
| 844 | /* |
| 845 | * This function is based on ixgbe_disable_intr() in base/ixgbe.h. |
no outgoing calls
no test coverage detected