| 3678 | } |
| 3679 | |
| 3680 | static int |
| 3681 | txgbe_set_default_mac_addr(struct rte_eth_dev *dev, struct rte_ether_addr *addr) |
| 3682 | { |
| 3683 | struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(dev); |
| 3684 | |
| 3685 | txgbe_remove_rar(dev, 0); |
| 3686 | txgbe_add_rar(dev, addr, 0, pci_dev->max_vfs); |
| 3687 | |
| 3688 | return 0; |
| 3689 | } |
| 3690 | |
| 3691 | static int |
| 3692 | txgbe_dev_mtu_set(struct rte_eth_dev *dev, uint16_t mtu) |
nothing calls this directly
no test coverage detected