| 276 | } |
| 277 | |
| 278 | static inline void |
| 279 | ngbe_enable_intr(struct rte_eth_dev *dev) |
| 280 | { |
| 281 | struct ngbe_interrupt *intr = ngbe_dev_intr(dev); |
| 282 | struct ngbe_hw *hw = ngbe_dev_hw(dev); |
| 283 | |
| 284 | wr32(hw, NGBE_IENMISC, intr->mask_misc); |
| 285 | wr32(hw, NGBE_IMC(0), intr->mask & BIT_MASK32); |
| 286 | ngbe_flush(hw); |
| 287 | } |
| 288 | |
| 289 | static void |
| 290 | ngbe_disable_intr(struct ngbe_hw *hw) |
no test coverage detected