Home
last modified time | relevance | path

Searched refs:vsi_res (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c168 struct virtchnl_vsi_resource *vsi_res; in iavf_validate_num_queues() local
178 vsi_res = &adapter->vf_res->vsi_res[i]; in iavf_validate_num_queues()
179 vsi_res->num_queue_pairs = IAVF_MAX_REQ_QUEUES; in iavf_validate_num_queues()
272 vqci->vsi_id = adapter->vsi_res->vsi_id; in iavf_configure_queues()
317 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_enable_queues()
342 vqs.vsi_id = adapter->vsi_res->vsi_id; in iavf_disable_queues()
386 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()
395 vecmap->vsi_id = adapter->vsi_res->vsi_id; in iavf_map_queues()
456 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_add_ether_addrs()
525 veal->vsi_id = adapter->vsi_res->vsi_id; in iavf_del_ether_addrs()
[all …]
Diavf_common.c809 struct virtchnl_vsi_resource *vsi_res; in iavf_vf_parse_hw_config() local
812 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()
Diavf_main.c1220 if (!adapter->vsi_res) in iavf_free_queues()
1253 adapter->vsi_res->num_queue_pairs, in iavf_alloc_queues()
1310 if (!adapter->vsi_res) { in iavf_set_interrupt_capability()
3833 if (vfres->vsi_res[i].vsi_type == VIRTCHNL_VSI_SRIOV) in iavf_process_config()
3834 adapter->vsi_res = &vfres->vsi_res[i]; in iavf_process_config()
3836 if (!adapter->vsi_res) { in iavf_process_config()
3842 num_req_queues > adapter->vsi_res->num_queue_pairs) { in iavf_process_config()
3850 adapter->vsi_res->num_queue_pairs); in iavf_process_config()
3852 adapter->num_req_queues = adapter->vsi_res->num_queue_pairs; in iavf_process_config()
3938 adapter->vsi.id = adapter->vsi_res->vsi_id; in iavf_process_config()
[all …]
Diavf.h360 struct virtchnl_vsi_resource *vsi_res; /* our LAN VSI */ member
Diavf_ethtool.c1816 ch->max_combined = adapter->vsi_res->num_queue_pairs; in iavf_get_channels()
1849 if (num_req == 0 || num_req > adapter->vsi_res->num_queue_pairs) in iavf_set_channels()
/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c2131 len = struct_size(vfres, vsi_res, num_vsis); in i40e_vc_get_vf_resources_msg()
2213 vfres->vsi_res[0].vsi_id = vf->lan_vsi_id; in i40e_vc_get_vf_resources_msg()
2214 vfres->vsi_res[0].vsi_type = VIRTCHNL_VSI_SRIOV; in i40e_vc_get_vf_resources_msg()
2215 vfres->vsi_res[0].num_queue_pairs = vsi->alloc_queue_pairs; in i40e_vc_get_vf_resources_msg()
2217 vfres->vsi_res[0].qset_handle in i40e_vc_get_vf_resources_msg()
2223 ether_addr_copy(vfres->vsi_res[0].default_mac_addr, in i40e_vc_get_vf_resources_msg()
/drivers/net/ethernet/intel/ice/
Dice_virtchnl_pf.c2387 vfres->vsi_res[0].vsi_id = vf->lan_vsi_num; in ice_vc_get_vf_res_msg()
2388 vfres->vsi_res[0].vsi_type = VIRTCHNL_VSI_SRIOV; in ice_vc_get_vf_res_msg()
2389 vfres->vsi_res[0].num_queue_pairs = vsi->num_txq; in ice_vc_get_vf_res_msg()
2390 ether_addr_copy(vfres->vsi_res[0].default_mac_addr, in ice_vc_get_vf_res_msg()