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

Stanley Chu chu.stanley at gmail.com
Tue May 30 18:54:25 PDT 2023


On Wed, May 31, 2023 at 7:54 AM Bart Van Assche <bvanassche at acm.org> 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



More information about the Linux-mediatek mailing list