| 596 | } |
| 597 | |
| 598 | static void |
| 599 | igb_identify_hardware(struct rte_eth_dev *dev, struct rte_pci_device *pci_dev) |
| 600 | { |
| 601 | struct e1000_hw *hw = |
| 602 | E1000_DEV_PRIVATE_TO_HW(dev->data->dev_private); |
| 603 | |
| 604 | |
| 605 | hw->vendor_id = pci_dev->id.vendor_id; |
| 606 | hw->device_id = pci_dev->id.device_id; |
| 607 | hw->subsystem_vendor_id = pci_dev->id.subsystem_vendor_id; |
| 608 | hw->subsystem_device_id = pci_dev->id.subsystem_device_id; |
| 609 | |
| 610 | e1000_set_mac_type(hw); |
| 611 | |
| 612 | /* need to check if it is a vf device below */ |
| 613 | } |
| 614 | |
| 615 | static int |
| 616 | igb_reset_swfw_lock(struct e1000_hw *hw) |
no test coverage detected