| 5405 | } |
| 5406 | |
| 5407 | static void |
| 5408 | ixgbevf_intr_enable(struct rte_eth_dev *dev) |
| 5409 | { |
| 5410 | struct ixgbe_interrupt *intr = |
| 5411 | IXGBE_DEV_PRIVATE_TO_INTR(dev->data->dev_private); |
| 5412 | struct ixgbe_hw *hw = |
| 5413 | IXGBE_DEV_PRIVATE_TO_HW(dev->data->dev_private); |
| 5414 | |
| 5415 | PMD_INIT_FUNC_TRACE(); |
| 5416 | |
| 5417 | /* VF enable interrupt autoclean */ |
| 5418 | IXGBE_WRITE_REG(hw, IXGBE_VTEIAM, IXGBE_VF_IRQ_ENABLE_MASK); |
| 5419 | IXGBE_WRITE_REG(hw, IXGBE_VTEIAC, IXGBE_VF_IRQ_ENABLE_MASK); |
| 5420 | IXGBE_WRITE_REG(hw, IXGBE_VTEIMS, IXGBE_VF_IRQ_ENABLE_MASK); |
| 5421 | |
| 5422 | IXGBE_WRITE_FLUSH(hw); |
| 5423 | |
| 5424 | /* Save IXGBE_VTEIMS value to mask. */ |
| 5425 | intr->mask = IXGBE_VF_IRQ_ENABLE_MASK; |
| 5426 | } |
| 5427 | |
| 5428 | static int |
| 5429 | ixgbevf_dev_configure(struct rte_eth_dev *dev) |
no outgoing calls
no test coverage detected