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

Function eth_dev_pci_specific_init

dpdk/lib/ethdev/ethdev_pci.h:52–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52static inline int
53eth_dev_pci_specific_init(struct rte_eth_dev *eth_dev, void *bus_device)
54{
55 struct rte_pci_device *pci_dev = (struct rte_pci_device *)bus_device;
56
57 if (!pci_dev)
58 return -ENODEV;
59
60 rte_eth_copy_pci_info(eth_dev, pci_dev);
61
62 return 0;
63}
64
65/**
66 * @internal

Callers

nothing calls this directly

Calls 1

rte_eth_copy_pci_infoFunction · 0.85

Tested by

no test coverage detected