only for mailbox now. If RX/TX needed, should extend this function. */
| 558 | |
| 559 | /* only for mailbox now. If RX/TX needed, should extend this function. */ |
| 560 | static void |
| 561 | igbvf_set_ivar_map(struct e1000_hw *hw, uint8_t msix_vector) |
| 562 | { |
| 563 | uint32_t tmp = 0; |
| 564 | |
| 565 | /* mailbox */ |
| 566 | tmp |= (msix_vector & E1000_VTIVAR_MISC_INTR_MASK); |
| 567 | tmp |= E1000_VTIVAR_VALID; |
| 568 | E1000_WRITE_REG(hw, E1000_VTIVAR_MISC, tmp); |
| 569 | } |
| 570 | |
| 571 | static void |
| 572 | eth_igbvf_configure_msix_intr(struct rte_eth_dev *dev) |
no outgoing calls
no test coverage detected