MCPcopy Create free account
hub / github.com/F-Stack/f-stack / dev_num_vf

Function dev_num_vf

dpdk/drivers/net/txgbe/txgbe_pf.c:33–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31#define TXGBE_VF_GET_QUEUE_MSG_SIZE 5
32
33static inline uint16_t
34dev_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
41static inline
42int txgbe_vf_perm_addr_gen(struct rte_eth_dev *dev, uint16_t vf_num)

Callers 6

txgbe_pf_host_initFunction · 0.70
txgbe_pf_host_uninitFunction · 0.70
txgbe_pf_host_configureFunction · 0.70
txgbe_set_rx_modeFunction · 0.70
txgbe_pf_mbx_processFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected