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

Function dump_device_list

dpdk/drivers/bus/fslmc/fslmc_bus.c:115–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115static void
116dump_device_list(void)
117{
118 struct rte_dpaa2_device *dev;
119
120 /* Only if the log level has been set to Debugging, print list */
121 if (rte_log_can_log(dpaa2_logtype_bus, RTE_LOG_DEBUG)) {
122 DPAA2_BUS_LOG(DEBUG, "List of devices scanned on bus:");
123 TAILQ_FOREACH(dev, &rte_fslmc_bus.device_list, next) {
124 DPAA2_BUS_LOG(DEBUG, "\t\t%s", dev->device.name);
125 }
126 }
127}
128
129static int
130scan_one_fslmc_device(char *dev_name)

Callers 1

rte_fslmc_scanFunction · 0.85

Calls 1

rte_log_can_logFunction · 0.85

Tested by

no test coverage detected