| 31 | #define TXGBE_VF_GET_QUEUE_MSG_SIZE 5 |
| 32 | |
| 33 | static inline uint16_t |
| 34 | dev_num_vf(struct rte_eth_dev *eth_dev) |
| 35 | { |
| 36 | struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev); |
| 37 | |
| 38 | return pci_dev->max_vfs; |
| 39 | } |
| 40 | |
| 41 | static inline |
| 42 | int txgbe_vf_perm_addr_gen(struct rte_eth_dev *dev, uint16_t vf_num) |
no outgoing calls
no test coverage detected