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

Function rte_dpaa_device_match

dpdk/drivers/bus/dpaa/dpaa_bus.c:546–559  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

544}
545
546static int
547rte_dpaa_device_match(struct rte_dpaa_driver *drv,
548 struct rte_dpaa_device *dev)
549{
550 if (!drv || !dev) {
551 DPAA_BUS_DEBUG("Invalid drv or dev received.");
552 return -1;
553 }
554
555 if (drv->drv_type == dev->device_type)
556 return 0;
557
558 return -1;
559}
560
561static int
562rte_dpaa_bus_dev_build(void)

Callers 1

rte_dpaa_bus_probeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected