| 266 | } |
| 267 | |
| 268 | static int |
| 269 | dpaa2_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 | |
| 285 | static struct rte_vdev_driver dpaa2_cmdif_drv = { |
| 286 | .probe = dpaa2_cmdif_probe, |
nothing calls this directly
no test coverage detected