Lines Matching refs:vf_id
165 mbx.nic_cfg.vf_id = vf; in nic_mbx_send_ready()
236 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); in nic_get_bgx_stats()
237 lmac = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[bgx->vf_id]); in nic_get_bgx_stats()
240 mbx.bgx_stats.vf_id = bgx->vf_id; in nic_get_bgx_stats()
249 nic_send_msg_to_vf(nic, bgx->vf_id, &mbx); in nic_get_bgx_stats()
480 vnic = cfg->vf_id; in nic_config_cpi()
504 qset = cfg->vf_id; in nic_config_cpi()
545 nic->cpi_base[cfg->vf_id] = cpi_base; in nic_config_cpi()
546 nic->rssi_base[cfg->vf_id] = rssi_base; in nic_config_cpi()
571 rssi_base = nic->rssi_base[cfg->vf_id] + cfg->tbl_offset; in nic_config_rss()
579 qset = nic->vf_sqs[cfg->vf_id][svf - 1]; in nic_config_rss()
581 qset = cfg->vf_id; in nic_config_rss()
587 cpi_base = nic->cpi_base[cfg->vf_id]; in nic_config_rss()
709 int sqs_id = nic->vf_sqs[nicvf->vf_id][nicvf->sqs_id]; in nic_send_snicvf()
714 nic_send_msg_to_vf(nic, nicvf->vf_id, &mbx); in nic_send_snicvf()
748 nic->vf_sqs[sqs->vf_id][idx] = sqs_id; in nic_alloc_sqs()
749 nic->pqs_vf[sqs_id] = sqs->vf_id; in nic_alloc_sqs()
755 mbx.sqs_alloc.vf_id = sqs->vf_id; in nic_alloc_sqs()
757 nic_send_msg_to_vf(nic, sqs->vf_id, &mbx); in nic_alloc_sqs()
764 if (lbk->vf_id >= nic->num_vf_en) in nic_config_loopback()
767 bgx_idx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); in nic_config_loopback()
768 lmac_idx = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[lbk->vf_id]); in nic_config_loopback()
1033 lmac = mbx.mac.vf_id; in nic_handle_mbx_intr()
1040 mbx.frs.vf_id); in nic_handle_mbx_intr()