Lines Matching refs:tun

477 ice_vc_fdir_rem_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, int tun)  in ice_vc_fdir_rem_prof()  argument
494 prof_id = vf_prof->prof_id[tun]; in ice_vc_fdir_rem_prof()
502 if (!fdir->prof_entry_cnt[flow][tun]) in ice_vc_fdir_rem_prof()
505 for (i = 0; i < fdir->prof_entry_cnt[flow][tun]; i++) in ice_vc_fdir_rem_prof()
506 if (vf_prof->entry_h[i][tun]) { in ice_vc_fdir_rem_prof()
511 vf_prof->entry_h[i][tun]); in ice_vc_fdir_rem_prof()
512 vf_prof->entry_h[i][tun] = 0; in ice_vc_fdir_rem_prof()
516 devm_kfree(dev, vf_prof->fdir_seg[tun]); in ice_vc_fdir_rem_prof()
517 vf_prof->fdir_seg[tun] = NULL; in ice_vc_fdir_rem_prof()
522 fdir->prof_entry_cnt[flow][tun] = 0; in ice_vc_fdir_rem_prof()
636 struct ice_flow_seg_info *seg, int tun) in ice_vc_fdir_write_flow_prof() argument
662 old_seg = vf_prof->fdir_seg[tun]; in ice_vc_fdir_write_flow_prof()
670 if (fdir->fdir_fltr_cnt[flow][tun]) { in ice_vc_fdir_write_flow_prof()
678 ice_vc_fdir_rem_prof(vf, flow, tun); in ice_vc_fdir_write_flow_prof()
682 tun + 1, false, &prof); in ice_vc_fdir_write_flow_prof()
708 vf_prof->fdir_seg[tun] = seg; in ice_vc_fdir_write_flow_prof()
710 fdir->prof_entry_cnt[flow][tun] = 0; in ice_vc_fdir_write_flow_prof()
712 vf_prof->entry_h[vf_prof->cnt][tun] = entry1_h; in ice_vc_fdir_write_flow_prof()
715 fdir->prof_entry_cnt[flow][tun]++; in ice_vc_fdir_write_flow_prof()
717 vf_prof->entry_h[vf_prof->cnt][tun] = entry2_h; in ice_vc_fdir_write_flow_prof()
720 fdir->prof_entry_cnt[flow][tun]++; in ice_vc_fdir_write_flow_prof()
722 vf_prof->prof_id[tun] = prof->id; in ice_vc_fdir_write_flow_prof()
749 struct virtchnl_fdir_fltr_conf *conf, int tun) in ice_vc_fdir_config_input_set() argument
787 ret = ice_vc_fdir_write_flow_prof(vf, flow, seg, tun); in ice_vc_fdir_config_input_set()