/* Return: index into SLI4 fast-path FCP queue index.  */
static uint32_t lpfc_sli4_scmd_to_wqidx_distr(struct lpfc_hba *phba)
/* Return: index into SLI4 fast-path FCP queue index.  */
static uint32_t lpfc_sli4_scmd_to_wqidx_distr(struct lpfc_hba *phba)
{
	++phba->fcp_qidx;
	if (phba->fcp_qidx >= phba->cfg_fcp_wq_count)
		phba->fcp_qidx = 0;
	return phba->fcp_qidx;
}