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

Function cpfl_adapter_ext_deinit

dpdk/drivers/net/cpfl/cpfl_ethdev.c:2616–2629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2614}
2615
2616static void
2617cpfl_adapter_ext_deinit(struct cpfl_adapter_ext *adapter)
2618{
2619#ifdef RTE_HAS_JANSSON
2620 cpfl_flow_uninit(adapter);
2621#endif
2622 cpfl_ctrl_path_close(adapter);
2623 rte_eal_alarm_cancel(cpfl_dev_alarm_handler, adapter);
2624 cpfl_vport_map_uninit(adapter);
2625 idpf_adapter_deinit(&adapter->base);
2626
2627 rte_free(adapter->vports);
2628 adapter->vports = NULL;
2629}
2630
2631static int
2632cpfl_vport_devargs_process(struct cpfl_adapter_ext *adapter, struct cpfl_devargs *devargs)

Callers 2

cpfl_pci_probe_firstFunction · 0.85
cpfl_pci_removeFunction · 0.85

Calls 6

cpfl_flow_uninitFunction · 0.85
cpfl_ctrl_path_closeFunction · 0.85
cpfl_vport_map_uninitFunction · 0.85
idpf_adapter_deinitFunction · 0.85
rte_freeFunction · 0.85
rte_eal_alarm_cancelFunction · 0.50

Tested by

no test coverage detected