Lines Matching refs:vf_prof
480 struct ice_fd_hw_prof *vf_prof; in ice_vc_fdir_rem_prof() local
493 vf_prof = fdir->fdir_prof[flow]; in ice_vc_fdir_rem_prof()
494 prof_id = vf_prof->prof_id[tun]; in ice_vc_fdir_rem_prof()
506 if (vf_prof->entry_h[i][tun]) { in ice_vc_fdir_rem_prof()
507 u16 vsi_num = ice_get_hw_vsi_num(hw, vf_prof->vsi_h[i]); 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()
519 for (i = 0; i < vf_prof->cnt; i++) in ice_vc_fdir_rem_prof()
520 vf_prof->vsi_h[i] = 0; in ice_vc_fdir_rem_prof()
642 struct ice_fd_hw_prof *vf_prof; in ice_vc_fdir_write_flow_prof() local
661 vf_prof = fdir->fdir_prof[flow]; in ice_vc_fdir_write_flow_prof()
662 old_seg = vf_prof->fdir_seg[tun]; in ice_vc_fdir_write_flow_prof()
708 vf_prof->fdir_seg[tun] = seg; in ice_vc_fdir_write_flow_prof()
709 vf_prof->cnt = 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()
713 vf_prof->vsi_h[vf_prof->cnt] = vf_vsi->idx; in ice_vc_fdir_write_flow_prof()
714 vf_prof->cnt++; 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()
718 vf_prof->vsi_h[vf_prof->cnt] = ctrl_vsi->idx; in ice_vc_fdir_write_flow_prof()
719 vf_prof->cnt++; in ice_vc_fdir_write_flow_prof()
722 vf_prof->prof_id[tun] = prof->id; in ice_vc_fdir_write_flow_prof()