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

Function dev_num_vf

dpdk/drivers/net/ixgbe/ixgbe_pf.c:32–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30#define IXGBE_ETHERTYPE_FLOW_CTRL 0x8808
31
32static inline uint16_t
33dev_num_vf(struct rte_eth_dev *eth_dev)
34{
35 struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev);
36
37 return pci_dev->max_vfs;
38}
39
40static inline
41int ixgbe_vf_perm_addr_gen(struct rte_eth_dev *dev, uint16_t vf_num)

Callers 6

ixgbe_pf_host_initFunction · 0.70
ixgbe_pf_host_uninitFunction · 0.70
ixgbe_pf_host_configureFunction · 0.70
set_rx_modeFunction · 0.70
ixgbe_pf_mbx_processFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected