Searched refs:sriov_info (Results 1 – 10 of 10) sorted by relevance
327 (oct->sriov_info.trs << CN23XX_PKT_MAC_CTL_RINFO_TRS_BIT_POS); in cn23xx_setup_global_mac_regs()329 temp = oct->sriov_info.rings_per_vf & 0xff; in cn23xx_setup_global_mac_regs()333 temp = oct->sriov_info.max_vfs & 0xff; in cn23xx_setup_global_mac_regs()352 srn = oct->sriov_info.pf_srn; in cn23xx_reset_io_queues()353 ern = srn + oct->sriov_info.num_pf_rings; in cn23xx_reset_io_queues()411 srn = oct->sriov_info.pf_srn; in cn23xx_pf_setup_global_input_regs()412 ern = srn + oct->sriov_info.num_pf_rings; in cn23xx_pf_setup_global_input_regs()426 if (q_no < oct->sriov_info.pf_srn) { in cn23xx_pf_setup_global_input_regs()427 vf_num = q_no / oct->sriov_info.rings_per_vf; in cn23xx_pf_setup_global_input_regs()483 srn = oct->sriov_info.pf_srn; in cn23xx_pf_setup_global_output_regs()[all …]
193 int adjusted_q_no = q_no + oct->sriov_info.pf_srn; in octeon_droq_bh()793 max_vfs = oct->sriov_info.max_vfs; in disable_all_vf_links()861 vfs_mask1 = READ_ONCE(oct->sriov_info.vf_drv_loaded_mask); in liquidio_watchdog()862 vfs_mask2 = READ_ONCE(other_oct->sriov_info.vf_drv_loaded_mask); in liquidio_watchdog()1135 if (oct->sriov_info.sriov_enabled) in octeon_destroy_resources()1433 oct->sriov_info.max_vfs); in octeon_chip_specific_setup()2833 if (vfidx < 0 || vfidx >= oct->sriov_info.max_vfs) in __liquidio_set_vf_mac()2853 oct->sriov_info.vf_macaddr[vfidx] = nctrl.udd[0]; in __liquidio_set_vf_mac()2866 if (vfidx < 0 || vfidx >= oct->sriov_info.num_vfs_alloced) in liquidio_set_vf_mac()2884 if (vfidx < 0 || vfidx >= oct->sriov_info.num_vfs_alloced) in liquidio_set_vf_vlan()[all …]
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()647 if (oct->sriov_info.rings_per_vf > 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 oct->sriov_info.rings_per_vf = rings_per_vf; in cn23xx_setup_octeon_vf_device()660 oct->sriov_info.rings_per_vf = in cn23xx_setup_octeon_vf_device()663 oct->sriov_info.rings_per_vf = rings_per_vf; in cn23xx_setup_octeon_vf_device()
506 if (oct->sriov_info.sriov_enabled) { in lio_ethtool_get_channels()615 if (oct->sriov_info.sriov_enabled) { in lio_ethtool_set_channels()1046 if_cfg.s.num_iqueues = oct->sriov_info.num_pf_rings; in lio_23xx_reconfigure_queue_count()1047 if_cfg.s.num_oqueues = oct->sriov_info.num_pf_rings; in lio_23xx_reconfigure_queue_count()1048 if_cfg.s.base_queue = oct->sriov_info.pf_srn; in lio_23xx_reconfigure_queue_count()1174 if ((OCTEON_CN23XX_PF(oct)) && !oct->sriov_info.sriov_enabled) in lio_reset_queues()1193 !oct->sriov_info.sriov_enabled) { in lio_reset_queues()1194 oct->sriov_info.num_pf_rings = num_qs; in lio_reset_queues()1201 num_qs = oct->sriov_info.num_pf_rings; in lio_reset_queues()1221 if (OCTEON_CN23XX_PF(oct) && !oct->sriov_info.sriov_enabled) { in lio_reset_queues()[all …]
522 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_create()525 num_vfs = oct->sriov_info.num_vfs_alloced; in lio_vf_rep_create()609 if (!oct->sriov_info.sriov_enabled) in lio_vf_rep_destroy()
264 oct->sriov_info.dpiring_to_vfpcidev_lut[mbox->q_no], in octeon_mbox_process_cmd()
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()2348 if (octeon_allocate_ioq_vector(oct, oct->sriov_info.rings_per_vf)) { in octeon_device_init()2355 LIQUIDIO_VERSION, oct->sriov_info.rings_per_vf); in octeon_device_init()2358 if (octeon_setup_interrupt(oct, oct->sriov_info.rings_per_vf)) in octeon_device_init()
562 struct octeon_sriov_info sriov_info; member
850 ioq_vector->ioq_num = i + oct->sriov_info.pf_srn; in octeon_allocate_ioq_vector()959 for (q_no = 0; q_no < oct->sriov_info.rings_per_vf; q_no++) { in octeon_set_io_queues_off()
1084 oct->sriov_info.pf_srn + i; in octeon_setup_interrupt()1087 oct->sriov_info.trs; in octeon_setup_interrupt()