Home
last modified time | relevance | path

Searched refs:vf_vsi (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_virtchnl_fdir.c674 struct ice_vsi *vf_vsi; in ice_vc_fdir_rem_prof() local
687 vf_vsi = pf->vsi[vf->lan_vsi_idx]; in ice_vc_fdir_rem_prof()
688 if (!vf_vsi) { in ice_vc_fdir_rem_prof()
696 prof_id = ICE_FLOW_PROF_FD(vf_vsi->vsi_num, in ice_vc_fdir_rem_prof()
750 struct ice_vsi *vf_vsi, *ctrl_vsi; in ice_vc_fdir_write_flow_prof() local
766 vf_vsi = pf->vsi[vf->lan_vsi_idx]; in ice_vc_fdir_write_flow_prof()
767 if (!vf_vsi) in ice_vc_fdir_write_flow_prof()
794 prof_id = ICE_FLOW_PROF_FD(vf_vsi->vsi_num, flow, in ice_vc_fdir_write_flow_prof()
806 status = ice_flow_add_entry(hw, ICE_BLK_FD, prof_id, vf_vsi->idx, in ice_vc_fdir_write_flow_prof()
807 vf_vsi->idx, ICE_FLOW_PRIO_NORMAL, in ice_vc_fdir_write_flow_prof()
[all …]
Dice_virtchnl_pf.c2855 struct ice_vsi *vf_vsi; in ice_set_vf_spoofchk() local
2870 vf_vsi = ice_get_vf_vsi(vf); in ice_set_vf_spoofchk()
2871 if (!vf_vsi) { in ice_set_vf_spoofchk()
2877 if (vf_vsi->type != ICE_VSI_VF) { in ice_set_vf_spoofchk()
2879 vf_vsi->type, vf_vsi->vsi_num, vf->vf_id); in ice_set_vf_spoofchk()
2892 ctx->info.sec_flags = vf_vsi->info.sec_flags; in ice_set_vf_spoofchk()
2906 status = ice_update_vsi(&pf->hw, vf_vsi->idx, ctx, NULL); in ice_set_vf_spoofchk()
2909 ena ? "en" : "dis", vf->vf_id, vf_vsi->vsi_num, in ice_set_vf_spoofchk()
2916 vf_vsi->info.sec_flags = ctx->info.sec_flags; in ice_set_vf_spoofchk()