Lines Matching refs:vvfl
680 struct virtchnl_vlan_filter_list *vvfl; in iavf_add_vlans() local
684 len = virtchnl_struct_size(vvfl, vlan_id, count); in iavf_add_vlans()
688 len = virtchnl_struct_size(vvfl, vlan_id, in iavf_add_vlans()
692 vvfl = kzalloc(len, GFP_ATOMIC); in iavf_add_vlans()
693 if (!vvfl) { in iavf_add_vlans()
698 vvfl->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_vlans()
699 vvfl->num_elements = count; in iavf_add_vlans()
702 vvfl->vlan_id[i] = f->vlan.vid; in iavf_add_vlans()
714 iavf_send_pf_msg(adapter, VIRTCHNL_OP_ADD_VLAN, (u8 *)vvfl, len); in iavf_add_vlans()
715 kfree(vvfl); in iavf_add_vlans()
828 struct virtchnl_vlan_filter_list *vvfl; in iavf_del_vlans() local
832 len = virtchnl_struct_size(vvfl, vlan_id, count); in iavf_del_vlans()
836 len = virtchnl_struct_size(vvfl, vlan_id, in iavf_del_vlans()
840 vvfl = kzalloc(len, GFP_ATOMIC); in iavf_del_vlans()
841 if (!vvfl) { in iavf_del_vlans()
846 vvfl->vsi_id = adapter->vsi_res->vsi_id; in iavf_del_vlans()
847 vvfl->num_elements = count; in iavf_del_vlans()
850 vvfl->vlan_id[i] = f->vlan.vid; in iavf_del_vlans()
856 vvfl->vlan_id[i] = f->vlan.vid; in iavf_del_vlans()
871 iavf_send_pf_msg(adapter, VIRTCHNL_OP_DEL_VLAN, (u8 *)vvfl, len); in iavf_del_vlans()
872 kfree(vvfl); in iavf_del_vlans()