Home
last modified time | relevance | path

Searched refs:rings_per_vf (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/
Dcn23xx_vf_device.c108 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() local
635 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 …]
Dcn23xx_pf_device.c329 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()
781 q_no = i * oct->sriov_info.rings_per_vf; in cn23xx_free_pf_mbox()
993 q_no = i * oct->sriov_info.rings_per_vf; in cn23xx_handle_pf_mbox_intr()
1254 u32 max_rings, total_rings, max_vfs, rings_per_vf; in cn23xx_sriov_config() local
1283 rings_per_vf = 1; in cn23xx_sriov_config()
1286 rings_per_vf = 0; in cn23xx_sriov_config()
1296 oct->sriov_info.rings_per_vf = rings_per_vf; in cn23xx_sriov_config()
[all …]
Dlio_ethtool.c2765 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()
2772 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()
2779 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()
2786 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()
2793 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()
2800 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()
2807 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()
2814 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()
2820 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()
2827 for (i = 0; i < (oct->sriov_info.rings_per_vf); i++) { in cn23xx_vf_read_csr_reg()
[all …]
Dlio_vf_main.c1977 if_cfg.s.num_iqueues = octeon_dev->sriov_info.rings_per_vf; in setup_nic_devices()
1978 if_cfg.s.num_oqueues = octeon_dev->sriov_info.rings_per_vf; in setup_nic_devices()
2356 if (octeon_allocate_ioq_vector(oct, oct->sriov_info.rings_per_vf)) { in octeon_device_init()
2363 oct->sriov_info.rings_per_vf); in octeon_device_init()
2366 if (octeon_setup_interrupt(oct, oct->sriov_info.rings_per_vf)) in octeon_device_init()
Docteon_device.h369 u32 rings_per_vf; member
Docteon_device.c959 for (q_no = 0; q_no < oct->sriov_info.rings_per_vf; q_no++) { in octeon_set_io_queues_off()
Dlio_main.c3813 u += oct->sriov_info.rings_per_vf; in octeon_enable_sriov()
3837 u += oct->sriov_info.rings_per_vf; in lio_pci_sriov_disable()