Lines Matching refs:pre_ct_entry

533 	struct nfp_fl_ct_flow_entry *pre_ct_entry;  in nfp_ct_merge_extra_check()  local
535 pre_ct_entry = tc_m_entry->pre_ct_parent; in nfp_ct_merge_extra_check()
536 prev_nft_m_entry = pre_ct_entry->prev_m_entries[pre_ct_entry->num_prev_m_entries - 1]; in nfp_ct_merge_extra_check()
541 static int nfp_ct_merge_act_check(struct nfp_fl_ct_flow_entry *pre_ct_entry, in nfp_ct_merge_act_check() argument
549 flow_action_for_each(i, act, &pre_ct_entry->rule->action) { in nfp_ct_merge_act_check()
816 struct nfp_fl_ct_flow_entry *pre_ct_entry; in nfp_fl_ct_add_offload() local
832 pre_ct_entry = m_entry->tc_m_parent->pre_ct_parent; in nfp_fl_ct_add_offload()
833 num_rules = pre_ct_entry->num_prev_m_entries * 2 + _CT_TYPE_MAX; in nfp_fl_ct_add_offload()
835 for (i = 0; i < pre_ct_entry->num_prev_m_entries; i++) { in nfp_fl_ct_add_offload()
836 rules[j++] = pre_ct_entry->prev_m_entries[i]->tc_m_parent->pre_ct_parent->rule; in nfp_fl_ct_add_offload()
837 rules[j++] = pre_ct_entry->prev_m_entries[i]->nft_parent->rule; in nfp_fl_ct_add_offload()
1179 struct nfp_fl_ct_flow_entry *post_ct_entry, *pre_ct_entry; in nfp_ct_do_nft_merge() local
1184 pre_ct_entry = tc_m_entry->pre_ct_parent; in nfp_ct_do_nft_merge()
1187 err = nfp_ct_merge_act_check(pre_ct_entry, post_ct_entry, nft_entry); in nfp_ct_do_nft_merge()
1197 err = nfp_ct_merge_check(pre_ct_entry, nft_entry); in nfp_ct_do_nft_merge()
1207 if (pre_ct_entry->num_prev_m_entries > 0) { in nfp_ct_do_nft_merge()
1237 nft_m_entry->netdev = pre_ct_entry->netdev; in nfp_ct_do_nft_merge()
1274 struct nfp_fl_ct_flow_entry *post_ct_entry, *pre_ct_entry; in nfp_ct_do_tc_merge() local
1281 pre_ct_entry = ct_entry1; in nfp_ct_do_tc_merge()
1285 pre_ct_entry = ct_entry2; in nfp_ct_do_tc_merge()
1291 if (post_ct_entry->chain_index != pre_ct_entry->goto_chain_index) in nfp_ct_do_tc_merge()
1294 err = nfp_ct_merge_check(pre_ct_entry, post_ct_entry); in nfp_ct_do_tc_merge()
1298 new_cookie[0] = pre_ct_entry->cookie; in nfp_ct_do_tc_merge()
1312 m_entry->pre_ct_parent = pre_ct_entry; in nfp_ct_do_tc_merge()
1316 list_add(&m_entry->pre_ct_list, &pre_ct_entry->children); in nfp_ct_do_tc_merge()
1856 struct nfp_fl_ct_flow_entry *pre_ct_entry; in nfp_fl_ct_handle_pre_ct() local
1859 pre_ct_entry = m_entry->tc_m_parent->pre_ct_parent; in nfp_fl_ct_handle_pre_ct()
1860 for (i = 0; i < pre_ct_entry->num_prev_m_entries; i++) in nfp_fl_ct_handle_pre_ct()
1861 ct_entry->prev_m_entries[i] = pre_ct_entry->prev_m_entries[i]; in nfp_fl_ct_handle_pre_ct()
1967 struct nfp_fl_ct_flow_entry *pre_ct_entry, *post_ct_entry; in nfp_fl_create_new_pre_ct() local
1971 pre_ct_entry = m_entry->tc_m_parent->pre_ct_parent; in nfp_fl_create_new_pre_ct()
1972 if (pre_ct_entry->num_prev_m_entries >= NFP_MAX_RECIRC_CT_ZONES - 1) in nfp_fl_create_new_pre_ct()
1980 err = nfp_fl_ct_handle_pre_ct(pre_ct_entry->zt->priv, in nfp_fl_create_new_pre_ct()
1981 pre_ct_entry->netdev, in nfp_fl_create_new_pre_ct()