Searched refs:vf_q_idx (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pf.c | 587 u16 vf_q_idx = FM10K_MAX_QUEUES; in fm10k_vf_queue_index() local 589 vf_q_idx -= fm10k_queues_per_pool(hw) * (num_vfs - vf_idx); in fm10k_vf_queue_index() 591 return vf_q_idx; in fm10k_vf_queue_index() 623 u16 qmap_stride, qpp, vpp, vf_q_idx, vf_q_idx0, qmap_idx; in fm10k_iov_assign_resources_pf() local 645 vf_q_idx = fm10k_vf_queue_index(hw, 0); in fm10k_iov_assign_resources_pf() 665 for (i = FM10K_MAX_QUEUES_PF; i < vf_q_idx; i++) { in fm10k_iov_assign_resources_pf() 689 vf_q_idx0 = vf_q_idx; in fm10k_iov_assign_resources_pf() 691 for (j = 0; j < qpp; j++, qmap_idx++, vf_q_idx++) { in fm10k_iov_assign_resources_pf() 693 fm10k_write_reg(hw, FM10K_TXDCTL(vf_q_idx), 0); in fm10k_iov_assign_resources_pf() 694 fm10k_write_reg(hw, FM10K_TXQCTL(vf_q_idx), in fm10k_iov_assign_resources_pf() [all …]
|