Lines Matching refs:tun

669 ice_vc_fdir_rem_prof(struct ice_vf *vf, enum ice_fltr_ptype flow, int tun)  in ice_vc_fdir_rem_prof()  argument
693 if (!fdir->prof_entry_cnt[flow][tun]) in ice_vc_fdir_rem_prof()
697 flow, tun ? ICE_FLTR_PTYPE_MAX : 0); in ice_vc_fdir_rem_prof()
699 for (i = 0; i < fdir->prof_entry_cnt[flow][tun]; i++) in ice_vc_fdir_rem_prof()
700 if (vf_prof->entry_h[i][tun]) { in ice_vc_fdir_rem_prof()
705 vf_prof->entry_h[i][tun]); in ice_vc_fdir_rem_prof()
706 vf_prof->entry_h[i][tun] = 0; in ice_vc_fdir_rem_prof()
710 devm_kfree(dev, vf_prof->fdir_seg[tun]); in ice_vc_fdir_rem_prof()
711 vf_prof->fdir_seg[tun] = NULL; in ice_vc_fdir_rem_prof()
716 fdir->prof_entry_cnt[flow][tun] = 0; in ice_vc_fdir_rem_prof()
747 struct ice_flow_seg_info *seg, int tun) in ice_vc_fdir_write_flow_prof() argument
775 old_seg = vf_prof->fdir_seg[tun]; in ice_vc_fdir_write_flow_prof()
783 if (fdir->fdir_fltr_cnt[flow][tun]) { in ice_vc_fdir_write_flow_prof()
791 ice_vc_fdir_rem_prof(vf, flow, tun); in ice_vc_fdir_write_flow_prof()
795 tun ? ICE_FLTR_PTYPE_MAX : 0); in ice_vc_fdir_write_flow_prof()
798 tun + 1, &prof); in ice_vc_fdir_write_flow_prof()
827 vf_prof->fdir_seg[tun] = seg; in ice_vc_fdir_write_flow_prof()
829 fdir->prof_entry_cnt[flow][tun] = 0; in ice_vc_fdir_write_flow_prof()
831 vf_prof->entry_h[vf_prof->cnt][tun] = entry1_h; in ice_vc_fdir_write_flow_prof()
834 fdir->prof_entry_cnt[flow][tun]++; in ice_vc_fdir_write_flow_prof()
836 vf_prof->entry_h[vf_prof->cnt][tun] = entry2_h; in ice_vc_fdir_write_flow_prof()
839 fdir->prof_entry_cnt[flow][tun]++; in ice_vc_fdir_write_flow_prof()
866 struct virtchnl_fdir_fltr_conf *conf, int tun) in ice_vc_fdir_config_input_set() argument
897 ret = ice_vc_fdir_write_flow_prof(vf, flow, seg, tun); in ice_vc_fdir_config_input_set()