Lines Matching refs:recp
2147 struct ice_sw_recipe *recp) in ice_collect_result_idx() argument
2151 recp->res_idxs); in ice_collect_result_idx()
2851 struct ice_sw_recipe *recp; in ice_create_pkt_fwd_rule() local
2892 recp = &hw->switch_info->recp_list[l_type]; in ice_create_pkt_fwd_rule()
2893 list_add(&fm_entry->list_entry, &recp->filt_rules); in ice_create_pkt_fwd_rule()
4623 struct ice_sw_recipe *recp; in ice_find_recp() local
4627 recp = hw->switch_info->recp_list; in ice_find_recp()
4634 if (!recp[i].recp_created) in ice_find_recp()
4641 if (recp[i].root_buf && recp[i].root_buf->content.act_ctrl & in ice_find_recp()
4646 if (lkup_exts->n_val_words == recp[i].lkup_exts.n_val_words) { in ice_find_recp()
4647 struct ice_fv_word *ar = recp[i].lkup_exts.fv_words; in ice_find_recp()
4649 u16 *cr = recp[i].lkup_exts.field_mask; in ice_find_recp()
4658 for (qr = 0; qr < recp[i].lkup_exts.n_val_words; in ice_find_recp()
4674 if (qr >= recp[i].lkup_exts.n_val_words) { in ice_find_recp()
4684 if (found && recp[i].tun_type == rinfo->tun_type && in ice_find_recp()
4685 recp[i].need_pass_l2 == rinfo->need_pass_l2 && in ice_find_recp()
4686 recp[i].allow_pass_l2 == rinfo->allow_pass_l2) in ice_find_recp()
5185 struct ice_sw_recipe *recp; in ice_add_sw_recipe() local
5200 recp = &sw->recp_list[entry->rid]; in ice_add_sw_recipe()
5202 recp->is_root = is_root; in ice_add_sw_recipe()
5204 recp->root_rid = entry->rid; in ice_add_sw_recipe()
5205 recp->big_recp = (is_root && rm->n_grp_count > 1); in ice_add_sw_recipe()
5207 memcpy(&recp->ext_words, entry->r_group.pairs, in ice_add_sw_recipe()
5210 memcpy(recp->r_bitmap, buf[buf_idx].recipe_bitmap, in ice_add_sw_recipe()
5211 sizeof(recp->r_bitmap)); in ice_add_sw_recipe()
5216 ice_collect_result_idx(&buf[buf_idx], recp); in ice_add_sw_recipe()
5225 recp->n_ext_words = entry->r_group.n_val_pairs; in ice_add_sw_recipe()
5226 recp->chain_idx = entry->chain_idx; in ice_add_sw_recipe()
5227 recp->priority = buf[buf_idx].content.act_ctrl_fwd_priority; in ice_add_sw_recipe()
5228 recp->n_grp_count = rm->n_grp_count; in ice_add_sw_recipe()
5229 recp->tun_type = rm->tun_type; in ice_add_sw_recipe()
5230 recp->need_pass_l2 = rm->need_pass_l2; in ice_add_sw_recipe()
5231 recp->allow_pass_l2 = rm->allow_pass_l2; in ice_add_sw_recipe()
5232 recp->recp_created = true; in ice_add_sw_recipe()