Lines Matching refs:vvfl
681 struct virtchnl_vlan_filter_list *vvfl; in iavf_add_vlans() local
685 len = virtchnl_struct_size(vvfl, vlan_id, count); in iavf_add_vlans()
689 len = virtchnl_struct_size(vvfl, vlan_id, in iavf_add_vlans()
693 vvfl = kzalloc(len, GFP_ATOMIC); in iavf_add_vlans()
694 if (!vvfl) { in iavf_add_vlans()
699 vvfl->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_vlans()
700 vvfl->num_elements = count; in iavf_add_vlans()
703 vvfl->vlan_id[i] = f->vlan.vid; in iavf_add_vlans()
715 iavf_send_pf_msg(adapter, VIRTCHNL_OP_ADD_VLAN, (u8 *)vvfl, len); in iavf_add_vlans()
716 kfree(vvfl); in iavf_add_vlans()
829 struct virtchnl_vlan_filter_list *vvfl; in iavf_del_vlans() local
833 len = virtchnl_struct_size(vvfl, vlan_id, count); in iavf_del_vlans()
837 len = virtchnl_struct_size(vvfl, vlan_id, in iavf_del_vlans()
841 vvfl = kzalloc(len, GFP_ATOMIC); in iavf_del_vlans()
842 if (!vvfl) { in iavf_del_vlans()
847 vvfl->vsi_id = adapter->vsi_res->vsi_id; in iavf_del_vlans()
848 vvfl->num_elements = count; in iavf_del_vlans()
851 vvfl->vlan_id[i] = f->vlan.vid; in iavf_del_vlans()
857 vvfl->vlan_id[i] = f->vlan.vid; in iavf_del_vlans()
872 iavf_send_pf_msg(adapter, VIRTCHNL_OP_DEL_VLAN, (u8 *)vvfl, len); in iavf_del_vlans()
873 kfree(vvfl); in iavf_del_vlans()