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()297 vqci->vsi_id = adapter->vsi_res->vsi_id; in iavf_configure_queues()342 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_enable_queues()367 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_disable_queues()411 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()420 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()495 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_ether_addrs()565 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_del_ether_addrs()[all …]
809 struct virtchnl_vsi_resource *vsi_res; in iavf_vf_parse_hw_config() local812 vsi_res = &msg->vsi_res[0]; in iavf_vf_parse_hw_config()822 if (vsi_res->vsi_type == VIRTCHNL_VSI_SRIOV) { in iavf_vf_parse_hw_config()824 vsi_res->default_mac_addr); in iavf_vf_parse_hw_config()826 vsi_res->default_mac_addr); in iavf_vf_parse_hw_config()828 vsi_res++; in iavf_vf_parse_hw_config()
1470 if (!adapter->vsi_res) in iavf_free_queues()1583 adapter->vsi_res->num_queue_pairs, in iavf_alloc_queues()1642 if (!adapter->vsi_res) { in iavf_set_interrupt_capability()2367 if (adapter->vf_res->vsi_res[i].vsi_type == VIRTCHNL_VSI_SRIOV) in iavf_parse_vf_resource_msg()2368 adapter->vsi_res = &adapter->vf_res->vsi_res[i]; in iavf_parse_vf_resource_msg()2370 if (!adapter->vsi_res) { in iavf_parse_vf_resource_msg()2376 num_req_queues > adapter->vsi_res->num_queue_pairs) { in iavf_parse_vf_resource_msg()2384 adapter->vsi_res->num_queue_pairs); in iavf_parse_vf_resource_msg()2386 adapter->num_req_queues = adapter->vsi_res->num_queue_pairs; in iavf_parse_vf_resource_msg()2392 adapter->vsi.id = adapter->vsi_res->vsi_id; in iavf_parse_vf_resource_msg()[all …]
415 struct virtchnl_vsi_resource *vsi_res; /* our LAN VSI */ member
1811 ch->max_combined = adapter->vsi_res->num_queue_pairs; in iavf_get_channels()1844 if (num_req == 0 || num_req > adapter->vsi_res->num_queue_pairs) in iavf_set_channels()
503 vfres->vsi_res[0].vsi_id = vf->lan_vsi_num; in ice_vc_get_vf_res_msg()504 vfres->vsi_res[0].vsi_type = VIRTCHNL_VSI_SRIOV; in ice_vc_get_vf_res_msg()505 vfres->vsi_res[0].num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()506 ether_addr_copy(vfres->vsi_res[0].default_mac_addr, in ice_vc_get_vf_res_msg()
2105 len = struct_size(vfres, vsi_res, num_vsis); in i40e_vc_get_vf_resources_msg()2187 vfres->vsi_res[0].vsi_id = vf->lan_vsi_id; in i40e_vc_get_vf_resources_msg()2188 vfres->vsi_res[0].vsi_type = VIRTCHNL_VSI_SRIOV; in i40e_vc_get_vf_resources_msg()2189 vfres->vsi_res[0].num_queue_pairs = vsi->alloc_queue_pairs; in i40e_vc_get_vf_resources_msg()2191 vfres->vsi_res[0].qset_handle in i40e_vc_get_vf_resources_msg()2197 ether_addr_copy(vfres->vsi_res[0].default_mac_addr, in i40e_vc_get_vf_resources_msg()
283 struct virtchnl_vsi_resource vsi_res[1]; member