Searched refs:vsi_res (Results 1 – 8 of 8) sorted by relevance
165 struct virtchnl_vsi_resource *vsi_res; in iavf_validate_num_queues() local175 vsi_res = &adapter->vf_res->vsi_res[i]; in iavf_validate_num_queues()176 vsi_res->num_queue_pairs = IAVF_MAX_REQ_QUEUES; in iavf_validate_num_queues()269 vqci->vsi_id = adapter->vsi_res->vsi_id; in iavf_configure_queues()314 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_enable_queues()339 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_disable_queues()383 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()392 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()453 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_ether_addrs()522 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_del_ether_addrs()[all …]
921 struct virtchnl_vsi_resource *vsi_res; in iavf_vf_parse_hw_config() local924 vsi_res = &msg->vsi_res[0]; in iavf_vf_parse_hw_config()934 if (vsi_res->vsi_type == VIRTCHNL_VSI_SRIOV) { in iavf_vf_parse_hw_config()936 vsi_res->default_mac_addr); in iavf_vf_parse_hw_config()938 vsi_res->default_mac_addr); in iavf_vf_parse_hw_config()940 vsi_res++; in iavf_vf_parse_hw_config()
1092 if (!adapter->vsi_res) in iavf_free_queues()1125 adapter->vsi_res->num_queue_pairs, in iavf_alloc_queues()1182 if (!adapter->vsi_res) { in iavf_set_interrupt_capability()3516 if (vfres->vsi_res[i].vsi_type == VIRTCHNL_VSI_SRIOV) in iavf_process_config()3517 adapter->vsi_res = &vfres->vsi_res[i]; in iavf_process_config()3519 if (!adapter->vsi_res) { in iavf_process_config()3525 num_req_queues > adapter->vsi_res->num_queue_pairs) { in iavf_process_config()3533 adapter->vsi_res->num_queue_pairs); in iavf_process_config()3535 adapter->num_req_queues = adapter->vsi_res->num_queue_pairs; in iavf_process_config()3619 adapter->vsi.id = adapter->vsi_res->vsi_id; in iavf_process_config()[all …]
916 ch->max_combined = adapter->vsi_res->num_queue_pairs; in iavf_get_channels()949 if (num_req == 0 || num_req > adapter->vsi_res->num_queue_pairs) in iavf_set_channels()
347 struct virtchnl_vsi_resource *vsi_res; /* our LAN VSI */ member
267 struct virtchnl_vsi_resource vsi_res[1]; member
2052 len = struct_size(vfres, vsi_res, num_vsis); in i40e_vc_get_vf_resources_msg()2133 vfres->vsi_res[0].vsi_id = vf->lan_vsi_id; in i40e_vc_get_vf_resources_msg()2134 vfres->vsi_res[0].vsi_type = VIRTCHNL_VSI_SRIOV; in i40e_vc_get_vf_resources_msg()2135 vfres->vsi_res[0].num_queue_pairs = vsi->alloc_queue_pairs; in i40e_vc_get_vf_resources_msg()2137 vfres->vsi_res[0].qset_handle in i40e_vc_get_vf_resources_msg()2139 ether_addr_copy(vfres->vsi_res[0].default_mac_addr, in i40e_vc_get_vf_resources_msg()
1994 vfres->vsi_res[0].vsi_id = vf->lan_vsi_num; in ice_vc_get_vf_res_msg()1995 vfres->vsi_res[0].vsi_type = VIRTCHNL_VSI_SRIOV; in ice_vc_get_vf_res_msg()1996 vfres->vsi_res[0].num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()1997 ether_addr_copy(vfres->vsi_res[0].default_mac_addr, in ice_vc_get_vf_res_msg()