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

Function cpfl_vport_map_uninit

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

Source from the content-addressed store, hash-verified

2222}
2223
2224static void
2225cpfl_vport_map_uninit(struct cpfl_adapter_ext *adapter)
2226{
2227 const void *key = NULL;
2228 struct cpfl_vport_map_info *info;
2229 uint32_t iter = 0;
2230
2231 while (rte_hash_iterate(adapter->vport_map_hash, &key, (void **)&info, &iter) >= 0)
2232 rte_free(info);
2233
2234 rte_hash_free(adapter->vport_map_hash);
2235}
2236
2237static int
2238cpfl_repr_allowlist_init(struct cpfl_adapter_ext *adapter)

Callers 2

cpfl_adapter_ext_initFunction · 0.85
cpfl_adapter_ext_deinitFunction · 0.85

Calls 3

rte_hash_iterateFunction · 0.85
rte_freeFunction · 0.85
rte_hash_freeFunction · 0.85

Tested by

no test coverage detected