Lines Matching refs:vnic
475 u32 vnic, bgx, lmac, chan; in nic_config_cpi() local
480 vnic = cfg->vf_id; in nic_config_cpi()
481 bgx = NIC_GET_BGX_FROM_VF_LMAC_MAP(nic->vf_lmac_map[vnic]); in nic_config_cpi()
482 lmac = NIC_GET_LMAC_FROM_VF_LMAC_MAP(nic->vf_lmac_map[vnic]); in nic_config_cpi()
485 cpi_base = vnic * NIC_MAX_CPI_PER_LMAC; in nic_config_cpi()
486 rssi_base = vnic * hw->rss_ind_tbl_size; in nic_config_cpi()
490 (1ull << 63) | (vnic << 0)); in nic_config_cpi()
524 (vnic << 24) | (padd << 16) | in nic_config_cpi()
532 (vnic << 24) | (rssi_base + rssi)); in nic_config_cpi()
611 static void nic_tx_channel_cfg(struct nicpf *nic, u8 vnic, in nic_tx_channel_cfg() argument
623 pqs_vnic = nic->pqs_vf[vnic]; in nic_tx_channel_cfg()
625 pqs_vnic = vnic; in nic_tx_channel_cfg()
642 if (nic->vf_sqs[pqs_vnic][svf] == vnic) in nic_tx_channel_cfg()
650 tl4 = (vnic * MAX_QUEUES_PER_QSET); in nic_tx_channel_cfg()
656 ((u64)vnic << NIC_QS_ID_SHIFT) | in nic_tx_channel_cfg()
659 ((u64)vnic << 27) | ((u32)sq_idx << 24) | rr_quantum); in nic_tx_channel_cfg()