[PATCH v2 07/10] nvmet_fc: Add queue create and delete callbacks in LLDD api
James Smart
jsmart2021 at gmail.com
Mon May 22 14:53:15 PDT 2017
On 5/16/2017 5:48 AM, Christoph Hellwig wrote:
> On Mon, May 15, 2017 at 05:10:21PM -0700, James Smart wrote:
>> To facilitate LLDD resource management on nvme queue creation and
>> deletion, add optional callbacks queue_create and queue_delete.
>
> Please send these together with driver changes to implement them,
> otherwise they are impossible to review.
>
Christoph,
The api was put in to support lpfc sizing async receive queues. Idea
was not to have the lldd snoop the LS payloads, thus the transport will
call the lldd when the LS created or deleted a queue.
It turned out better for lpfc to dynamically grow its pools based on
demand rather than queue sizing, so the api was moved away from. I
continued to post it, thinking it may be useful for another lldd
implementation, one that may actually create hw queues to map 1:1 to the
queues.
Given there are no current consumers, I've removed it from the next posting.
-- james
More information about the Linux-nvme
mailing list