Re: [PATCH v2 1/3] scsi: ufs: core: Introduce mcq ops to config cqid
From: Stanley Chu
Date: Tue May 30 2023 - 21:54:44 EST
On Wed, May 31, 2023 at 7:54 AM Bart Van Assche <bvanassche@xxxxxxx> wrote:
>
> 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?
>
According to the specification or the original concept of MCQ, the
bindings between SQ and CQ can not be fixed to a single style.
In addition, some benchmark data shows that the performance can be
improved by using fewer CQs to aggregate the interrupt handling of
completion requests.
Therefore, we would like to introduce a vop to allow the host to
configure it accordingly.
Stanley