/* Get the interface configurations from device-tree */
dpaa_netcfg = netcfg_acquire();
if (!dpaa_netcfg) {
- DPAA_BUS_LOG(ERR, "netcfg_acquire failed");
+ DPAA_BUS_LOG(ERR,
+ "netcfg failed: /dev/fsl_usdpaa device not available");
+ DPAA_BUS_WARN(
+ "Check if you are using USDPAA based device tree");
return -EINVAL;
}
RTE_LOG(NOTICE, EAL, "DPAA Bus Detected\n");
if (!dpaa_netcfg->num_ethports) {
- DPAA_BUS_LOG(INFO, "no network interfaces available");
+ DPAA_BUS_LOG(INFO, "NO DPDK mapped net interfaces available");
/* This is not an error */
- return 0;
}
#ifdef RTE_LIBRTE_DPAA_DEBUG_DRIVER