* Virtual Function operations */
| 5386 | * Virtual Function operations |
| 5387 | */ |
| 5388 | static void |
| 5389 | ixgbevf_intr_disable(struct rte_eth_dev *dev) |
| 5390 | { |
| 5391 | struct ixgbe_interrupt *intr = |
| 5392 | IXGBE_DEV_PRIVATE_TO_INTR(dev->data->dev_private); |
| 5393 | struct ixgbe_hw *hw = |
| 5394 | IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private); |
| 5395 | |
| 5396 | PMD_INIT_FUNC_TRACE(); |
| 5397 | |
| 5398 | /* Clear interrupt mask to stop from interrupts being generated */ |
| 5399 | IXGBE_WRITE_REG(hw, IXGBE_VTEIMC, IXGBE_VF_IRQ_CLEAR_MASK); |
| 5400 | |
| 5401 | IXGBE_WRITE_FLUSH(hw); |
| 5402 | |
| 5403 | /* Clear mask value. */ |
| 5404 | intr->mask = 0; |
| 5405 | } |
| 5406 | |
| 5407 | static void |
| 5408 | ixgbevf_intr_enable(struct rte_eth_dev *dev) |
no outgoing calls
no test coverage detected