Searched refs:rings_per_vf (Results 1 – 7 of 7) sorted by relevance
108 if (cn23xx_vf_reset_io_queues(oct, oct->sriov_info.rings_per_vf)) in cn23xx_vf_setup_global_input_regs()111 for (q_no = 0; q_no < (oct->sriov_info.rings_per_vf); q_no++) { in cn23xx_vf_setup_global_input_regs()156 for (q_no = 0; q_no < (oct->sriov_info.rings_per_vf); q_no++) { in cn23xx_vf_setup_global_output_regs()619 u32 rings_per_vf; in cn23xx_setup_octeon_vf_device() local635 rings_per_vf = reg_val & CN23XX_PKT_INPUT_CTL_RPVF_MASK; in cn23xx_setup_octeon_vf_device()645 if (oct->sriov_info.rings_per_vf > rings_per_vf) { in cn23xx_setup_octeon_vf_device()648 oct->sriov_info.rings_per_vf, rings_per_vf, in cn23xx_setup_octeon_vf_device()649 rings_per_vf); in cn23xx_setup_octeon_vf_device()650 oct->sriov_info.rings_per_vf = rings_per_vf; in cn23xx_setup_octeon_vf_device()652 if (rings_per_vf > num_present_cpus()) { in cn23xx_setup_octeon_vf_device()[all …]
329 temp = oct->sriov_info.rings_per_vf & 0xff; in cn23xx_setup_global_mac_regs()427 vf_num = q_no / oct->sriov_info.rings_per_vf; in cn23xx_pf_setup_global_input_regs()692 q_no = i * oct->sriov_info.rings_per_vf; in cn23xx_pf_mbox_thread()720 q_no = i * oct->sriov_info.rings_per_vf; in cn23xx_setup_pf_mbox()779 q_no = i * oct->sriov_info.rings_per_vf; in cn23xx_free_pf_mbox()991 q_no = i * oct->sriov_info.rings_per_vf; in cn23xx_handle_pf_mbox_intr()1252 u32 max_rings, total_rings, max_vfs, rings_per_vf; in cn23xx_sriov_config() local1281 rings_per_vf = 1; in cn23xx_sriov_config()1284 rings_per_vf = 0; in cn23xx_sriov_config()1294 oct->sriov_info.rings_per_vf = rings_per_vf; in cn23xx_sriov_config()[all …]
2775 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()2782 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()2789 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()2796 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()2803 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()2810 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()2817 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()2824 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()2830 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()2837 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()[all …]
1979 if_cfg.s.num_iqueues = octeon_dev->sriov_info.rings_per_vf; in setup_nic_devices()1980 if_cfg.s.num_oqueues = octeon_dev->sriov_info.rings_per_vf; in setup_nic_devices()2358 if (octeon_allocate_ioq_vector(oct, oct->sriov_info.rings_per_vf)) { in octeon_device_init()2365 oct->sriov_info.rings_per_vf); in octeon_device_init()2368 if (octeon_setup_interrupt(oct, oct->sriov_info.rings_per_vf)) in octeon_device_init()
369 u32 rings_per_vf; member
968 for (q_no = 0; q_no < oct->sriov_info.rings_per_vf; q_no++) { in octeon_set_io_queues_off()
3824 u += oct->sriov_info.rings_per_vf; in octeon_enable_sriov()3848 u += oct->sriov_info.rings_per_vf; in lio_pci_sriov_disable()