| 811 | } |
| 812 | |
| 813 | static inline int32_t |
| 814 | ixgbe_pf_reset_hw(struct ixgbe_hw *hw) |
| 815 | { |
| 816 | uint32_t ctrl_ext; |
| 817 | int32_t status; |
| 818 | |
| 819 | status = ixgbe_reset_hw(hw); |
| 820 | |
| 821 | ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); |
| 822 | /* Set PF Reset Done bit so PF/VF Mail Ops can work */ |
| 823 | ctrl_ext |= IXGBE_CTRL_EXT_PFRSTD; |
| 824 | IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); |
| 825 | IXGBE_WRITE_FLUSH(hw); |
| 826 | |
| 827 | if (status == IXGBE_ERR_SFP_NOT_PRESENT) |
| 828 | status = IXGBE_SUCCESS; |
| 829 | return status; |
| 830 | } |
| 831 | |
| 832 | static inline void |
| 833 | ixgbe_enable_intr(struct rte_eth_dev *dev) |
no test coverage detected