MCPcopy Index your code
hub / github.com/F-Stack/f-stack / vdev_remove_driver

Function vdev_remove_driver

dpdk/drivers/bus/vdev/vdev.c:342–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342static int
343vdev_remove_driver(struct rte_vdev_device *dev)
344{
345 const char *name = rte_vdev_device_name(dev);
346 const struct rte_vdev_driver *driver;
347
348 if (!dev->device.driver) {
349 VDEV_LOG(DEBUG, "no driver attach to device %s", name);
350 return 1;
351 }
352
353 driver = container_of(dev->device.driver, const struct rte_vdev_driver,
354 driver);
355 return driver->remove(dev);
356}
357
358int
359rte_vdev_uninit(const char *name)

Callers 1

rte_vdev_uninitFunction · 0.85

Calls 1

rte_vdev_device_nameFunction · 0.85

Tested by

no test coverage detected