Lines Matching refs:rings_per_vf
108 if (cn23xx_vf_reset_io_queues(oct, oct->sriov_info.rings_per_vf))
111 for (q_no = 0; q_no < (oct->sriov_info.rings_per_vf); q_no++) {
156 for (q_no = 0; q_no < (oct->sriov_info.rings_per_vf); q_no++) {
619 u32 rings_per_vf;
635 rings_per_vf = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK;
645 if (oct->sriov_info.rings_per_vf > rings_per_vf) {
647 "num_queues:%d greater than PF configured rings_per_vf:%d. Reducing to %d.\n",
648 oct->sriov_info.rings_per_vf, rings_per_vf,
649 rings_per_vf);
650 oct->sriov_info.rings_per_vf = rings_per_vf;
652 if (rings_per_vf > num_present_cpus()) {
654 "PF configured rings_per_vf:%d greater than num_cpu:%d. Using rings_per_vf:%d equal to num cpus\n",
655 rings_per_vf,
658 oct->sriov_info.rings_per_vf =
661 oct->sriov_info.rings_per_vf = rings_per_vf;