Lines Matching refs:ct_map_ent

2064 		    struct nfp_fl_ct_map_entry *ct_map_ent)  in nfp_fl_ct_stats()  argument
2066 struct nfp_fl_ct_flow_entry *ct_entry = ct_map_ent->ct_entry; in nfp_fl_ct_stats()
2170 struct nfp_fl_ct_map_entry *ct_map_ent; in nfp_fl_ct_offload_nft_flow() local
2183 ct_map_ent = rhashtable_lookup_fast(&zt->priv->ct_map_table, &flow->cookie, in nfp_fl_ct_offload_nft_flow()
2185 if (!ct_map_ent) { in nfp_fl_ct_offload_nft_flow()
2196 ct_map_ent = rhashtable_lookup_fast(&zt->priv->ct_map_table, &flow->cookie, in nfp_fl_ct_offload_nft_flow()
2198 return nfp_fl_ct_del_flow(ct_map_ent); in nfp_fl_ct_offload_nft_flow()
2200 ct_map_ent = rhashtable_lookup_fast(&zt->priv->ct_map_table, &flow->cookie, in nfp_fl_ct_offload_nft_flow()
2202 if (ct_map_ent) in nfp_fl_ct_offload_nft_flow()
2203 return nfp_fl_ct_stats(flow, ct_map_ent); in nfp_fl_ct_offload_nft_flow()
2237 struct nfp_fl_ct_map_entry *ct_map_ent; in nfp_fl_ct_clean_nft_entries() local
2241 ct_map_ent = rhashtable_lookup_fast(&zt->priv->ct_map_table, in nfp_fl_ct_clean_nft_entries()
2244 nfp_fl_ct_del_flow(ct_map_ent); in nfp_fl_ct_clean_nft_entries()
2248 int nfp_fl_ct_del_flow(struct nfp_fl_ct_map_entry *ct_map_ent) in nfp_fl_ct_del_flow() argument
2255 if (!ct_map_ent) in nfp_fl_ct_del_flow()
2258 zt = ct_map_ent->ct_entry->zt; in nfp_fl_ct_del_flow()
2259 ct_entry = ct_map_ent->ct_entry; in nfp_fl_ct_del_flow()
2265 if (ct_map_ent->cookie > 0) in nfp_fl_ct_del_flow()
2266 rhashtable_remove_fast(m_table, &ct_map_ent->hash_node, in nfp_fl_ct_del_flow()
2269 if (ct_map_ent->cookie > 0) in nfp_fl_ct_del_flow()
2270 kfree(ct_map_ent); in nfp_fl_ct_del_flow()
2283 rhashtable_remove_fast(m_table, &ct_map_ent->hash_node, in nfp_fl_ct_del_flow()
2286 kfree(ct_map_ent); in nfp_fl_ct_del_flow()
2290 rhashtable_remove_fast(m_table, &ct_map_ent->hash_node, in nfp_fl_ct_del_flow()
2292 nfp_fl_ct_clean_flow_entry(ct_map_ent->ct_entry); in nfp_fl_ct_del_flow()
2293 kfree(ct_map_ent); in nfp_fl_ct_del_flow()