[PATCH 4/5] nvmet: support completion queue sharing
Damien Le Moal
dlemoal at kernel.org
Wed May 7 00:29:31 PDT 2025
On 4/24/25 2:13 PM, Wilfred Mallawa wrote:
> From: Wilfred Mallawa <wilfred.mallawa at wdc.com>
>
> The NVMe PCI transport specification allows for completion queues to be
> shared by different submission queues.
>
> This patch allows a submission queue to keep track of the completion queue
> it is using with reference counting. As such, it can be ensured that a
> completion queue is not deleted while a submission queue is actively
> using it.
>
> This patch enables completion queue sharing in the pci-epf target driver.
> For fabrics drivers, completion queue sharing is not enabled as it is
> not possible as per the fabrics specification. However, this patch
> modifies the fabrics drivers to correctly integrate the new API that
> supports completion queue sharing.
>
> Signed-off-by: Wilfred Mallawa <wilfred.mallawa at wdc.com>
Looks good to me.
Reviewed-by: Damien Le Moal <dlemoal at kernel.org>
--
Damien Le Moal
Western Digital Research
More information about the Linux-nvme
mailing list