Lines Matching refs:num_vfs

443 	if (!hw->iov.num_vfs)  in fm10k_update_int_moderator_pf()
585 u16 num_vfs = hw->iov.num_vfs; in fm10k_vf_queue_index() local
588 vf_q_idx -= fm10k_queues_per_pool(hw) * (num_vfs - vf_idx); in fm10k_vf_queue_index()
619 static s32 fm10k_iov_assign_resources_pf(struct fm10k_hw *hw, u16 num_vfs, in fm10k_iov_assign_resources_pf() argument
631 if ((num_vfs > num_pools) || (num_vfs > hw->iov.total_vfs)) in fm10k_iov_assign_resources_pf()
635 hw->iov.num_vfs = num_vfs; in fm10k_iov_assign_resources_pf()
639 qmap_stride = (num_vfs > 8) ? 32 : 256; in fm10k_iov_assign_resources_pf()
648 for (i = 0; i < num_vfs; i++) { in fm10k_iov_assign_resources_pf()
656 for (i = FM10K_VFMBMEM_LEN * num_vfs; i--;) in fm10k_iov_assign_resources_pf()
683 fm10k_vf_vector_index(hw, num_vfs - 1)); in fm10k_iov_assign_resources_pf()
686 for (i = 0; i < num_vfs; i++) { in fm10k_iov_assign_resources_pf()
741 if (vf_idx >= hw->iov.num_vfs) in fm10k_iov_configure_tc_pf()
799 if (vf_idx >= hw->iov.num_vfs) in fm10k_iov_assign_int_moderator_pf()
813 if (vf_idx == (hw->iov.num_vfs - 1)) in fm10k_iov_assign_int_moderator_pf()
837 if (!vf_info || vf_info->vf_idx >= hw->iov.num_vfs) in fm10k_iov_assign_default_mac_vlan_pf()
841 qmap_stride = (hw->iov.num_vfs > 8) ? 32 : 256; in fm10k_iov_assign_default_mac_vlan_pf()
953 if (vf_idx >= hw->iov.num_vfs) in fm10k_iov_reset_resources_pf()
969 qmap_stride = (hw->iov.num_vfs > 8) ? 32 : 256; in fm10k_iov_reset_resources_pf()
1017 if (vf_idx == (hw->iov.num_vfs - 1)) in fm10k_iov_reset_resources_pf()