Lines Matching refs:qmap_idx
622 u16 qmap_stride, qpp, vpp, vf_q_idx, vf_q_idx0, qmap_idx; in fm10k_iov_assign_resources_pf() local
645 qmap_idx = 0; in fm10k_iov_assign_resources_pf()
690 for (j = 0; j < qpp; j++, qmap_idx++, vf_q_idx++) { in fm10k_iov_assign_resources_pf()
704 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx), vf_q_idx); in fm10k_iov_assign_resources_pf()
705 fm10k_write_reg(hw, FM10K_RQMAP(qmap_idx), vf_q_idx); in fm10k_iov_assign_resources_pf()
709 for (; j < qmap_stride; j++, qmap_idx++) { in fm10k_iov_assign_resources_pf()
710 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx), vf_q_idx0); in fm10k_iov_assign_resources_pf()
711 fm10k_write_reg(hw, FM10K_RQMAP(qmap_idx), vf_q_idx0); in fm10k_iov_assign_resources_pf()
716 while (qmap_idx < FM10K_TQMAP_TABLE_SIZE) { in fm10k_iov_assign_resources_pf()
717 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx), 0); in fm10k_iov_assign_resources_pf()
718 fm10k_write_reg(hw, FM10K_RQMAP(qmap_idx), 0); in fm10k_iov_assign_resources_pf()
719 qmap_idx++; in fm10k_iov_assign_resources_pf()
831 u16 qmap_stride, queues_per_pool, vf_q_idx, timeout, qmap_idx, i; in fm10k_iov_assign_default_mac_vlan_pf() local
847 qmap_idx = qmap_stride * vf_idx; in fm10k_iov_assign_default_mac_vlan_pf()
891 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx), 0); in fm10k_iov_assign_default_mac_vlan_pf()
932 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx), vf_q_idx); in fm10k_iov_assign_default_mac_vlan_pf()
946 u16 qmap_stride, queues_per_pool, vf_q_idx, qmap_idx; in fm10k_iov_reset_resources_pf() local
971 qmap_idx = qmap_stride * vf_idx; in fm10k_iov_reset_resources_pf()
974 for (i = qmap_idx; i < (qmap_idx + qmap_stride); i++) { in fm10k_iov_reset_resources_pf()
1058 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx + i), vf_q_idx + i); in fm10k_iov_reset_resources_pf()
1059 fm10k_write_reg(hw, FM10K_RQMAP(qmap_idx + i), vf_q_idx + i); in fm10k_iov_reset_resources_pf()
1064 fm10k_write_reg(hw, FM10K_TQMAP(qmap_idx + i), vf_q_idx); in fm10k_iov_reset_resources_pf()
1065 fm10k_write_reg(hw, FM10K_RQMAP(qmap_idx + i), vf_q_idx); in fm10k_iov_reset_resources_pf()