Lines Matching refs:num_vf_en
44 u8 num_vf_en; /* No of VF enabled */ member
169 if (vf < nic->num_vf_en) { in nic_mbx_send_ready()
177 mbx.nic_cfg.sqs_mode = (vf >= nic->num_vf_en) ? true : false; in nic_mbx_send_ready()
180 mbx.nic_cfg.loopback_supported = vf < nic->num_vf_en; in nic_mbx_send_ready()
324 nic->num_vf_en = 0; in nic_set_lmac_vf_mapping()
333 nic->num_vf_en += lmac_cnt; in nic_set_lmac_vf_mapping()
350 if (nic->num_vf_en >= pci_sriov_get_totalvfs(nic->pdev)) { in nic_set_lmac_vf_mapping()
351 nic->num_vf_en = pci_sriov_get_totalvfs(nic->pdev); in nic_set_lmac_vf_mapping()
729 return sqs + nic->num_vf_en; in nic_nxt_avail_sqs()
764 if (lbk->vf_id >= nic->num_vf_en) in nic_config_loopback()
852 if (vf >= nic->num_vf_en) in nic_enable_vf()
867 if (vf >= nic->num_vf_en) in nic_pause_frame()
892 if (vf >= nic->num_vf_en) in nic_config_timestamp()
984 if (vf >= nic->num_vf_en) { in nic_handle_mbx_intr()
1029 if (vf >= nic->num_vf_en) { in nic_handle_mbx_intr()
1058 if (vf >= nic->num_vf_en) in nic_handle_mbx_intr()
1059 nic->sqs_used[vf - nic->num_vf_en] = false; in nic_handle_mbx_intr()
1091 if (vf >= nic->num_vf_en) { in nic_handle_mbx_intr()
1103 if (vf >= nic->num_vf_en) { in nic_handle_mbx_intr()
1116 if (vf >= nic->num_vf_en) { in nic_handle_mbx_intr()
1125 if (vf >= nic->num_vf_en) { in nic_handle_mbx_intr()
1266 if (total_vf_cnt < nic->num_vf_en) in nic_sriov_init()
1267 nic->num_vf_en = total_vf_cnt; in nic_sriov_init()
1272 vf_en = nic->num_vf_en; in nic_sriov_init()
1273 nic->num_sqs_en = nic_num_sqs_en(nic, nic->num_vf_en); in nic_sriov_init()
1280 nic->num_vf_en = 0; in nic_sriov_init()