Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_virtchnl_fdir.c484 struct ice_vsi *vf_vsi; in ice_vc_fdir_rem_prof() local
497 vf_vsi = pf->vsi[vf->lan_vsi_idx]; in ice_vc_fdir_rem_prof()
498 if (!vf_vsi) { in ice_vc_fdir_rem_prof()
506 prof_id = ICE_FLOW_PROF_FD(vf_vsi->vsi_num, in ice_vc_fdir_rem_prof()
560 struct ice_vsi *vf_vsi, *ctrl_vsi; in ice_vc_fdir_write_flow_prof() local
575 vf_vsi = pf->vsi[vf->lan_vsi_idx]; in ice_vc_fdir_write_flow_prof()
576 if (!vf_vsi) in ice_vc_fdir_write_flow_prof()
603 prof_id = ICE_FLOW_PROF_FD(vf_vsi->vsi_num, flow, in ice_vc_fdir_write_flow_prof()
614 ret = ice_flow_add_entry(hw, ICE_BLK_FD, prof_id, vf_vsi->idx, in ice_vc_fdir_write_flow_prof()
615 vf_vsi->idx, ICE_FLOW_PRIO_NORMAL, in ice_vc_fdir_write_flow_prof()
[all …]
Dice_sriov.c1216 struct ice_vsi *vf_vsi; in ice_set_vf_spoofchk() local
1231 vf_vsi = ice_get_vf_vsi(vf); in ice_set_vf_spoofchk()
1232 if (!vf_vsi) { in ice_set_vf_spoofchk()
1239 if (vf_vsi->type != ICE_VSI_VF) { in ice_set_vf_spoofchk()
1241 vf_vsi->type, vf_vsi->vsi_num, vf->vf_id); in ice_set_vf_spoofchk()
1252 ret = ice_vsi_apply_spoofchk(vf_vsi, ena); in ice_set_vf_spoofchk()
1255 ena ? "ON" : "OFF", vf->vf_id, vf_vsi->vsi_num, ret); in ice_set_vf_spoofchk()