Lines Matching refs:vvfl_v2
719 struct virtchnl_vlan_filter_list_v2 *vvfl_v2; in iavf_add_vlans() local
729 len = virtchnl_struct_size(vvfl_v2, filters, count); in iavf_add_vlans()
733 len = virtchnl_struct_size(vvfl_v2, filters, in iavf_add_vlans()
738 vvfl_v2 = kzalloc(len, GFP_ATOMIC); in iavf_add_vlans()
739 if (!vvfl_v2) { in iavf_add_vlans()
744 vvfl_v2->vport_id = adapter->vsi_res->vsi_id; in iavf_add_vlans()
745 vvfl_v2->num_elements = count; in iavf_add_vlans()
757 vlan = &vvfl_v2->filters[i].outer; in iavf_add_vlans()
759 vlan = &vvfl_v2->filters[i].inner; in iavf_add_vlans()
775 (u8 *)vvfl_v2, len); in iavf_add_vlans()
776 kfree(vvfl_v2); in iavf_add_vlans()
874 struct virtchnl_vlan_filter_list_v2 *vvfl_v2; in iavf_del_vlans() local
878 len = virtchnl_struct_size(vvfl_v2, filters, count); in iavf_del_vlans()
882 len = virtchnl_struct_size(vvfl_v2, filters, in iavf_del_vlans()
887 vvfl_v2 = kzalloc(len, GFP_ATOMIC); in iavf_del_vlans()
888 if (!vvfl_v2) { in iavf_del_vlans()
893 vvfl_v2->vport_id = adapter->vsi_res->vsi_id; in iavf_del_vlans()
894 vvfl_v2->num_elements = count; in iavf_del_vlans()
904 vlan = &vvfl_v2->filters[i].outer; in iavf_del_vlans()
906 vlan = &vvfl_v2->filters[i].inner; in iavf_del_vlans()
930 (u8 *)vvfl_v2, len); in iavf_del_vlans()
931 kfree(vvfl_v2); in iavf_del_vlans()