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

Function ree_dev_unregister

dpdk/drivers/regex/cn9k/cn9k_regexdev.c:224–236  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224static int
225ree_dev_unregister(struct rte_regexdev *dev)
226{
227 cn9k_ree_dbg("Closing regex device %s", dev->device->name);
228
229 /* free regex device */
230 rte_regexdev_unregister(dev);
231
232 if (rte_eal_process_type() == RTE_PROC_PRIMARY)
233 rte_free(dev->data->dev_private);
234
235 return 0;
236}
237
238static int
239ree_dev_fini(struct rte_regexdev *dev)

Callers 2

ree_dev_finiFunction · 0.85
cn9k_ree_pci_probeFunction · 0.85

Calls 3

rte_regexdev_unregisterFunction · 0.85
rte_eal_process_typeFunction · 0.85
rte_freeFunction · 0.85

Tested by

no test coverage detected