Home
last modified time | relevance | path

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

/linux-6.1.9/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.c2775 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 …]
Dlio_vf_main.c1985 if_cfg.s.num_iqueues = octeon_dev->sriov_info.rings_per_vf; in setup_nic_devices()
1986 if_cfg.s.num_oqueues = octeon_dev->sriov_info.rings_per_vf; in setup_nic_devices()
2364 if (octeon_allocate_ioq_vector(oct, oct->sriov_info.rings_per_vf)) { in octeon_device_init()
2371 oct->sriov_info.rings_per_vf); in octeon_device_init()
2374 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.c958 for (q_no = 0; q_no < oct->sriov_info.rings_per_vf; q_no++) { in octeon_set_io_queues_off()
Dlio_main.c3827 u += oct->sriov_info.rings_per_vf; in octeon_enable_sriov()
3851 u += oct->sriov_info.rings_per_vf; in lio_pci_sriov_disable()