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

Function pci_parse

dpdk/drivers/bus/pci/pci_common.c:496–507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494}
495
496static int
497pci_parse(const char *name, void *addr)
498{
499 struct rte_pci_addr *out = addr;
500 struct rte_pci_addr pci_addr;
501 bool parse;
502
503 parse = (rte_pci_addr_parse(name, &pci_addr) == 0);
504 if (parse && addr != NULL)
505 *out = pci_addr;
506 return parse == false;
507}
508
509/* register a driver */
510void

Callers

nothing calls this directly

Calls 1

rte_pci_addr_parseFunction · 0.85

Tested by

no test coverage detected