Searched refs:vsi_res (Results 1 – 8 of 8) sorted by relevance
186 struct virtchnl_vsi_resource *vsi_res; in iavf_validate_num_queues() local196 vsi_res = &adapter->vf_res->vsi_res[i]; in iavf_validate_num_queues()197 vsi_res->num_queue_pairs = IAVF_MAX_REQ_QUEUES; in iavf_validate_num_queues()296 vqci->vsi_id = adapter->vsi_res->vsi_id; in iavf_configure_queues()341 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_enable_queues()366 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_disable_queues()410 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()419 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()492 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_ether_addrs()560 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_del_ether_addrs()[all …]
778 struct virtchnl_vsi_resource *vsi_res; in iavf_vf_parse_hw_config() local781 vsi_res = &msg->vsi_res[0]; in iavf_vf_parse_hw_config()791 if (vsi_res->vsi_type == VIRTCHNL_VSI_SRIOV) { in iavf_vf_parse_hw_config()793 vsi_res->default_mac_addr); in iavf_vf_parse_hw_config()795 vsi_res->default_mac_addr); in iavf_vf_parse_hw_config()797 vsi_res++; in iavf_vf_parse_hw_config()
97 vsi_res, IAVF_MAX_VF_VSI)423 struct virtchnl_vsi_resource *vsi_res; /* our LAN VSI */ member
1479 if (!adapter->vsi_res) in iavf_free_queues()1592 adapter->vsi_res->num_queue_pairs, in iavf_alloc_queues()1651 if (!adapter->vsi_res) { in iavf_set_interrupt_capability()2433 if (adapter->vf_res->vsi_res[i].vsi_type == VIRTCHNL_VSI_SRIOV) in iavf_parse_vf_resource_msg()2434 adapter->vsi_res = &adapter->vf_res->vsi_res[i]; in iavf_parse_vf_resource_msg()2436 if (!adapter->vsi_res) { in iavf_parse_vf_resource_msg()2442 num_req_queues > adapter->vsi_res->num_queue_pairs) { in iavf_parse_vf_resource_msg()2450 adapter->vsi_res->num_queue_pairs); in iavf_parse_vf_resource_msg()2452 adapter->num_req_queues = adapter->vsi_res->num_queue_pairs; in iavf_parse_vf_resource_msg()2458 adapter->vsi.id = adapter->vsi_res->vsi_id; in iavf_parse_vf_resource_msg()[all …]
1831 ch->max_combined = adapter->vsi_res->num_queue_pairs; in iavf_get_channels()1864 if (num_req == 0 || num_req > adapter->vsi_res->num_queue_pairs) in iavf_set_channels()
431 len = virtchnl_struct_size(vfres, vsi_res, 0); in ice_vc_get_vf_res_msg()506 vfres->vsi_res[0].vsi_id = vf->lan_vsi_num; in ice_vc_get_vf_res_msg()507 vfres->vsi_res[0].vsi_type = VIRTCHNL_VSI_SRIOV; in ice_vc_get_vf_res_msg()508 vfres->vsi_res[0].num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()509 ether_addr_copy(vfres->vsi_res[0].default_mac_addr, in ice_vc_get_vf_res_msg()
2133 len = virtchnl_struct_size(vfres, vsi_res, num_vsis); in i40e_vc_get_vf_resources_msg()2215 vfres->vsi_res[0].vsi_id = vf->lan_vsi_id; in i40e_vc_get_vf_resources_msg()2216 vfres->vsi_res[0].vsi_type = VIRTCHNL_VSI_SRIOV; in i40e_vc_get_vf_resources_msg()2217 vfres->vsi_res[0].num_queue_pairs = vsi->alloc_queue_pairs; in i40e_vc_get_vf_resources_msg()2219 vfres->vsi_res[0].qset_handle in i40e_vc_get_vf_resources_msg()2225 ether_addr_copy(vfres->vsi_res[0].default_mac_addr, in i40e_vc_get_vf_resources_msg()
271 struct virtchnl_vsi_resource vsi_res[]; member