| 579 | } |
| 580 | |
| 581 | static inline int32_t |
| 582 | igb_pf_reset_hw(struct e1000_hw *hw) |
| 583 | { |
| 584 | uint32_t ctrl_ext; |
| 585 | int32_t status; |
| 586 | |
| 587 | status = e1000_reset_hw(hw); |
| 588 | |
| 589 | ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); |
| 590 | /* Set PF Reset Done bit so PF/VF Mail Ops can work */ |
| 591 | ctrl_ext |= E1000_CTRL_EXT_PFRSTD; |
| 592 | E1000_WRITE_REG(hw, E1000_CTRL_EXT, ctrl_ext); |
| 593 | E1000_WRITE_FLUSH(hw); |
| 594 | |
| 595 | return status; |
| 596 | } |
| 597 | |
| 598 | static void |
| 599 | igb_identify_hardware(struct rte_eth_dev *dev, struct rte_pci_device *pci_dev) |
no test coverage detected