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

Function nfp_flow_priv_uninit

dpdk/drivers/net/nfp/nfp_flow.c:4542–4560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4540}
4541
4542void
4543nfp_flow_priv_uninit(struct nfp_pf_dev *pf_dev)
4544{
4545 struct nfp_flow_priv *priv;
4546 struct nfp_app_fw_flower *app_fw_flower;
4547
4548 app_fw_flower = NFP_PRIV_TO_APP_FW_FLOWER(pf_dev->app_fw_priv);
4549 priv = app_fw_flower->flow_priv;
4550
4551 rte_hash_free(priv->ct_map_table);
4552 rte_hash_free(priv->ct_zone_table);
4553 rte_hash_free(priv->pre_tun_table);
4554 rte_hash_free(priv->flow_table);
4555 rte_hash_free(priv->mask_table);
4556 rte_free(priv->stats);
4557 rte_free(priv->stats_ids.free_list.buf);
4558 rte_free(priv->mask_ids.free_list.buf);
4559 rte_free(priv);
4560}

Callers 2

nfp_init_app_fw_flowerFunction · 0.85
nfp_uninit_app_fw_flowerFunction · 0.85

Calls 2

rte_hash_freeFunction · 0.85
rte_freeFunction · 0.85

Tested by

no test coverage detected