Lines Matching refs:vfl
3070 struct virtchnl_vlan_filter_list *vfl = in i40e_vc_add_vlan_msg() local
3084 !i40e_vc_isvalid_vsi_id(vf, vfl->vsi_id)) { in i40e_vc_add_vlan_msg()
3089 for (i = 0; i < vfl->num_elements; i++) { in i40e_vc_add_vlan_msg()
3090 if (vfl->vlan_id[i] > I40E_MAX_VLANID) { in i40e_vc_add_vlan_msg()
3093 "invalid VF VLAN id %d\n", vfl->vlan_id[i]); in i40e_vc_add_vlan_msg()
3104 for (i = 0; i < vfl->num_elements; i++) { in i40e_vc_add_vlan_msg()
3106 int ret = i40e_vsi_add_vlan(vsi, vfl->vlan_id[i]); in i40e_vc_add_vlan_msg()
3113 vfl->vlan_id[i], in i40e_vc_add_vlan_msg()
3118 vfl->vlan_id[i], in i40e_vc_add_vlan_msg()
3124 vfl->vlan_id[i], vf->vf_id, ret); in i40e_vc_add_vlan_msg()
3141 struct virtchnl_vlan_filter_list *vfl = in i40e_vc_remove_vlan_msg() local
3149 !i40e_vc_isvalid_vsi_id(vf, vfl->vsi_id)) { in i40e_vc_remove_vlan_msg()
3154 for (i = 0; i < vfl->num_elements; i++) { in i40e_vc_remove_vlan_msg()
3155 if (vfl->vlan_id[i] > I40E_MAX_VLANID) { in i40e_vc_remove_vlan_msg()
3163 if (vfl->num_elements > 1 || vfl->vlan_id[0]) in i40e_vc_remove_vlan_msg()
3168 for (i = 0; i < vfl->num_elements; i++) { in i40e_vc_remove_vlan_msg()
3169 i40e_vsi_kill_vlan(vsi, vfl->vlan_id[i]); in i40e_vc_remove_vlan_msg()
3175 vfl->vlan_id[i], in i40e_vc_remove_vlan_msg()
3180 vfl->vlan_id[i], in i40e_vc_remove_vlan_msg()