/* For secondary processes, the primary has done all the work */
if (rte_eal_process_type() != RTE_PROC_PRIMARY)
- return 0;
+ goto done;
priv->max_event_queues = DPAA_EVENT_MAX_QUEUES;
+done:
+ event_dev_probing_finish(eventdev);
return 0;
fail:
return -EFAULT;
/* For secondary processes, the primary has done all the work */
if (rte_eal_process_type() != RTE_PROC_PRIMARY)
- return 0;
+ goto done;
priv = eventdev->data->dev_private;
priv->max_event_queues = 0;
RTE_LOG(INFO, PMD, "%s eventdev created\n", name);
+done:
+ event_dev_probing_finish(eventdev);
return 0;
fail:
return -EFAULT;
dsw = dev->data->dev_private;
dsw->data = dev->data;
+ event_dev_probing_finish(dev);
return 0;
}
edev->max_event_ports);
ssovf_init_once = 1;
+ event_dev_probing_finish(eventdev);
return 0;
error:
dev->dequeue_burst = opdl_event_dequeue_burst;
if (rte_eal_process_type() != RTE_PROC_PRIMARY)
- return 0;
+ goto done;
opdl = dev->data->dev_private;
opdl->data = dev->data;
if (do_test == 1)
test_result = opdl_selftest();
+done:
+ event_dev_probing_finish(dev);
return test_result;
}
eventdev->dequeue = skeleton_eventdev_dequeue;
eventdev->dequeue_burst = skeleton_eventdev_dequeue_burst;
+ event_dev_probing_finish(eventdev);
return 0;
fail:
return -EFAULT;
dev->data->service_inited = 1;
dev->data->service_id = sw->service_id;
+ event_dev_probing_finish(dev);
+
return 0;
}