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

Function nfp_pf_uninit

dpdk/drivers/net/nfp/nfp_ethdev.c:360–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360void
361nfp_pf_uninit(struct nfp_pf_dev *pf_dev)
362{
363 nfp_cpp_area_release_free(pf_dev->mac_stats_area);
364 nfp_cpp_area_release_free(pf_dev->qc_area);
365 free(pf_dev->sym_tbl);
366 if (pf_dev->multi_pf.enabled) {
367 nfp_net_keepalive_stop(&pf_dev->multi_pf);
368 nfp_net_keepalive_uninit(&pf_dev->multi_pf);
369 }
370 free(pf_dev->nfp_eth_table);
371 free(pf_dev->hwinfo);
372 nfp_cpp_free(pf_dev->cpp);
373 rte_free(pf_dev);
374}
375
376static int
377nfp_pf_secondary_uninit(struct nfp_pf_dev *pf_dev)

Callers 2

nfp_net_closeFunction · 0.85

Calls 6

nfp_net_keepalive_stopFunction · 0.85
nfp_net_keepalive_uninitFunction · 0.85
nfp_cpp_freeFunction · 0.85
rte_freeFunction · 0.85
freeFunction · 0.50

Tested by

no test coverage detected