Re: [PATCH v2 1/3] scsi: ufs: core: Introduce mcq ops to config cqid

From: Bart Van Assche
Date: Tue May 30 2023 - 19:54:51 EST


On 5/29/23 19:32, Po-Wen Kao wrote:
MCQ sq/cq mapping is not just one for one, could many for one.
This patch allow host driver to change the mapping, assign cqid
for each hw queue.

What use case do you have in mind for associating multiple submission queues with a single completion queue?

No matter what the use case is, I think that which submission queues are associated with a completion queue is independent of the host driver and hence that such logic should exist in the UFS core instead of in a host driver.

Bart.