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

Function nfp_cpp_free

dpdk/drivers/net/nfp/nfpcore/nfp_cppcore.c:992–999  ·  view source on GitHub ↗

* Free the CPP handle * * @param cpp * CPP handle */

Source from the content-addressed store, hash-verified

990 * CPP handle
991 */
992void
993nfp_cpp_free(struct nfp_cpp *cpp)
994{
995 if (cpp->op != NULL && cpp->op->free != NULL)
996 cpp->op->free(cpp);
997
998 free(cpp);
999}
1000
1001/**
1002 * Create a NFP CPP handle from device

Callers 4

nfp_pf_uninitFunction · 0.85
nfp_pf_secondary_uninitFunction · 0.85
nfp_pf_initFunction · 0.85
nfp_pf_secondary_initFunction · 0.85

Calls 1

freeFunction · 0.50

Tested by

no test coverage detected