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

Function dpaa2_cmdif_remove

dpdk/drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c:268–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

266}
267
268static int
269dpaa2_cmdif_remove(struct rte_vdev_device *vdev)
270{
271 const char *name;
272 int ret;
273
274 name = rte_vdev_device_name(vdev);
275 if (name == NULL)
276 return -1;
277
278 DPAA2_CMDIF_INFO("Closing %s on NUMA node %d", name, rte_socket_id());
279
280 ret = dpaa2_cmdif_destroy(name);
281
282 return ret;
283}
284
285static struct rte_vdev_driver dpaa2_cmdif_drv = {
286 .probe = dpaa2_cmdif_probe,

Callers

nothing calls this directly

Calls 3

rte_vdev_device_nameFunction · 0.85
rte_socket_idFunction · 0.85
dpaa2_cmdif_destroyFunction · 0.85

Tested by

no test coverage detected